bug-gnustep
[Top][All Lists]
Advanced

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

[bug #23233] SVN version breaks GWorkspace.app


From: Fred Kiefer
Subject: [bug #23233] SVN version breaks GWorkspace.app
Date: Wed, 14 May 2008 21:57:53 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE

Update of bug #23233 (project gnustep):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

I did some analysis and it turns out that this is really caused by the fix I
made to NSWindow. Now the memory gets freed correctly, but not in the right
order. As the graphics context and the info dictionary in it are autoreleased
objects, they only get freed when the corresponding autorelease pool is
released. As by this time the NSWindow is already deallocated (although it
still has a reference) and this results in a segmentation fault.
Now what can we do about it? The only solution I can think of is to split up
the dealloc in NSWindow and if the windowNumber is set call _terminateBackend
and return without actually deallocating the NSWindow, which will get done
when the autorelease pool if cleared then the NSWindow is freeed.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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