Closed bensurtees closed 1 year ago
Ew have the same issue, just with a different nib file:
Incident Identifier: 32B25210-C8C3-4C5C-A5BB-A86E322F1530 CrashReporter Key: [TODO] Hardware Model: MacBookPro8,2 Process: iStopMotion [2783] Path: /Users/catherinelord/Downloads/iStopMotion.app/Contents/MacOS/iStopMotion Identifier: com.boinx.iStopMotion3 Version: 15241 Code Type: X86 Parent Process: launchd [115]
Date/Time: 2012-12-09 18:15:15 +0000 OS Version: Mac OS X 10.7.5 (11G56) Report Version: 104
Exception Type: SIGABRT Exception Codes: #0 at 0x918489c6 Crashed Thread: 0
Application Specific Information: *\ Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: windowNibPath'
Last Exception Backtrace: 0 CoreFoundation 0x929c1a45 _raiseError + 197 1 libobjc.A.dylib 0x93243149 _objc_exception_throw + 155 2 CoreFoundation 0x92929289 +[NSException raise:format:arguments:] + 137 3 Foundation 0x91073233 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116 4 AppKit 0x9bb01068 -[NSWindowController initWithWindowNibPath:owner:] + 144 5 Sparkle 0x086a4b80 0x8698000 + 52096 6 Sparkle 0x086a0af3 0x8698000 + 35571 7 Sparkle 0x086aa15a 0x8698000 + 74074 8 Sparkle 0x0869a401 0x8698000 + 9217 9 Sparkle 0x0869a198 0x8698000 + 8600 10 iStopMotion 0x00005d0d -ISMAppDelegate checkForSoftwareUpdate: 11 CoreFoundation 0x92916d11 -[NSObject performSelector:withObject:] + 65 12 AppKit 0x9b4cd663 -[NSApplication sendAction:to:from:] + 232 13 AppKit 0x9b5c0caf -[NSMenuItem _corePerformAction] + 536 14 AppKit 0x9b5c092c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 171 15 AppKit 0x9b5bffb5 -[NSMenu _performActionWithHighlightingForItemAtIndex:sendAccessibilityNotification:] + 79 16 AppKit 0x9b89bef7 -[NSMenu performActionForItemAtIndex:] + 65 17 AppKit 0x9b89bf2a -[NSMenu _internalPerformActionForItemAtIndex:] + 45 18 AppKit 0x9b8a015b -[NSMenuItem _internalPerformActionThroughMenuIfPossible] + 106 19 AppKit 0x9b706670 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 172 20 AppKit 0x9b536246 _NSSLMMenuEventHandler + 452 21 HIToolbox 0x9806fc0c Z22_InvokeEventHandlerUPPP25OpaqueEventHandlerCallRefP14OpaqueEventRefPvPFlS0_S2_S3_E + 36 22 HIToolbox 0x97eeb313 ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602 23 HIToolbox 0x97eea790 ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482 24 HIToolbox 0x97eff571 _SendEventToEventTarget + 76 25 HIToolbox 0x980700d0 ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 482 26 HIToolbox 0x9807013a _SendMenuCommandWithContextAndModifiers + 70 27 HIToolbox 0x980db98d _SendMenuItemSelectedEvent + 275 28 HIToolbox 0x97f3bd79 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 129 29 HIToolbox 0x980cc88c ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 608 30 HIToolbox 0x97f33a2a HandleMenuSelection2 + 636 31 HIToolbox 0x97f337a9 HandleMenuSelection + 53 32 AppKit 0x9b433bd2 NSHandleCarbonMenuEvent + 302 33 AppKit 0x9b3c44d6 DPSNextEvent + 2196 34 AppKit 0x9b3c3752 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113 35 AppKit 0x9b3bfac1 -[NSApplication run] + 911 36 AppKit 0x9b650ac5 _NSApplicationMain + 1054 37 iStopMotion 0x00017f05 main (main.m:68) 38 iStopMotion 0x000033c5 start + 53
Thread 0 Crashed: 0 libsystem_kernel.dylib 0x918489c6 _pthread_kill + 10 1 libsystem_c.dylib 0x96e9fbdd _abort + 167 2 CrashReporter 0x00542043 0x53e000 + 16451 3 HIToolbox 0x9819f673 _HIReportUnhandledException + 42 4 HIToolbox 0x97eeb2d9 ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1544 5 HIToolbox 0x97eea790 ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482 6 HIToolbox 0x97eff571 _SendEventToEventTarget + 76 7 HIToolbox 0x980700d0 ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 482 8 HIToolbox 0x9807013a _SendMenuCommandWithContextAndModifiers + 70 9 HIToolbox 0x980db98d _SendMenuItemSelectedEvent + 275 10 HIToolbox 0x97f3bd79 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2 + 129 11 HIToolbox 0x980cc88c ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 608 12 HIToolbox 0x97f33a2a HandleMenuSelection2 + 636 13 HIToolbox 0x97f337a9 HandleMenuSelection + 53 14 AppKit 0x9b433bd2 NSHandleCarbonMenuEvent + 302 15 AppKit 0x9b3c44d6 __DPSNextEvent + 2196 16 AppKit 0x9b3c3752 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113 17 AppKit 0x9b3bfac1 -[NSApplication run] + 911 18 AppKit 0x9b650ac5 _NSApplicationMain + 1054 19 iStopMotion 0x00017f05 main (main.m:68) 20 iStopMotion 0x000033c5 start + 53
Thread 1: 0 libsystem_kernel.dylib 0x9184990a _kevent + 10 1 libdispatch.dylib 0x92859853 __dispatch_mgr_thread + 53
Thread 2: 0 libsystem_kernel.dylib 0x91846c22 _mach_msg_trap + 10 1 CoreFoundation 0x928ae9da CFRunLoopServiceMachPort + 170 2 CoreFoundation 0x928b7b04 CFRunLoopRun + 1428 3 CoreFoundation 0x928b71dc _CFRunLoopRunSpecific + 332 4 CoreFoundation 0x928b7088 _CFRunLoopRunInMode + 120 5 Foundation 0x910040c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378 6 Foundation 0x90ff7e25 -[NSThread main] + 45 7 Foundation 0x90ff7dd5 _NSThreadmain + 1582 8 libsystem_c.dylib 0x96eaced9 pthread_start + 335 9 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 3: 0 libsystem_kernel.dylib 0x91848b42 _select + 10 1 libsystem_c.dylib 0x96eaced9 pthread_start + 335 2 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 4: 0 libsystem_kernel.dylib 0x9184883e _psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71 2 JavaScriptCore 0x9689b5d1 ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd + 81 3 WebCore 0x96f70d64 ZN7WebCore18LocalStorageThread16threadEntryPointEv + 74 4 WebCore 0x96f70cc1 ZN7WebCore18LocalStorageThread24threadEntryPointCallbackEPv + 17 5 libsystem_c.dylib 0x96eaced9 __pthread_start + 335 6 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 5: 0 libsystem_kernel.dylib 0x9184883e ___psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71
Thread 6: 0 libsystem_kernel.dylib 0x9184883e ___psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71
Thread 7: 0 libsystem_kernel.dylib 0x9184883e ___psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71
Thread 8: 0 libsystem_kernel.dylib 0x9184883e ___psynch_cvwait + 10 1 libsystem_c.dylib 0x96e613e0 _pthread_cond_timedwait$UNIX2003 + 70
Thread 9: 0 libsystem_kernel.dylib 0x9184883e _psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71 2 CoreMedia 0x97ec2b0e _WaitOnCondition + 19 3 CoreMedia 0x97ec2d3b _FigSemaphoreWaitRelative + 194 4 CoreMedia 0x97ebe946 _FigScheduledFileIOThread + 201 5 CoreMedia 0x97ec3e33 _figThreadMain + 496 6 libsystem_c.dylib 0x96eaced9 pthread_start + 335 7 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 10: 0 libsystem_kernel.dylib 0x91846c22 _mach_msg_trap + 10 1 CoreFoundation 0x928ae9da CFRunLoopServiceMachPort + 170 2 CoreFoundation 0x928b7b04 CFRunLoopRun + 1428 3 CoreFoundation 0x928b71dc _CFRunLoopRunSpecific + 332 4 CoreFoundation 0x928b7088 CFRunLoopRunInMode + 120 5 CoreMediaIO 0x98abeba2 ZN4CMIO3DAL7RunLoop9OwnThreadEPv + 160 6 CoreMediaIO 0x98ab470d ZN9CAPThread5EntryEPS + 123 7 libsystem_c.dylib 0x96eaced9 __pthread_start + 335 8 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 11: 0 libsystem_kernel.dylib 0x9184883e _psynch_cvwait + 10 1 libsystem_c.dylib 0x96e6142c _pthread_cond_wait$UNIX2003 + 71 2 CoreVideo 0x924ef0cd ZN13CVDisplayLink11runIOThreadEv + 945 3 CoreVideo 0x924eed05 __ZL13startIOThreadPv + 160 4 libsystem_c.dylib 0x96eaced9 __pthread_start + 335 5 libsystem_c.dylib 0x96eb06de _thread_start + 34
Thread 12: 0 libsystem_kernel.dylib 0x9184902e ___workq_kernreturn + 10 1 libsystem_c.dylib 0x96eb06fe _start_wqthread + 30
Thread 13: 0 libsystem_kernel.dylib 0x9184902e ___workq_kernreturn + 10 1 libsystem_c.dylib 0x96eb06fe _start_wqthread + 30
Thread 14: 0 libsystem_kernel.dylib 0x9184902e ___workq_kernreturn + 10 1 libsystem_c.dylib 0x96eb06fe _start_wqthread + 30
Thread 0 crashed with X86 Thread State: eax: 0x00000000 edx: 0x918489c6 ecx: 0xc00a4e1c ebx: 0xc00a4f24 ebp: 0xc00a4e38 esi: 0x00000006 edi: 0xac8022c0 esp: 0xc00a4e1c eip: 0x918489c6 eflags: 0x00000246 trapno: 0x00000084 cs: 0x0000000b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
Binary Images:
0xa7000 - 0x1b1fff +iStopMotion i386 <4e2f37c55e86306dafc2587f6d91bbdd> /Users/catherinelord/Downloads/iStopMotion.app/Contents/MacOS/iStopMotion
0x1ee000 - 0x232fff GLUT i386 <490bc2d78ee6387ea12b702d3a753382> /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT
0x29a000 - 0x2c0fff BXBase i386
NSWindowController documentation says for -initWithWindowNibPath:owner:
Use this method if your nib file is at a fixed location (which is not inside either the file’s owner’s class’s bundle or in the application’s main bundle).
I don't know, if this means, that the nib file is not allowed to resist either in Sparkle--Framework-Bundle or somewhere inside the main bundle. If so, this method looks rather strange and somewhat useless to me, but the nib paths we handle over to this method are on such a location.
IMHO this could lead to an NSInternalInconsistencyException
I changed the code in SUWindowController to -initWithWindowNibName:owner:
it works fine, but I will test it more before commiting it to this repository.
What is your opinion?
HI, sorry its taken me so long to reply, that sounds interesting, I will look into that and try the change, I will report any findings.
Hi guys, any progress on this issue? I've got a bunch of crashes reported by users with the same stack trace.
Just experienced this in our app.
any sollution/update for this crash ?
Having this fix in our apps for round about a year and had no issues encountered anymore.
Yeah same result here, I tried the change in the latest releases and its been fine. Thats since November 2013.
Is the fix for this going to be merged to master? Or has it been fixed some other way?
@bensurtees assuming all has remained well with your patched version, could you throw the patch up as a PR? Might help get this issue closed out :)
@cmsj hasn't PR #472 fixed this for you?
@pornel I'd missed that the fix had gone in here too, but I do still seem to be getting these crashes (using Sparkle 1.10.0):
Thread : Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x00007fff8acd7634 __exceptionPreprocess
1 libobjc.A.dylib 0x00007fff8bb416de objc_exception_throw
2 CoreFoundation 0x00007fff8acd742a +[NSException raise:format:arguments:]
3 Foundation 0x00007fff87c1f5b9 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 AppKit 0x00007fff8e944dbe -[NSWindowController initWithWindowNibPath:owner:]
5 Sparkle 0x000000010fac8ee8
6 Sparkle 0x000000010fac2ac4
7 Sparkle 0x000000010fac05ce
8 Sparkle 0x000000010fabe1b0
9 Sparkle 0x000000010fab1e8b
10 Sparkle 0x000000010faae33d
11 CFNetwork 0x00007fff888a7d7c -[NSURLDownload sendDidFinish]
12 CFNetwork 0x00007fff888a915c _NSURLDownloadDidFinish(_CFURLDownload*, void const*)
13 CFNetwork 0x00007fff887fdd0f URLDownload::_internal_downloadFinished()
14 CFNetwork 0x00007fff887ffe7a ___ZN11URLDownload30_internal_withClientSchedulingEU13block_pointerFvP22CFURLDownloadClient_V2E_block_invoke
15 CFNetwork 0x00007fff8876e3fc RunloopBlockContext::_invoke_block(void const*, void*)
16 CoreFoundation 0x00007fff8abc11e4 CFArrayApplyFunction
17 CFNetwork 0x00007fff8876e2bd RunloopBlockContext::perform()
18 CFNetwork 0x00007fff8876e15e MultiplexerSource::perform()
19 CFNetwork 0x00007fff8876df80 MultiplexerSource::_perform(void*)
20 CoreFoundation 0x00007fff8abf5661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
21 CoreFoundation 0x00007fff8abe77ed __CFRunLoopDoSources0
22 CoreFoundation 0x00007fff8abe6e1f __CFRunLoopRun
23 CoreFoundation 0x00007fff8abe6838 CFRunLoopRunSpecific
24 HIToolbox 0x00007fff9611043f RunCurrentEventLoopInMode
25 HIToolbox 0x00007fff961101ba ReceiveNextEventCommon
26 HIToolbox 0x00007fff9610fffb _BlockUntilNextEventMatchingListInModeWithFilter
27 AppKit 0x00007fff8e0506d1 _DPSNextEvent
28 AppKit 0x00007fff8e04fe80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
29 AppKit 0x00007fff8e043e23 -[NSApplication run]
30 AppKit 0x00007fff8e02f2d4 NSApplicationMain
31 libdyld.dylib 0x00007fff8819d5c9 start
32 ??? 0x0000000000000001
I think that has been fixed some time after 1.10, so please try 1.11: https://github.com/sparkle-project/Sparkle/releases/tag/1.11.0rc1
sparkle 1.16
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x7fff7f98ce63 (Missing)
1 libobjc.A.dylib 0x7fff94576cad objc_exception_throw
2 CoreFoundation 0x7fff7f991b82 (Missing)
3 Foundation 0x7fff813dbd50 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 AppKit 0x7fff7d589be9 (Missing)
5 AppKit 0x7fff7d693300 (Missing)
6 AppKit 0x7fff7dd28603 (Missing)
7 AppKit 0x7fff7dd24e20 (Missing)
8 AppKit 0x7fff7dd242be (Missing)
9 AppKit 0x7fff7dbacbf5 (Missing)
10 AppKit 0x7fff7d68a896 (Missing)
11 AppKit 0x7fff7d86aa42 (Missing)
12 AppKit 0x7fff7d68833a (Missing)
13 AppKit 0x7fff7d85a8aa (Missing)
14 AppKit 0x7fff7d7008bc (Missing)
15 Sparkle 0x104b6e761 -[SUUIBasedUpdateDriver showAlert:] (SUUIBasedUpdateDriver.m:318)
16 Sparkle 0x104b6c7b0 -[SUUIBasedUpdateDriver didNotFindUpdate] (SUUIBasedUpdateDriver.m:107)
17 Sparkle 0x104b54915 -[SUBasicUpdateDriver appcastDidFinishLoading:] (SUBasicUpdateDriver.m:195)
18 Sparkle 0x104b76a0e -[SUUserInitiatedUpdateDriver appcastDidFinishLoading:] (SUUserInitiatedUpdateDriver.m:69)
19 Sparkle 0x104b4e7bd -[SUAppcast downloadDidFinish:] (SUAppcast.m:106)
20 CFNetwork 0x7fff7ecbabf1 -[NSURLDownload sendDidFinish]
21 CFNetwork 0x7fff7ecbbf64 _NSURLDownloadDidFinish(_CFURLDownload*, void const*)
22 CFNetwork 0x7fff7ebdafc1 URLDownload::_internal_downloadFinished()
23 CFNetwork 0x7fff7ebdd46c ___ZN11URLDownload30_internal_withClientSchedulingEU13block_pointerFvP22CFURLDownloadClient_V2E_block_invoke
24 libdispatch.dylib 0x7fff94e240b8 (Missing)
25 libdispatch.dylib 0x7fff94e38e12 (Missing)
26 CFNetwork 0x7fff7ea96ec4 RunloopBlockContext::_invoke_block(void const*, void*)
27 CoreFoundation 0x7fff7f8c5674 (Missing)
28 CFNetwork 0x7fff7ea96dbd RunloopBlockContext::perform()
29 CFNetwork 0x7fff7ea96c54 MultiplexerSource::perform()
30 CFNetwork 0x7fff7ea96a76 MultiplexerSource::_perform(void*)
31 CoreFoundation 0x7fff7f922981 (Missing)
32 CoreFoundation 0x7fff7f903a7d (Missing)
33 CoreFoundation 0x7fff7f902f76 (Missing)
34 CoreFoundation 0x7fff7f902974 (Missing)
35 HIToolbox 0x7fff7ee8ea5c (Missing)
36 HIToolbox 0x7fff7ee8e799 (Missing)
37 HIToolbox 0x7fff7ee8e6c6 (Missing)
38 AppKit 0x7fff7d4345b4 (Missing)
39 AppKit 0x7fff7dbaed6b (Missing)
40 AppKit 0x7fff7d428f35 (Missing)
41 AppKit 0x7fff7d3f3850 (Missing)
42 TechVendor 0x104a47c89 main (AppDelegate.swift:20)
43 libdyld.dylib 0x7fff94e5a255 (Missing)
thank you.
Do you have the text of the exception?
NSInternalInconsistencyException.txt
download from Fabric, thanks.
I keep getting exception reports from users, at first I thought it was a localization issue, but I get it for some "en" users too. Any Idea what causes this, anyone else seeing it?
NSInternalInconsistencyException
Invalid parameter not satisfying: windowNibPath
( 0 CoreFoundation 0x00007fff912d9f56 exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff9ab64d5e objc_exception_throw + 43 2 CoreFoundation 0x00007fff912d9d8a +[NSException raise:format:arguments:] + 106 3 Foundation 0x00007fff919ba71f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169 4 AppKit 0x00007fff8f2f7088 -[NSWindowController initWithWindowNibPath:owner:] + 141 5 Sparkle 0x0000000100071c1c -[SUWindowController initWithHost:windowNibName:] + 412 6 Sparkle 0x000000010006d674 -[SUAutomaticUpdateAlert initWithAppcastItem:host:delegate:] + 84 7 Sparkle 0x00000001000797f4 -[SUAutomaticUpdateDriver unarchiverDidFinish:] + 148 8 CoreFoundation 0x00007fff912c970d -[NSObject performSelector:withObject:] + 61 9 Sparkle 0x000000010007c01e -[SUUnarchiver(Private) notifyDelegateOfSuccess] + 110 10 CoreFoundation 0x00007fff912c970d -[NSObject performSelector:withObject:] + 61 11 Foundation 0x00007fff9193ed70 NSThreadPerformPerform + 214 12 CoreFoundation 0x00007fff912484f1 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 13 CoreFoundation 0x00007fff91247d5d CFRunLoopDoSources0 + 253 14 CoreFoundation 0x00007fff9126eb49 CFRunLoopRun + 905 15 CoreFoundation 0x00007fff9126e486 CFRunLoopRunSpecific + 230 16 HIToolbox 0x00007fff92dbc2bf RunCurrentEventLoopInMode + 277 17 HIToolbox 0x00007fff92dc356d ReceiveNextEventCommon + 355 18 HIToolbox 0x00007fff92dc33fa BlockUntilNextEventMatchingListInMode + 62 19 AppKit 0x00007fff8ec50779 _DPSNextEvent + 659 20 AppKit 0x00007fff8ec5007d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135 21 AppKit 0x00007fff8ec4c9b9 -[NSApplication run] + 470 22 AppKit 0x00007fff8eec8eac NSApplicationMain + 867