[haiku-bugs] Re: [Haiku] #8902: Crash upon closing, after rapidly scrolling through many large photos

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 04 Mar 2015 10:16:28 -0000

#8902: Crash upon closing, after rapidly scrolling through many large photos
--------------------------------------+----------------------------
   Reporter:  mmadia                  |      Owner:  axeld
       Type:  bug                     |     Status:  assigned
   Priority:  normal                  |  Milestone:  R1
  Component:  Applications/ShowImage  |    Version:  R1/Development
 Resolution:                          |   Keywords:
 Blocked By:                          |   Blocking:  7095
Has a Patch:  1                       |   Platform:  All
--------------------------------------+----------------------------

Comment (by axeld):

 I haven't had the time to actually test your changes, I just looked at the
 patch.

 Anyway, the point I was trying to make is that it is '''never''' a good
 idea to assume a certain error code in such a way. The error code was just
 an example. Another example would be that we'd memorize thread IDs in the
 kernel, and find_thread() would then return B_THREAD_EXITED if the thread
 is no longer with us -- I hope you get the idea now :-)

 The BeBook is not a definitive reference to the Haiku API, and is in
 itself not complete either. Fact is, error codes may change.

--
Ticket URL: <https://dev.haiku-os.org/ticket/8902#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: