有人能帮我解决这个崩溃问题吗?当我在加载一些UIWebView实例时,它们之间不断切换时,偶尔会发生崩溃。
崩溃通常略有不同,但它总是类似于"WebThread"的崩溃,具有相似的堆栈跟踪。
以下是两次崩溃的相关部分:
日期/时间:2011-11-08 14:29:01.165 -0500 操作系统版本:iPhone OS 5.0(9A334) 报告版本:104日期/时间:2011年11月8日15:09:01.410 -0500 操作系统版本:iPhone OS 5.0(9A334) 报告版本:104
异常类型:EXC_BAD_ACCESS(SIGSEGV) 异常代码:KERN_INVALID_ADDRESS at 0x00000006 崩溃线程:4
线程4名称:WebThread 线程4崩溃: 0 ??? 0x00000006 0 + 6 1 WebCore 0x32a36154-[QuickLookHandleAsDelegate连接:didReceiveData:lengthReceived:] + 72 2 QuickLook 0x30bee2c2-[QLThreadInvoker connectionDidReceiveDataLengthReceived:] + 90 3 CoreFoundation 0x3537a226-[NSObject performSelector:withObject:] + 38 4 Foundation 0x32ce2752 __NSThreadPerformPerform + 346 5 CoreFoundation 0x353efafe __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 10 6 CoreFoundation 0x353ef2ca __CFRunLoopDoSources0 + 210 7 CoreFoundation 0x353ee070 __CFRunLoopRun + 648 8 CoreFoundation 0x353714d8 CFRunLoopRunSpecific + 296 9 CoreFoundation 0x353713a0 CFRunLoopRunInMode + 100 10 WebCore 0x324c912a _ZL12RunWebThreadPv + 398 11 libsystem_c.dylib 0x35ba1c18 _pthread_start + 316 12 libsystem_c.dylib 0x35ba1ad4 thread_start + 4
异常类型:EXC_BAD_ACCESS(SIGSEGV) 异常代码:KERN_INVALID_ADDRESS at 0x00000034 崩溃的线程:4
线程4名称:WebThread 线程4崩溃: 0 ??? 0x00000034 0 + 52 1 CoreFoundation 0x3537a226-[NSObject performSelector:withObject:] + 38 2 Foundation 0x32ce2752 __NSThreadPerformPerform + 346 3 CoreFoundation 0x353efafe __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 10 4 CoreFoundation 0x353ef2ca __CFRunLoopDoSources0 + 210 5 CoreFoundation 0x353ee070 __CFRunLoopRun + 648 6 CoreFoundation 0x353714d8 CFRunLoopRunSpecific + 296 7 CoreFoundation 0x353713a0 CFRunLoopRunInMode + 100 8 WebCore 0x324c912a _ZL12RunWebThreadPv + 398 9 libsystem_c.dylib 0x35ba1c18 _pthread_start + 316 10 libsystem_c.dylib 0x35ba1ad4 thread_start + 4