bugGNUstep - Bugs: bug #39641, libobjc2 runtime_mutex lock leak...


You are not allowed to post comments on this tracker with your current authentication level.

bug #39641: libobjc2 runtime_mutex lock leak in dtable.c

Submitted by:  Nick Tuckett <ntuckett>
Submitted on:  Thu 01 Aug 2013 11:18:29 AM UTC  
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  Ready For Test
Privacy:  Public Assigned to:  None
Open/Closed:  In Test

Fri 13 Dec 2013 03:14:24 PM UTC, comment #1:

David did apply your patch, please test again.

Fred Kiefer <FredKiefer>
Project Member
Thu 01 Aug 2013 11:18:29 AM UTC, original submission:

The latest version of this library (1.7) has a situation where a lock on the runtime_mutex can be leaked, eventually leading to blocked threads.

The following is a patch that fixes this:

--- a/dtable.c
+++ b/dtable.c
@@ -695,6 +695,7 @@ PRIVATE void objc_send_initialize(id object)
if (objc_test_class_flag(class, objc_class_flag_initialized))
BOOL skipMeta = objc_test_class_flag(meta, objc_class_flag_initialized);

Nick Tuckett <ntuckett>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by ntuckett (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-13 FredKiefer StatusNone => Ready For Test
        Open/ClosedOpen => In Test

    Back to the top

    Powered by Savane 3.3