2013-02-19 69 views
-1

如何在沒有崩潰報告的情況下處理這些錯誤?我相信我發現的問題是調用某個線程想要管理的清理和附加緩衝區的類。Objective C線程錯誤

這是我收到的報告。我發現在控制檯這份報告,但有在設備日誌(即使該應用程序沒有崩潰)沒有發現任何的崩潰日誌

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 4 name: WebThread 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 4: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fcdeb4 0x32fcd000 + 3764 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_kernel.dylib   0x32fce048 0x32fcd000 + 4168 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 CoreFoundation     0x3b2bd040 0x3b226000 + 618560 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 CoreFoundation     0x3b2bbd9e 0x3b226000 + 613790 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 4 CoreFoundation     0x3b22eeb8 0x3b226000 + 36536 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 5 CoreFoundation     0x3b22ed44 0x3b226000 + 36164 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 6 WebCore      0x36f0da40 0x36f03000 + 43584 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 7 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 8 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 5: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fcdeb4 0x32fcd000 + 3764 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_kernel.dylib   0x32fce048 0x32fcd000 + 4168 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 CoreFoundation     0x3b2bd040 0x3b226000 + 618560 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 CoreFoundation     0x3b2bbd9e 0x3b226000 + 613790 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 4 CoreFoundation     0x3b22eeb8 0x3b226000 + 36536 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 5 CoreFoundation     0x3b22ed44 0x3b226000 + 36164 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 6 Foundation      0x3603f78a 0x3603b000 + 18314 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 7 Foundation      0x360e3058 0x3603b000 + 688216 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 8 iOSMad       0x000ff2e6 0xf5000 + 41702 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 9 Foundation      0x360ec678 0x3603b000 + 726648 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 10 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 11 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 6 name: com.apple.NSURLConnectionLoader 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 6: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fcdeb4 0x32fcd000 + 3764 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_kernel.dylib   0x32fce048 0x32fcd000 + 4168 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 CoreFoundation     0x3b2bd040 0x3b226000 + 618560 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 CoreFoundation     0x3b2bbd9e 0x3b226000 + 613790 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 4 CoreFoundation     0x3b22eeb8 0x3b226000 + 36536 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 5 CoreFoundation     0x3b22ed44 0x3b226000 + 36164 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 6 Foundation      0x36068bc8 0x3603b000 + 187336 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 7 Foundation      0x360ec678 0x3603b000 + 726648 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 8 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 9 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 7: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fded98 0x32fcd000 + 73112 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_c.dylib    0x36344cf6 0x3633e000 + 27894 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 libsystem_c.dylib    0x36344a12 0x3633e000 + 27154 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 libsystem_c.dylib    0x363448a0 0x3633e000 + 26784 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 8: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fded98 0x32fcd000 + 73112 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_c.dylib    0x36344cf6 0x3633e000 + 27894 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 libsystem_c.dylib    0x36344a12 0x3633e000 + 27154 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 libsystem_c.dylib    0x363448a0 0x3633e000 + 26784 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 9 name: com.apple.CFSocket.private 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 9: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fde594 0x32fcd000 + 71060 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 CoreFoundation     0x3b2c11f2 0x3b226000 + 635378 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 10: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fded98 0x32fcd000 + 73112 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_c.dylib    0x36344cf6 0x3633e000 + 27894 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 libsystem_c.dylib    0x36344a12 0x3633e000 + 27154 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 libsystem_c.dylib    0x363448a0 0x3633e000 + 26784 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 11: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fde594 0x32fcd000 + 71060 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 ExternalAccessory    0x3440f742 0x34409000 + 26434 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 Foundation      0x360ec678 0x3603b000 + 726648 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 4 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 12: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 0 libsystem_kernel.dylib   0x32fde08c 0x32fcd000 + 69772 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 1 libsystem_c.dylib    0x36347d2a 0x3633e000 + 40234 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 2 libsystem_c.dylib    0x36351f14 0x3633e000 + 81684 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 3 Foundation      0x36068cca 0x3603b000 + 187594 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 4 ExternalAccessory    0x3440e986 0x34409000 + 22918 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 5 Foundation      0x360ec678 0x3603b000 + 726648 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 6 libsystem_c.dylib    0x3634f30e 0x3633e000 + 70414 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 7 libsystem_c.dylib    0x3634f1d4 0x3633e000 + 70100 

Feb 18 18:15:58 ReportCrash[14342] <Error>: 

Feb 18 18:15:58 ReportCrash[14342] <Error>: Thread 0 crashed with ARM Thread State (32-bit): 

Feb 18 18:15:58 ReportCrash[14342] <Error>:  r0: 0x00000000 r1: 0x00000000  r2: 0x00000000  r3: 0x3c2c0534 

Feb 18 18:15:58 ReportCrash[14342] <Error>:  r4: 0x00000006 r5: 0x3c2c0b88  r6: 0x1e57cd14  r7: 0x2fd0ba14 

Feb 18 18:15:58 ReportCrash[14342] <Error>:  r8: 0x1e57ccf0 r9: 0x00000300  r10: 0x00000000  r11: 0x1f82b498 

Feb 18 18:15:58 ReportCrash[14342] <Error>:  ip: 0x00000148 sp: 0x2fd0ba08  lr: 0x3636d123  pc: 0x32fde350 

Feb 18 18:15:58 ReportCrash[14342] <Error>: cpsr: 0x00000010 

任何幫助將不勝感激...... 預先感謝您。

+0

這是最好的部分轉儲 - 其餘的線程在哪裏? – ipmcc 2013-02-19 02:05:43

+0

請參閱更新..我看不到什麼是線程0.我不明白我可以檢查。 – freedom 2013-02-19 02:20:25

回答

0

這可能有助於您的特定情況,但在調試器中爲斷點添加「所有例外」通常很有幫助。這是通過選擇Breakpoint Navigator,單擊窗格左下角的+圖標並單擊「Add Exception Breakpoint」來完成的。

道歉,如果你已經做到了這一點,但可能會對未來的讀者有用。