gnustep-dev
[Top][All Lists]
Advanced

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

Re: [Gnustep-cvs] gnustep/core/gui ChangeLog Source/NSPopUpButton...


From: Fred Kiefer
Subject: Re: [Gnustep-cvs] gnustep/core/gui ChangeLog Source/NSPopUpButton...
Date: Mon, 30 May 2005 19:09:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

Hi Enrico,

could you please describe in detail how to reproduce this bug? I tried before and after applying the latest patch be Matt and faild to find the correct order of operations to reproduce it. And are you sure this patch was the reason for the traceback not the other one? This looks like memory problems and I would rather expect the copying to trigger them.

Fred

Enrico Sersale wrote:
On 2005-05-27 16:41:46 +0300 Fred Kiefer <address@hidden> wrote:

CVSROOT:    /cvsroot/gnustep
Module name:    gnustep
Branch: Changes by: Fred Kiefer <address@hidden> 05/05/27 13:41:46

Modified files:
    core/gui       : ChangeLog     core/gui/Source: NSPopUpButtonCell.m
Log message:
Make sure popup button cells wont get notifications after being dealloceated.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2529&tr2=1.2530&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSPopUpButtonCell.m.diff?tr1=1.67&tr2=1.68&r1=text&r2=text


This change causes strange segfaults in GNUMail (sending a message, closing a window)

#0  0x407a350a in objc_msg_lookup (receiver=0x87d0200, op=0x406e63b0)
    at sarray.h:230
#1  0x4048569c in -[GSArray dealloc] (self=0x835c890, _cmd=0x407011f8)
    at GSArray.m:132
#2  0x40545b1f in -[NSObject release] (self=0x835c890, _cmd=0x406ee570)
    at NSObject.m:1866
#3  0x404c9a9c in -[NSAutoreleasePool dealloc] (self=0x821b7b0,
    _cmd=0x406ee5c8) at NSAutoreleasePool.m:372
#4  0x404c9887 in -[NSAutoreleasePool release] (self=0x821b7b0,
    _cmd=0x403d5608) at NSAutoreleasePool.m:308
#5  0x40194e91 in -[NSApplication run] (self=0x825cd60, _cmd=0x403d2968)
    at NSApplication.m:1197
#6 0x40185415 in NSApplicationMain (argc=1, argv=0xbffff0b4) at Functions.m:72
#7  0x08098a22 in main (argc=1, argv=0xbffff0b4, env=0xbffff0bc)
    at GNUMail_main.m:42


and in GWorkspace (quiting)

#0  0x4075c50a in objc_msg_lookup (receiver=0x8a51ce0, op=0x4069f3b0)
    at sarray.h:230
#1  0x4043e69c in -[GSArray dealloc] (self=0x8a44320, _cmd=0x406ba1f8)
    at GSArray.m:132
#2  0x404feb1f in -[NSObject release] (self=0x8a44320, _cmd=0x406a7570)
    at NSObject.m:1866
#3  0x40482a9c in -[NSAutoreleasePool dealloc] (self=0x8206080,
    _cmd=0x406a75c8) at NSAutoreleasePool.m:372
#4  0x40482887 in -[NSAutoreleasePool release] (self=0x8206080,
    _cmd=0x4038d608) at NSAutoreleasePool.m:308
#5  0x40151b14 in -[NSApplication replyToApplicationShouldTerminate:] (
    self=0x830f328, _cmd=0x4038d988, shouldTerminate=1 '\001')
    at NSApplication.m:2744
#6  0x401518bb in -[NSApplication terminate:] (self=0x830f328,
    _cmd=0x403cb1f0, sender=0x8496e48) at NSApplication.m:2712
#7  0x40c9f7cb in ffi_call_SYSV () at ../gcc-3.3.4/libffi/src/x86/sysv.S:59
#8  0x40c9f457 in ffi_call (cif=0x4069f3b0, fn=0xdeadface, rvalue=0x94,
    avalue=0xdeadface) at ../gcc-3.3.4/libffi/src/x86/ffi.c:194
#9  0x405729ec in GSFFIInvokeWithTargetAndImp (_inv=0x850a100,
    anObject=0x830f328, imp=0x40151776 <-[NSApplication terminate:]>)
    at GSFFIInvocation.m:280
#10 0x40572d92 in -[GSFFIInvocation invokeWithTarget:] (self=0x850a100,
    _cmd=0x4038d798, anObject=0x830f328) at GSFFIInvocation.m:350
#11 0x4014e894 in -[NSApplication sendAction:to:from:] (self=0x830f328,
    _cmd=0x403a9938, aSelector=0x403cb1f0, aTarget=0x0, sender=0x8496e48)
    at NSApplication.m:1721
#12 0x401ef506 in -[NSMenu performActionForItemAtIndex:] (self=0x83b92e0,
    _cmd=0x403aa8d0, index=8) at NSMenu.m:893
#13 0x401f5a46 in -[NSMenuView performActionWithHighlightingForItemAtIndex:] (
    self=0x83c6a50, _cmd=0x403a9920, index=8) at NSMenuView.m:977
#14 0x401ef314 in -[NSMenu performKeyEquivalent:] (self=0x83b92e0,
    _cmd=0x403aa980, theEvent=0x84b7aa8) at NSMenu.m:857
#15 0x401f6c4b in -[NSMenuView performKeyEquivalent:] (self=0x83c6a50,
    _cmd=0x403c38b0, theEvent=0x84b7aa8) at NSMenuView.m:1330
#16 0x40284d4a in -[NSView performKeyEquivalent:] (self=0x83c5240,
    _cmd=0x403c5da0, theEvent=0x84b7aa8) at NSView.m:2686
#17 0x40295208 in -[NSWindow performKeyEquivalent:] (self=0x8360938,
    _cmd=0x4038d730, theEvent=0x84b7aa8) at NSWindow.m:2541
#18 0x4014e0cd in -[NSApplication sendEvent:] (self=0x830f328,
    _cmd=0x4038d670, theEvent=0x84b7aa8) at NSApplication.m:1595
#19 0x4014cdbe in -[NSApplication run] (self=0x830f328, _cmd=0x8126f38)
    at NSApplication.m:1181
#20 0x0804d8cb in main (argc=1, argv=0xbffff0a4, env=0xbffff0ac) at main.m:42







reply via email to

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