bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #35263] libobjc2 can enter a deadlock during dtable initialization


From: Fred Kiefer
Subject: [bug #35263] libobjc2 can enter a deadlock during dtable initialization
Date: Wed, 11 Jan 2012 09:16:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

Follow-up Comment #4, bug #35263 (project gnustep):

Another comment from David, he seems to have trouble with the https
connection:

To Richard's comment that we could adopt the GCC runtime solution: I wrote the
patch that did that in the GCC runtime originally, and it's what the GNUstep
runtime used to do.  I fixed this behaviour because people rely on the Apple
behaviour - there are lots of fun deadlock scenarios you can get into from
only being able to enter one +initialize method at once in each thread. 
Reverting to the old behaviour would just mean getting a different set of
potential deadlocks, and they would be deadlocks that a) only showed up on
GNUstep and not Cocoa, and b) made it hard to write code that was
deadlock-free on both Cocoa and GNUstep.

The second test case, however, does look like it shows a valid bug in GNUstep
if it actually does cause a deadlock.  I can't reproduce this though. I've now
run the test over 5,000 times and can't reproduce the deadlock - the test
succeeded every time.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35263>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]