[haiku-bugs] Re: [Haiku] #8944: [Tracker] Triggers debugger assert on quit with debug builds

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 07 Sep 2012 20:24:48 -0000

#8944: [Tracker] Triggers debugger assert on quit with debug builds
------------------------------------+----------------------------
   Reporter:  x-ist                 |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  low                   |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:  debug assert
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:9 x-ist]:
 > You're right! However my opinion was that if there's something wrong in
 the debug build, it concerns the release build as well - well could be I'm
 wrong.

 ASSERT()s compile to a no-op in a release build, therefore they won't be
 hit there. Whether they're actually correctly pointing out a problem or
 not isn't quite as cut and dried, particularly in Tracker where quite a
 number are left over from back in Be's day and haven't really been
 reevaluated to see if they're still correct after all the rewrites that
 have happened over the years.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8944#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: