[haiku-bugs] Re: [Haiku] #11982: [Tracker] crashes in BCompressionAlgorithm::BAbstractInputStream::Read

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 10 Aug 2015 18:33:33 -0000

#11982: [Tracker] crashes in BCompressionAlgorithm::BAbstractInputStream::Read
------------------------------------+----------------------------
Reporter: vidrep | Owner: waddlesplash
Type: bug | Status: in-progress
Priority: normal | Milestone: R1/beta1
Component: Applications/Tracker | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking: 12039, 12264
Has a Patch: 0 | Platform: All
------------------------------------+----------------------------

Comment (by pulkomandy):

The addPosesThread locks a BMessenger at each iteration, and if that
fails, throws an exception that makes it exit the loop. However, this only
works if the PoseView is destructed with the looper locked. That would
make sure the thread stops running before the destruction starts. This
should probably be done where the PoseView destructor is called, probably
inside the window destructor?

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

Other related posts: