bug-gnustep
[Top][All Lists]
Advanced

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

[bug #25266] NSNibOutletConnector not freed after loading a NIB file


From: Fred Kiefer
Subject: [bug #25266] NSNibOutletConnector not freed after loading a NIB file
Date: Mon, 12 Jan 2009 11:28:11 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE

Update of bug #25266 (project gnustep):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

Greg,

I think your change is just equivalent to mine, as far as the retain count is
concerned. But not copying something is always great.

The problem with your changes is that they als result in the the same
problems that I had after mine. When you start up Bean, create a new document,
close that and again start a new document. Now closing that from the close
icon in the window decoration will result in the following backtrace (windows
decoration drawn by GNUstep):

0xb7761734 in objc_msg_lookup () from /usr/lib/libobjc.so.2
(gdb) bt
#0  0xb7761734 in objc_msg_lookup () from /usr/lib/libobjc.so.2
#1  0x08084476 in -[MyDocument windowResignedMain:] (self=0x86e7f98,
    _cmd=0x80a3818, sender=0x82d2128) at MyDocument.m:7870
#2  0xb791319d in -[NSNotificationCenter _postAndRelease:] (
    self=0x80cfec8, _cmd=0xb7b28548, notification=0x82d2128)
    at NSNotificationCenter.m:1070
#3  0xb7913ab2 in -[NSNotificationCenter
postNotificationName:object:userInfo:] (self=0x80cfec8, _cmd=0xb7b28550,
name=0xb7f202c0, object=0x8508558,
    info=0x0) at NSNotificationCenter.m:1129
#4  0xb7913969 in -[NSNotificationCenter postNotificationName:object:] (
    self=0x80cfec8, _cmd=0xb7f122a0, name=0xb7f202c0, object=0x8508558)
    at NSNotificationCenter.m:1109
#5  0xb7dbe111 in -[NSWindow resignMainWindow] (self=0x8508558,
    _cmd=0xb7f11e38) at NSWindow.m:1775
#6  0xb7db895c in -[NSWindow(GNUstepPrivate) _lossOfKeyOrMainWindow] (
    self=0x8508558, _cmd=0xb7f12320) at NSWindow.m:313
#7  0xb7dbd8bb in -[NSWindow orderWindow:relativeTo:] (self=0x8508558,
    _cmd=0xb7f12318, place=NSWindowOut, otherWin=0) at NSWindow.m:1653
#8  0xb7dbd810 in -[NSWindow orderOut:] (self=0x8508558, _cmd=0xb7f124b0,
    sender=0x8508558) at NSWindow.m:1613
#9  0xb7dc1b45 in -[NSWindow close] (self=0x8508558, _cmd=0xb7f12528)
    at NSWindow.m:2644
#10 0xb7dc245a in -[NSWindow performClose:] (self=0x8508558,
    _cmd=0xb7f12580, sender=0x8508850) at NSWindow.m:2824
#11 0xb7a147df in L10 ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.19
#12 0x08508558 in ?? ()
#13 0xb79d4e1f in GSFFCallInvokeWithTargetAndImp (_inv=0x81ecaf0,
    anObject=0x8508558, imp=0xb7dc223a <-[NSWindow performClose:]>)
    at GSFFCallInvocation.m:709
#14 0xb79d51e8 in -[GSFFCallInvocation invokeWithTarget:] (
    self=0x81ecaf0, _cmd=0xb7e78a70, anObject=0x8508558)
    at GSFFCallInvocation.m:779
#15 0xb7c30e72 in -[NSApplication sendAction:to:from:] (self=0x81e2b28,
    _cmd=0xb7e9a270, aSelector=0xb7f12580, aTarget=0x8508558,
    sender=0x8508850) at NSApplication.m:2034
#16 0xb7c94a3b in -[NSControl sendAction:to:] (self=0x8508850,
    _cmd=0xb7e8c098, theAction=0xb7f12580, theTarget=0x8508558)
    at NSControl.m:730
#17 0xb7c6c090 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (
    self=0x8508900, _cmd=0xb7e9a318, theEvent=0x851a868, cellFrame=
        {origin = {x = 0, y = 0}, size = {width = 15, height = 15}},
    controlView=0x8508850, flag=0 '




reply via email to

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