我目前正在OS X 10.5上測試我的一個應用程序的新版本 用戶在使用應用程序時報告了一些奇怪的崩潰,可悲的是我無法重現。乍一看,它似乎是隨機發生的,一旦他在打開一個NSOpenPanel時發生崩潰,一次在對焦一個NSTextField和一次在NSView切換到父視圖時。EXC_BAD_INSTRUCTION(SIGILL)在使用應用程序期間隨機。 AppKit中的錯誤?
如果您有任何想法我應該看看它的地區將不勝感激! 我完全迷失在這裏。
應用程序被編譯XCode中3.2.1 SDK 10.5和10.5
針對性請注意,這個問題是不可見的數百家客戶,但至少一個是。 它不在[openNZBFileButtonClick]中,即使單擊NSTextField一次,堆棧跟蹤也會隨機出現。
他送我這些崩潰:
崩潰1
Process: NZBVortex [43622]
Path: /Users/cero/Downloads/NZBVortex.app/Contents/MacOS/NZBVortex
Identifier: com.NZBVortex.NZBVortex
Version: 0.5.5 (0.5.5)
Code Type: X86-64 (Native)
Parent Process: launchd [97]
Interval Since Last Report: 1951 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 1858 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2010-03-23 23:43:49.671 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 98AB0386-590B-4E0D-B7AC-3F7AA4E7238E
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
objc[43622]: alt handlers in objc runtime are buggy!
- Hide quoted text -
Thread 0 Crashed:
0 libobjc.A.dylib 0x00007fff82baef6e _objc_fatal + 238
1 libobjc.A.dylib 0x00007fff82bb2ea4
objc_addExceptionHandler + 302
2 com.apple.CoreFoundation 0x00007fff842b1090
_CFDoExceptionOperation + 528
3 com.apple.AppKit 0x00007fff81f75e26 _NSAppKitLock + 81
4 com.apple.AppKit 0x00007fff81f80f8f -[NSView nextKeyView] + 56
5 com.apple.AppKit 0x00007fff81f81018 -[NSView
_primitiveSetNextKeyView:] + 72
6 com.apple.AppKit 0x00007fff820732b1 -[NSView
_recursiveSetDefaultKeyViewLoop] + 242
7 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
8 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
9 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
10 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
11 com.apple.AppKit 0x00007fff82072fc3 -[NSView
_setDefaultKeyViewLoop] + 279
12 com.apple.AppKit 0x00007fff82072e70 -[NSWindow
recalculateKeyViewLoop] + 36
13 com.apple.AppKit 0x00007fff821dd149
-[NSSavePanel(NSSavePanelRuntime) _loadPreviousModeAndLayout] + 39
14 com.apple.AppKit 0x00007fff821dcf9e
-[NSSavePanel(NSSavePanelRuntime) runModalForDirectory:file:types:] +
71
15 com.NZBVortex.NZBVortex 0x000000010000b7ee
-[MainWindowViewController openNZBFileButtonClick:] + 62
16 com.apple.AppKit 0x00007fff821c96bf
-[NSToolbarButton sendAction:to:] + 77
17 com.apple.AppKit 0x00007fff821c8bb7
-[NSToolbarItemViewer mouseDown:] + 5362
18 com.apple.AppKit 0x00007fff82082783 -[NSWindow
sendEvent:] + 5068
19 com.apple.AppKit 0x00007fff8204fd46 -[NSApplication
sendEvent:] + 5089
20 com.apple.AppKit 0x00007fff81faa562 -[NSApplication run] + 497
21 com.apple.AppKit 0x00007fff81f772f0 NSApplicationMain + 373
22 com.NZBVortex.NZBVortex 0x0000000100012a69 main + 9
23 com.NZBVortex.NZBVortex 0x0000000100001a84 start + 52
崩潰2
Process: NZBVortex [43600]
Path: /Users/cero/Downloads/NZBVortex.app/Contents/MacOS/NZBVortex
Identifier: com.NZBVortex.NZBVortex
Version: 0.5.5 (0.5.5)
Code Type: X86-64 (Native)
Parent Process: launchd [97]
Interval Since Last Report: 727 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 616 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2010-03-23 23:11:20.000 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 98AB0386-590B-4E0D-B7AC-3F7AA4E7238E
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
objc[43600]: alt handlers in objc runtime are buggy!
Thread 0 Crashed:
0 libobjc.A.dylib 0x00007fff82baef6e _objc_fatal + 238
1 libobjc.A.dylib 0x00007fff82bb2ea4
objc_addExceptionHandler + 302
2 com.apple.CoreFoundation 0x00007fff842b1090
_CFDoExceptionOperation + 528
3 com.apple.AppKit 0x00007fff81f75e26 _NSAppKitLock + 81
4 com.apple.AppKit 0x00007fff81f80f8f -[NSView nextKeyView] + 56
5 com.apple.AppKit 0x00007fff81f81018 -[NSView
_primitiveSetNextKeyView:] + 72
6 com.apple.AppKit 0x00007fff820732b1 -[NSView
_recursiveSetDefaultKeyViewLoop] + 242
7 com.apple.AppKit 0x00007fff82156700 -[NSTabView
_recursiveSetDefaultKeyViewLoop] + 119
8 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
9 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
10 com.apple.AppKit 0x00007fff82072fc3 -[NSView
_setDefaultKeyViewLoop] + 279
11 com.apple.AppKit 0x00007fff82072e70 -[NSWindow
recalculateKeyViewLoop] + 36
12 com.NZBVortex.NZBVortex 0x000000010000b527
-[MainWindowViewController showView:sender:] + 1639
13 com.NZBVortex.NZBVortex 0x000000010000ae6b
-[MainWindowViewController
preferencesSaveAlertDidEnd:returnCode:contextInfo:] + 91
14 com.apple.AppKit 0x00007fff82224291 -[NSAlert
didEndAlert:returnCode:contextInfo:] + 107
15 com.apple.AppKit 0x00007fff82224197 -[NSAlert
buttonPressed:] + 279
16 com.apple.AppKit 0x00007fff82085d46 -[NSApplication
sendAction:to:from:] + 97
17 com.apple.AppKit 0x00007fff82085c7f -[NSControl
sendAction:to:] + 97
18 com.apple.AppKit 0x00007fff820851b0 -[NSCell
trackMouse:inRect:ofView:untilMouseUp:] + 1841
19 com.apple.AppKit 0x00007fff820849d6 -[NSButtonCell
trackMouse:inRect:ofView:untilMouseUp:] + 611
20 com.apple.AppKit 0x00007fff8208422f -[NSControl
mouseDown:] + 735
21 com.apple.AppKit 0x00007fff82082783 -[NSWindow
sendEvent:] + 5068
22 com.apple.AppKit 0x00007fff8204fd46 -[NSApplication
sendEvent:] + 5089
23 com.apple.AppKit 0x00007fff81faa562 -[NSApplication run] + 497
24 com.apple.AppKit 0x00007fff81f772f0 NSApplicationMain + 373
25 com.NZBVortex.NZBVortex 0x0000000100012a69 main + 9
26 com.NZBVortex.NZBVortex 0x0000000100001a84 start + 52
崩潰3
Process: NZBVortex [43520]
Path: /Users/cero/Downloads/NZBVortex.app/Contents/MacOS/NZBVortex
Identifier: com.NZBVortex.NZBVortex
Version: 0.5.5 (0.5.5)
Code Type: X86-64 (Native)
Parent Process: launchd [97]
Interval Since Last Report: 23487 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 2025 sec
Per-App Crashes Since Last Report: 1
Date/Time: 2010-03-23 22:59:05.484 +0100
OS Version: Mac OS X 10.5.8 (9L31a)
Report Version: 6
Anonymous UUID: 98AB0386-590B-4E0D-B7AC-3F7AA4E7238E
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0
Application Specific Information:
objc[43520]: alt handlers in objc runtime are buggy!
Thread 0 Crashed:
0 libobjc.A.dylib 0x00007fff82baef6e _objc_fatal + 238
1 libobjc.A.dylib 0x00007fff82bb2ea4
objc_addExceptionHandler + 302
2 com.apple.CoreFoundation 0x00007fff842b1090
_CFDoExceptionOperation + 528
3 com.apple.AppKit 0x00007fff81f75e26 _NSAppKitLock + 81
4 com.apple.AppKit 0x00007fff81f80f8f -[NSView nextKeyView] + 56
5 com.apple.AppKit 0x00007fff81f81018 -[NSView
_primitiveSetNextKeyView:] + 72
6 com.apple.AppKit 0x00007fff820732b1 -[NSView
_recursiveSetDefaultKeyViewLoop] + 242
7 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
8 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
9 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
10 com.apple.AppKit 0x00007fff82073300 -[NSView
_recursiveSetDefaultKeyViewLoop] + 321
11 com.apple.AppKit 0x00007fff82072fc3 -[NSView
_setDefaultKeyViewLoop] + 279
12 com.apple.AppKit 0x00007fff82072e70 -[NSWindow
recalculateKeyViewLoop] + 36
13 com.apple.AppKit 0x00007fff821dd149
-[NSSavePanel(NSSavePanelRuntime) _loadPreviousModeAndLayout] + 39
14 com.apple.AppKit 0x00007fff821dcf9e
-[NSSavePanel(NSSavePanelRuntime) runModalForDirectory:file:types:] +
71
15 com.NZBVortex.NZBVortex 0x000000010000b7ee
-[MainWindowViewController openNZBFileButtonClick:] + 62
16 com.apple.AppKit 0x00007fff821c96bf
-[NSToolbarButton sendAction:to:] + 77
17 com.apple.AppKit 0x00007fff821c8bb7
-[NSToolbarItemViewer mouseDown:] + 5362
18 com.apple.AppKit 0x00007fff82082783 -[NSWindow
sendEvent:] + 5068
19 com.apple.AppKit 0x00007fff8204fd46 -[NSApplication
sendEvent:] + 5089
20 com.apple.AppKit 0x00007fff81faa562 -[NSApplication run] + 497
21 com.apple.AppKit 0x00007fff81f772f0 NSApplicationMain + 373
22 com.NZBVortex.NZBVortex 0x0000000100012a69 main + 9
23 com.NZBVortex.NZBVortex 0x0000000100001a84 start + 52
你見過這個嗎?:http://lists.apple.com/archives/objc-language/2008/Sep/msg00111.html – diciu 2010-03-24 09:53:45
我會檢查它是否可能是一個64位Leopard問題:如果用戶可以一致地重現它,請嘗試讓它們以32位模式運行它(請在應用程序上獲取信息,選中「在32位模式下打開」);另外,當您試圖重現它時,請確保它在您自己的機器上以64位模式運行。 – 2010-03-24 13:24:57
網站引用:「這是在Objective-C運行時檢查錯誤,異常處理機器內部出現問題,並且它終止了你的進程,你應該在http://bugreport.apple.com上提交錯誤報告,幷包括一個演示這個問題的程序。「 有趣,似乎我遇到類似的東西。我將爲該用戶創建一個32位版本,並要求他嘗試重現。 – 2010-03-24 13:26:00