opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-gnustep@gnu.org 11 January 2012 • 5:16PM -0500

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

REPLY TO AUTHOR
 
REPLY TO GROUP




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/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu....
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.