2011-03-26 103 views
12

一直在線查看崩潰報告,這似乎是主要問題。圖形服務:iPhone上的GSEventRunModal崩潰

任何想法它指的是什麼? (太多的圖形,圖形太重等)

我還沒有在模擬器或設備上發生任何崩潰,奇怪。

Crash log: 
Exception Type: EXC_CRASH (SIGABRT) 
Exception Codes: 0x00000000, 0x00000000 
Crashed Thread: 0 

Thread 0 Crashed: 
0 libSystem.B.dylib    0x33bd52d4 __kill + 8 
1 libSystem.B.dylib    0x33bd52c4 *_kill 
2 libSystem.B.dylib    0x33bd52b6 raise 
3 libSystem.B.dylib    0x33be9d72 abort 
4 libstdc++.6.dylib    0x31bdba20 __gnu_cxx::__verbose_terminate_handler() + 376 
5 libobjc.A.dylib     0x3347c594 _objc_terminate 
6 libstdc++.6.dylib    0x31bd9df2 __cxxabiv1::__terminate(void (*)()) + 46 
7 libstdc++.6.dylib    0x31bd9e46 std::terminate() + 10 
8 libstdc++.6.dylib    0x31bd9f16 __cxa_throw + 78 
9 libobjc.A.dylib     0x3347b4c4 objc_exception_throw 
10 Foundation      0x33639910 __NSThreadPerformPerform 
11 CoreFoundation     0x33a767d6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 
12 CoreFoundation     0x33a484f4 __CFRunLoopDoSources0 
13 CoreFoundation     0x33a47e54 __CFRunLoopRun 
14 CoreFoundation     0x33a47c80 CFRunLoopRunSpecific 
15 CoreFoundation     0x33a47b88 CFRunLoopRunInMode 
16 GraphicsServices    0x33b0e4a4 GSEventRunModal 
17 GraphicsServices    0x33b0e550 GSEventRun 
18 UIKit       0x32099322 -[UIApplication _run] 
19 UIKit       0x32096e8c UIApplicationMain 
20 Definition      0x0000247a main + 42 
21 Definition      0x00002410 start + 44 

Thread 1: 
0 libSystem.B.dylib    0x33b89974 kevent + 24 
1 libSystem.B.dylib    0x33c33704 _dispatch_mgr_invoke 
2 libSystem.B.dylib    0x33c33174 _dispatch_queue_invoke 
3 libSystem.B.dylib    0x33c32b98 _dispatch_worker_thread2 
4 libSystem.B.dylib    0x33bd724a _pthread_wqthread 
5 libSystem.B.dylib    0x33bcf970 start_wqthread + 0 

Thread 2: 
0 libSystem.B.dylib    0x33b5d268 mach_msg_trap + 20 
1 libSystem.B.dylib    0x33b5f354 mach_msg 
2 CoreFoundation     0x33a48648 __CFRunLoopServiceMachPort 
3 CoreFoundation     0x33a47ed2 __CFRunLoopRun 
4 CoreFoundation     0x33a47c80 CFRunLoopRunSpecific 
5 CoreFoundation     0x33a47b88 CFRunLoopRunInMode 
6 WebCore       0x304df124 RunWebThread 
7 libSystem.B.dylib    0x33bd6886 _pthread_start 
8 libSystem.B.dylib    0x33bcba88 thread_start + 0 

Thread 3: 
0 libSystem.B.dylib    0x33b5d268 mach_msg_trap + 20 
1 libSystem.B.dylib    0x33b5f354 mach_msg 
2 CoreFoundation     0x33a48648 __CFRunLoopServiceMachPort 
3 CoreFoundation     0x33a47ed2 __CFRunLoopRun 
4 CoreFoundation     0x33a47c80 CFRunLoopRunSpecific 
5 CoreFoundation     0x33a47b88 CFRunLoopRunInMode 
6 Foundation      0x336465f6 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] 
7 Foundation      0x33624192 -[NSThread main] 
8 Foundation      0x3361d242 __NSThread__main__ 
9 libSystem.B.dylib    0x33bd6886 _pthread_start 
10 libSystem.B.dylib    0x33bcba88 thread_start + 0 

Thread 4: 
0 libSystem.B.dylib    0x33b8168c select$DARWIN_EXTSN + 20 
1 CoreFoundation     0x33a7f662 __CFSocketManager 
2 libSystem.B.dylib    0x33bd6886 _pthread_start 
3 libSystem.B.dylib    0x33bcba88 thread_start + 0 

Thread 5: 
0 libSystem.B.dylib    0x33b5d268 mach_msg_trap + 20 
1 libSystem.B.dylib    0x33b5f354 mach_msg 
2 CoreFoundation     0x33a48648 __CFRunLoopServiceMachPort 
3 CoreFoundation     0x33a47ed2 __CFRunLoopRun 
4 CoreFoundation     0x33a47c80 CFRunLoopRunSpecific 
5 CoreFoundation     0x33a57efe CFRunLoopRun 
6 Definition      0x00013a34 +[ASIHTTPRequest runRequests] + 120 
7 Foundation      0x33624192 -[NSThread main] 
8 Foundation      0x3361d242 __NSThread__main__ 
9 libSystem.B.dylib    0x33bd6886 _pthread_start 
10 libSystem.B.dylib    0x33bcba88 thread_start + 0 

Thread 6: 
0 libSystem.B.dylib    0x33bd79e0 __workq_kernreturn + 8 
1 libSystem.B.dylib    0x33bd7364 _pthread_wqthread 
2 libSystem.B.dylib    0x33bcf970 start_wqthread + 0 

Thread 7: 
0 libSystem.B.dylib    0x33bd79e0 __workq_kernreturn + 8 
1 libSystem.B.dylib    0x33bd7364 _pthread_wqthread 
2 libSystem.B.dylib    0x33bcf970 start_wqthread + 0 

Thread 0 crashed with ARM Thread State: 
    r0: 0x00000000 r1: 0x00000000  r2: 0x00000001  r3: 0x3eaf12e8 
    r4: 0x00000006 r5: 0x31bd9989  r6: 0x002cdf7c  r7: 0x2fdfe9f8 
    r8: 0x00000000 r9: 0x00000065  r10: 0x002d24c0  r11: 0x00000000 
    ip: 0x00000025 sp: 0x2fdfe9f8  lr: 0x33bd52cb  pc: 0x33bd52d4 
    cpsr: 0x000f0010 

回答

2

由於__NSThreadPerformPerform故意拋出異常,什麼是錯的與傳遞給它的信息。由於異常代碼爲零,所以可能有一個零指針。

其中一種方法(或類似的方法)可能調用了錯誤的信息,或者在實際運行時信息不好。

performSelectorOnMainThread:withObject:waitUntilDone: 
performSelectorInBackground:withObject: 
performSelector:withObject:afterDelay: 
makeObjectsPerformSelector: 

此外,另一個StackOverflow的物品具有幾乎相同的堆棧和一個被損壞的通訊簿項引起的。 (iPhone crash that only happens on one phone