[haiku-bugs] Re: [Haiku] #8275: Deadlocking apps when opening documents

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sun, 24 Jun 2012 16:38:19 -0000

#8275: Deadlocking apps when opening documents
-------------------------------------+----------------------------
   Reporter:  humdinger              |      Owner:  bonefish
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1/alpha4
  Component:  System/runtime_loader  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:  8081
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by leavengood):

 Replying to [comment:6 bonefish]:
 >
 > The runtime loader locking has to be rethought. Maybe a two level
 locking would already do the trick: One lock to protect the image lists
 and one lock per image.

 There are even TODOs in the runtime_loader's elf.cpp (added by you about 3
 years ago) about improving the locking :)

 Is there any chance you or anyone else sufficiently skilled could fix this
 in the next few weeks? If not I could take a stab, but low-level stuff
 like this isn't my forte. I'm taking a look at alpha4 marked issues,
 though I suppose this could be ignored for alpha4. It is annoying but it
 happens pretty infrequently in my testing.

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

Other related posts: