Hi,
I'm still working on getting the latest The Unarchiver for OS
X working under GNUstep/Darling/Linux and I'm seeing crashes
after the application's NIB file is loaded.
Now I'm sort of helpless. The crash happens when using the
target of a certain NSMenuItem.
You can see an excerpt of the relevant NIB's source here; the
NSMenuItem clearly refers to the NSPopUpButtonCell that it is
part of:
-2076180416
2048
109199360
1
400
75
dummy
1048576
2147483647
1
_popUpItemAction:
(Full code can be found in The Unarchiver's source tarball in
MainMenu.nib/designable.nib)
I can see the target being set correctly via -setTarget upon
loading:
Breakpoint 3, -[NSMenuItem setTarget:] (self=0x1845808,
_cmd=0x7ffff7a51eb0 , anObject=0x1843d58) at NSMenuItem.m:465
465 if (_target == anObject)
(gdb) p anObject
= (id) 0x1843d58
(gdb) p anObject->isa
= (struct objc_class *) 0x7ffff7a6bcc0
Backtrace:
#0 -[NSMenuItem setTarget:] (self=0x189de68,
_cmd=0x7ffff79f7ce0 , anObject=0x1429f18) at NSMenuItem.m:465
#1 0x00007ffff745354e in -[NSNibControlConnector
establishConnection] (self=0x189de38, _cmd=0x7ffff7afe330 ) at
NSBundleAdditions.m:177
#2 0x00007ffff76cfb91 in -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] (self=0x14be778,
_cmd=0x7ffff7afdf70 , owner=0xe67488,
topLevelObjects=0x0) at GSNibLoading.m:1926
#3 0x00007ffff76cff26 in -[NSIBObjectData awakeWithContext:]
(self=0x14be778, _cmd=0x7ffff7b1a170 , context=0xcb09f8) at
GSNibLoading.m:1982
#4 0x00007ffff771028e in -[GSNibLoader
loadModelData:externalNameTable:withZone:] (self=0xde8158,
_cmd=0x7ffff7a56260 , data=0xeffb58, context=0xcb09f8,
zone=0x329060bb38 ) at GSNibLoader.m:87
#5 0x00007ffff753f57d in -[NSNib
instantiateNibWithExternalNameTable:withZone:] (self=0xecf938,
_cmd=0x7ffff79f7b00 , externalNameTable=0xcb09f8,
zone=0x329060bb38 ) at NSNib.m:153
#6 0x000