[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #4608] High NSWindowController retain counts
From: |
nobody |
Subject: |
[bug #4608] High NSWindowController retain counts |
Date: |
Sat, 30 Aug 2003 18:57:07 -0400 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.1; Linux) |
=================== BUG #4608: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4608&group_id=99
Changes by: Fred Kiefer <FredKiefer@gmx.de>
Date: Sat 08/30/2003 at 22:57 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | None | gcasa
Status | Open | Analyzed
------------------ Additional Follow-up Comments ----------------------------
I did look into the problem with the help of our test application and the
retain count seems to come mostly from the NIB loading itself. Here
intermediate objects get generated that never get freed again and thereby
retain references to the window controller, as can be seen from this backtrace:
#0 0x08048fa2 in _i_MyWindowController__retain ()
#1 0x400abd92 in _i_NSNibConnector__setDestination_ ()
from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
#2 0x401e296d in _i_GSNibContainer__awakeWithContext_ ()
from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
#3 0x400ac910 in
_c_NSBundle_NSBundleAdditions_loadNibFile_externalNameTable_withZone_ () from
/usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
I hope Gregory has an idea to resolve this problem.
=================== BUG #4608: FULL BUG SNAPSHOT ===================
Submitted by: rburns Project: GNUstep
Submitted on: Mon 08/04/2003 at 00:18
Category: Gui/AppKit Severity: 5 - Major
Bug Group: Bug Resolution: None
Assigned to: gcasa Status: Analyzed
Summary: High NSWindowController retain counts
Original Submission: When using a subclass of NSWindowController and a Gorm
file, the NSWindowController doesn't get released when the window is closed,
because the retain count is too high. There is a test for this here:
http://www.eskimo.com/~pburns/rob/NSWCTest.tar.gz
It should work on either gnustep or a mac with gnustep-make installed.
Follow-up Comments
*******************
-------------------------------------------------------
Date: Sat 08/30/2003 at 22:57 By: FredKiefer
I did look into the problem with the help of our test application and the
retain count seems to come mostly from the NIB loading itself. Here
intermediate objects get generated that never get freed again and thereby
retain references to the window controller, as can be seen from this backtrace:
#0 0x08048fa2 in _i_MyWindowController__retain ()
#1 0x400abd92 in _i_NSNibConnector__setDestination_ ()
from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
#2 0x401e296d in _i_GSNibContainer__awakeWithContext_ ()
from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
#3 0x400ac910 in
_c_NSBundle_NSBundleAdditions_loadNibFile_externalNameTable_withZone_ () from
/usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0
I hope Gregory has an idea to resolve this problem.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4608&group_id=99
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/