Sorry for the spam, I have another backtraces providing a clear picture, alhough they seem to be slightly different from the ones before.

You can see an object being set as a target, then deallocated and then used (with SIGSEGV).

Luboš


On Mon, 24 Jun 2013 10:21:18 +0200, Luboš Doležel wrote:
What I forgot to add:

Until gnustep-gui supports resource directory names like "en.lproj",
you have to symlink English.lproj->en.lproj to make it work (GNUstep
bug #36764).
This bug also prevents apps from working when mounted directly from a
.dmg file via my FUSE module, since the mounts are read-only.

Lubos

On Mon, 24 Jun 2013 09:52:51 +0200, Luboš Doležel wrote:
Hi,

great! Feel free to contact me via Jabber (same as mail address),
should you run into any issues.

Attached is the backtrace leading up to NSClassSwapper, as Germán requested.

Lubos

Breakpoint 7, -[NSMenuItem setTarget:] (self=0x18477e8, _cmd=0x7ffff7a50eb0 
<.objc_selector_list+176>, anObject=0x1845d38) at NSMenuItem.m:465
465       if (_target == anObject)
(gdb) watch *0x1845d38
Hardware watchpoint 15: *0x1845d38
(gdb) bt
#0  -[NSMenuItem setTarget:] (self=0x18477e8, _cmd=0x7ffff7a50eb0 
<.objc_selector_list+176>, anObject=0x1845d38) at NSMenuItem.m:465
#1  0x00007ffff7536fa8 in -[NSMenuItem initWithCoder:] (self=0x18477e8, 
_cmd=0x32a10ce040 <.objc_selector_list+864>, aDecoder=0xe5f1b8) at 
NSMenuItem.m:682
#2  0x00000032a0ba46d4 in -[NSKeyedUnarchiver(Private) _decodeObject:] 
(self=0xe5f1b8, _cmd=0x32a10cdfe0 <.objc_selector_list+768>, index=68) at 
NSKeyedUnarchiver.m:245
#3  0x00000032a0ba6e6d in -[NSKeyedUnarchiver decodeObjectForKey:] 
(self=0xe5f1b8, _cmd=0x7ffff7a53080 <.objc_selector_list+1280>, 
aKey=0x7ffff7a528a0 <.objc_str138>)
    at NSKeyedUnarchiver.m:630
#4  0x00007ffff753c43f in -[NSMenuItemCell initWithCoder:] (self=0x1845d38, 
_cmd=0x7ffff7a6b0e0 <.objc_selector_list+912>, aDecoder=0xe5f1b8) at 
NSMenuItemCell.m:959
#5  0x00007ffff756026f in -[NSPopUpButtonCell initWithCoder:] (self=0x1845d38, 
_cmd=0x32a10ce040 <.objc_selector_list+864>, aDecoder=0xe5f1b8) at 
NSPopUpButtonCell.m:1220
#6  0x00000032a0ba46d4 in -[NSKeyedUnarchiver(Private) _decodeObject:] 
(self=0xe5f1b8, _cmd=0x32a10cdfe0 <.objc_selector_list+768>, index=66) at 
NSKeyedUnarchiver.m:245
#7  0x00000032a0ba6e6d in -[NSKeyedUnarchiver decodeObjectForKey:] 
(self=0xe5f1b8, _cmd=0x7ffff7a15aa0 <.objc_selector_list+80>, 
aKey=0x7ffff7a15940 <.objc_str151>)
    at NSKeyedUnarchiver.m:630
#8  0x00007ffff749f58e in -[NSControl initWithCoder:] (self=0x16aaaf8, 
_cmd=0x32a107adb0 <.objc_selector_list+144>, aDecoder=0xe5f1b8) at 
NSControl.m:1012
#9  0x000000010000680e in ?? ()
#10 0x00000000016aaaf8 in ?? ()
#11 0x0000000000e73e20 in ?? ()
#12 0x00007fffffff44a0 in ?? ()
#13 0x00007ffff76cb5e8 in -[NSClassSwapper 
instantiateRealObject:withClassName:] (self=0xe73e20, _cmd=0x16aaaf8, 
coder=0x10000680e, className=0x7fffffff4400)
    at GSNibLoading.m:1416


Breakpoint 5, -[NSPopUpButtonCell dealloc] (self=0x1845d38, _cmd=0x32a10e3370 
<.objc_selector_list+560>) at NSPopUpButtonCell.m:158
158       [super dealloc];
(gdb) bt
#0  -[NSPopUpButtonCell dealloc] (self=0x1845d38, _cmd=0x32a10e3370 
<.objc_selector_list+560>) at NSPopUpButtonCell.m:158
#1  0x00000032a0bde739 in -[NSObject release] (self=0x1845d38, 
_cmd=0x32a10cdff0 <.objc_selector_list+784>) at NSObject.m:2070
#2  0x00000032a0ba41b4 in GSIArraySetItemAtIndex (array=0x13b8b60, item=..., 
index=66) at ../Headers/GNUstepBase/GSIArray.h:531
#3  0x00000032a0ba4911 in -[NSKeyedUnarchiver(Private) _decodeObject:] 
(self=0xe5f1b8, _cmd=0x32a10cdfe0 <.objc_selector_list+768>, index=66) at 
NSKeyedUnarchiver.m:273
#4  0x00000032a0ba6e6d in -[NSKeyedUnarchiver decodeObjectForKey:] 
(self=0xe5f1b8, _cmd=0x7ffff7a15aa0 <.objc_selector_list+80>, 
aKey=0x7ffff7a15940 <.objc_str151>)
    at NSKeyedUnarchiver.m:630
#5  0x00007ffff749f58e in -[NSControl initWithCoder:] (self=0x16aaaf8, 
_cmd=0x32a107adb0 <.objc_selector_list+144>, aDecoder=0xe5f1b8) at 
NSControl.m:1012
#6  0x000000010000680e in ?? ()
#7  0x00000000016aaaf8 in ?? ()
#8  0x0000000000e73e20 in ?? ()
#9  0x00007fffffff44a0 in ?? ()
#10 0x00007ffff76cb5e8 in -[NSClassSwapper 
instantiateRealObject:withClassName:] (self=0xe73e20, _cmd=0x16aaaf8, 
coder=0x10000680e, className=0x7fffffff4400)
    at GSNibLoading.m:1416

    Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) f 1
#1  0x00007ffff7410eca in -[NSApplication targetForAction:to:from:] 
(self=0xe67818, _cmd=0x7ffff7a4bda0 <.objc_selector_list+560>, 
    theAction=0x7ffff7a6b2d0 <.objc_selector_list+1408>, theTarget=0x1845d38, 
sender=0x1847628) at NSApplication.m:2249
2249      if (theTarget && [theTarget respondsToSelector: theAction])
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to