bug-gnustep
[Top][All Lists]
Advanced

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

[bug #44240] NSThread leaks a run loop if NSFileHandle -finalize is call


From: Richard Frith-Macdonald
Subject: [bug #44240] NSThread leaks a run loop if NSFileHandle -finalize is called during deallocation
Date: Sat, 14 Feb 2015 05:56:37 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/7.1.2 Safari/537.85.11

Update of bug #44240 (project gnustep):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks ... I fixed in trunk by looking round and releasing the thread run loop
and variables repeatedly (up to ten times) to catch cases where the
deallocation of an object on thread exit actually repopulates either.
Of course that's not completely foolproof, but if the code finds that the
thread ivars keep on being repopulated, it NSLogs() that fact before giving
up.

Thanks for the test program, which made it very easy to check behavior
before/after the change.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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