5

尊敬的 SO'ers,您好,

最近突然出现了一个让我困惑的崩溃。它发生在Thread 2,似乎是内部的WebCore,是Exception Type SIGSEGVException Code SEGV_ACCERR。完整的崩溃日志如下。

UIWebView该应用程序始终使用s。主要WebView显示大约 30 个驻留在磁盘上的图像,并使用自定义 NSURLProtocol 在本机和 JavaScript 之间传递消息,反之亦然。

我希望有人可以帮助我更好地理解这样的崩溃(那些在我的代码中没有指向特定类/方法/行的崩溃,似乎在 Apple 类中)以及如何诊断和修复它们。

我已经阅读SIGSEGV并在谷歌上搜索了崩溃报告中的许多信息。还没有发现任何有用的东西。在此先感谢您的任何指点。

Incident Identifier: [TODO]  
CrashReporter Key:   [TODO]  
Hardware Model:      iPad3,6  
Process:         CurrentTarget [56978]  
Path:            /var/mobile/Applications/XXXXXXX-5392-49F5-99AE-XXXXXXXXXXX/CurrentTarget.app/CurrentTarget  
Identifier:      com.xxx.xxxxxxx  
Version:         1.10.7  
Code Type:       ARM  
Parent Process:  launchd [1]  


Date/Time:       2013-07-05 14:38:02 +0000  
OS Version:      iPhone OS 6.1.3 (10B329)  
Report Version:  104  


Exception Type:  SIGSEGV  
Exception Codes: SEGV_ACCERR at 0x4  
Crashed Thread:  2  


Thread 0:  
0   libsystem_kernel.dylib              0x3b67ce30 mach_msg_trap + 20  
1   CoreFoundation                      0x332d42bb __CFRunLoopServiceMachPort + 131  
2   CoreFoundation                      0x332d2fdb __CFRunLoopRun + 819  
3   CoreFoundation                      0x3324623d CFRunLoopRunSpecific + 356  
4   CoreFoundation                      0x332460c9 CFRunLoopRunInMode + 104  
5   GraphicsServices                    0x36e0133b GSEventRunModal + 74  
6   UIKit                               0x351622b9 UIApplicationMain + 1120  
7   CurrentTarget                       0x0000d6b3 main (main.m:15)  


Thread 1:  
0   libsystem_kernel.dylib              0x3b67d5d0 kevent64 + 24  
1   libdispatch.dylib                   0x3b5b4378 _dispatch_mgr_thread + 36  


Thread 2 Crashed:  
0   libobjc.A.dylib                     0x3b1945ca objc_msgSend + 9  
1   WebCore                             0x393d86c9   WebCore::LayerFlushScheduler::runLoopObserverCallback(__CFRunLoopObserver*, unsigned long, void*) + 25  
2   CoreFoundation                      0x332d4941   __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 21  
3   CoreFoundation                      0x332d2c39 __CFRunLoopDoObservers + 277  
4   CoreFoundation                      0x33246263 CFRunLoopRunSpecific + 394  
5   CoreFoundation                      0x332460c9 CFRunLoopRunInMode + 104  
6   WebCore                             0x3922a395 RunWebThread(void*) + 445  
7   libsystem_c.dylib                   0x3b5e60e1 _pthread_start + 309  


Thread 3:  
0   libsystem_kernel.dylib              0x3b67ce30 mach_msg_trap + 20  
1   CoreFoundation                      0x332d42bb __CFRunLoopServiceMachPort + 131  
2   CoreFoundation                      0x332d3031 __CFRunLoopRun + 905  
3   CoreFoundation                      0x3324623d CFRunLoopRunSpecific + 356  
4   CoreFoundation                      0x332460c9 CFRunLoopRunInMode + 104  
5   Foundation                          0x33b6a5c3 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 255  
6   Foundation                          0x33c0dc45 -[NSRunLoop(NSRunLoop) run] + 81
7   CurrentTarget                       0x0002db85 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:162)  
8   Foundation                          0x33c17231 __NSThread__main__ + 973  
9   libsystem_c.dylib                   0x3b5e60e1 _pthread_start + 309  


Thread 4:  
0   libsystem_kernel.dylib              0x3b67ce30 mach_msg_trap + 20  
1   CoreFoundation                      0x332d42bb __CFRunLoopServiceMachPort + 131  
2   CoreFoundation                      0x332d3031 __CFRunLoopRun + 905  
3   CoreFoundation                      0x3324623d CFRunLoopRunSpecific + 356  
4   CoreFoundation                      0x332460c9 CFRunLoopRunInMode + 104  
5   Foundation                          0x33b9388d +[NSURLConnection(Loader) _resourceLoadLoop:] + 309  
6   Foundation                          0x33c17231 __NSThread__main__ + 973  
7   libsystem_c.dylib                   0x3b5e60e1 _pthread_start + 309  



Thread 2 crashed with ARM Thread State:  
    r0: 0x00000004     r1: 0x39c10f51     r2: 0x000000cc     r3: 0x0ab29439   
    r4: 0x0940c600     r5: 0x1ed70618     r6: 0x1ed70610     r7: 0x0073edf8   
    r8: 0x00000003     r9: 0x00000000    r10: 0x0073ee20    r11: 0x0000008a    
    ip: 0x3cf14568     sp: 0x0073edec     lr: 0x39b7902b     pc: 0x3b1945ca   
  cpsr: 0x20000030  
4

0 回答 0