bug-gnustep
[Top][All Lists]
Advanced

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

[bug #44477] Deadlock on class_addMethod


From: Sergey
Subject: [bug #44477] Deadlock on class_addMethod
Date: Wed, 11 Mar 2015 16:48:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36

Follow-up Comment #2, bug #44477 (project gnustep):

Update: this is not deadlock, this is endless loop in
mergeMethodsFromSuperclass, dtable.m line 525, because subclass->sibling_class
points to self (subclass). This cycling is produced by code in associate.m
line 217-218 in hiddenClass allocation.
I try to comment setup of sibling_class, and endless loop is disappeared.
You can see patch associate.m.patch.

This looks like a fix of this problem.
Some remarks?

(file #33309)
    _______________________________________________________

Additional Item Attachment:

File name: associate.m.patch              Size:0 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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