Tue 08 Jun 2010 04:19:52 PM UTC, comment #3:
Found/fixed it ... the problem was dues to David's forwarding/invocation change ... I had fixed one issue (attempting to access isa via nil pointer), but hadn't noticed that the code was actually checking for the wrong method (respondsTo: rather than methodSignatureForSelector:) before calling -methodSignatureForSelector:
I don't know why that crashed windows and not my gnu/linux system, but I reproduced the problem onn my windows test system, and changing to check the correct method fixes things for me there.
|
Mon 07 Jun 2010 11:18:34 PM UTC, original submission:
Recent updates to base cause a crash on application launch. Due to the nature of the crash on Windows, no meaningful backtrace is available AFTER the crash, but by stepping through in gdb it appears it may be happening when the app tries to connect to the gdnc server, as seen in this backtrace just BEFORE the crash occurs:
#0 -[NSDistributedNotificationCenter(Private) _connect] (self=0x1287788, _cmd=0x70442e48)
at NSDistributedNotificationCenter.m:749
#1 0x702ea5a1 in -[NSDistributedNotificationCenter addObserver:selector:name:object:suspensionBehav
ior:] (self=0x1287788, _cmd=0x70442e30, anObserver=0x1285838, aSelector=0x6db5a700,
notificationName=0x0, anObject=0x6db58620, suspensionBehavior=2)
at NSDistributedNotificationCenter.m:338
#2 0x702ea30f in -[NSDistributedNotificationCenter addObserver:selector:name:object:] (
self=0x1287788, _cmd=0x6db5a708, anObserver=0x1285838, aSelector=0x6db5a700,
notificationName=0x0, anObject=0x6db58620) at NSDistributedNotificationCenter.m:263
#3 0x6da214cf in -[_GSWorkspaceCenter init] (self=0x1285838, _cmd=0x7045ab48)
at NSWorkspace.m:284
#4 0x7032a9ec in +[NSObject new] (self=0x6db598c0, _cmd=0x6db5a688) at NSObject.m:1192
#5 0x6da22170 in -[NSWorkspace init] (self=0x1283950, _cmd=0x6db5a6f0) at NSWorkspace.m:643
#6 0x6da21ff0 in +[NSWorkspace sharedWorkspace] (self=0x6db596c0, _cmd=0x6dae1a88)
at NSWorkspace.m:612
#7 0x6d90aa0b in -[NSDocumentController init] (self=0x1279370, _cmd=0x57d7b8)
at NSDocumentController.m:312
#8 0x004f1ef4 in -[EggplantDocumentController init] (self=0x1279370, _cmd=0x53e158)
at EggplantDocumentController.m:26
#9 0x0042003c in +[EggplantApplication sharedApplication] (self=0x53c3a0, _cmd=0x6daabd58)
at EggplantApplication.m:198
#10 0x6d881eee in NSApplicationMain (argc=1, argv=0x10bbf50) at Functions.m:76
#11 0x00401a65 in main (argc=1, argv=0x10bbf50) at main.m:13
|