2013-02-02 63 views
-1

我不能重複崩潰,但提交應用程序到蘋果,總是與相同的崩潰日誌。請幫我分析一下問題所在。詳細的崩潰日誌在下面給出。非常感謝!iOS應用程序與日誌NSURLConnection墜毀,但我不能重複,幫我

蘋果測試團隊的技巧,: 當使用你的應用程序出現這種情況: - 通過Wi-Fi - 在蜂窩網絡

Date/Time:  2013-02-01 11:32:40.293 -0800 
OS Version:  iOS 6.1 (10B143) 
Report Version: 104 

Exception Type: EXC_BAD_ACCESS (SIGBUS) 
Exception Codes: KERN_PROTECTION_FAILURE at 0x00760040 
Crashed Thread: 0 

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 ???        0x00760040 0 + 7733312 
1 ProtocolBuffer     0x3866d1b6 -[PBRequester connectionDidFinishLoading:] + 1042 
2 Foundation      0x33bb7912 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 14 
3 Foundation      0x33af7764 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196 
4 Foundation      0x33af7680 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56 
5 CFNetwork      0x32f5864c ___delegate_didFinishLoading_block_invoke_0 + 24 
6 CFNetwork      0x32f57d30 ___withDelegateAsync_block_invoke_0 + 52 
7 CFNetwork      0x32f80010 ___performAsync_block_invoke_068 + 16 
8 CoreFoundation     0x331c1aca CFArrayApplyFunction + 174 
9 CFNetwork      0x32f8046e RunloopBlockContext::perform() + 70 
10 CFNetwork      0x32ee445e MultiplexerSource::perform() + 186 
11 CoreFoundation     0x332508f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12 
12 CoreFoundation     0x33250158 __CFRunLoopDoSources0 + 208 
13 CoreFoundation     0x3324ef2a __CFRunLoopRun + 642 
14 CoreFoundation     0x331c2238 CFRunLoopRunSpecific + 352 
15 CoreFoundation     0x331c20c4 CFRunLoopRunInMode + 100 
16 GraphicsServices    0x36da0336 GSEventRunModal + 70 
17 UIKit       0x350de2b4 UIApplicationMain + 1116 
18 Maoye       0x00003ca2 0x1000 + 11426 
19 Maoye       0x00003c5c 0x1000 + 11356 

Thread 1: 
0 libsystem_kernel.dylib   0x3b460d98 __workq_kernreturn + 8 
1 libsystem_c.dylib    0x3b3aead6 _pthread_workq_return + 14 
2 libsystem_c.dylib    0x3b3ae7f2 _pthread_wqthread + 362 
3 libsystem_c.dylib    0x3b3ae680 start_wqthread + 4 

Thread 2 name: Dispatch queue: com.apple.libdispatch-manager 
Thread 2: 
0 libsystem_kernel.dylib   0x3b4505d0 kevent64 + 24 
1 libdispatch.dylib    0x3b38bd22 _dispatch_mgr_invoke + 806 
2 libdispatch.dylib    0x3b387374 _dispatch_mgr_thread + 32 

Thread 3: 
0 libsystem_kernel.dylib   0x3b460d98 __workq_kernreturn + 8 
1 libsystem_c.dylib    0x3b3aead6 _pthread_workq_return + 14 
2 libsystem_c.dylib    0x3b3ae7f2 _pthread_wqthread + 362 
3 libsystem_c.dylib    0x3b3ae680 start_wqthread + 4 

Thread 4 name: WebThread 
Thread 4: 
0 libsystem_kernel.dylib   0x3b44fe30 mach_msg_trap + 20 
1 libsystem_kernel.dylib   0x3b44ffd0 mach_msg + 48 
2 CoreFoundation     0x332502b6 __CFRunLoopServiceMachPort + 126 
3 CoreFoundation     0x3324f02c __CFRunLoopRun + 900 
4 CoreFoundation     0x331c2238 CFRunLoopRunSpecific + 352 
5 CoreFoundation     0x331c20c4 CFRunLoopRunInMode + 100 
6 WebCore       0x391c1390 RunWebThread(void*) + 440 
7 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
8 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 5 name: Dispatch queue: URLConnection 
Thread 5: 
0 libsystem_kernel.dylib   0x3b4505d0 kevent64 + 24 
1 libdispatch.dylib    0x3b38b94e _dispatch_update_kq + 178 
2 libdispatch.dylib    0x3b38734c _dispatch_mgr_wakeup + 40 
3 libdispatch.dylib    0x3b3899a8 _dispatch_wakeup + 20 
4 libdispatch.dylib    0x3b389938 _dispatch_queue_push_list_slow2 + 16 
5 libdispatch.dylib    0x3b389afa _dispatch_queue_drain + 78 
6 libdispatch.dylib    0x3b387678 _dispatch_queue_invoke + 40 
7 libdispatch.dylib    0x3b38a610 _dispatch_root_queue_drain + 208 
8 libdispatch.dylib    0x3b38a7d4 _dispatch_worker_thread2 + 88 
9 libsystem_c.dylib    0x3b3ae7ee _pthread_wqthread + 358 
10 libsystem_c.dylib    0x3b3ae680 start_wqthread + 4 

Thread 6: 
0 libsystem_kernel.dylib   0x3b44fe30 mach_msg_trap + 20 
1 libsystem_kernel.dylib   0x3b44ffd0 mach_msg + 48 
2 CoreFoundation     0x332502b6 __CFRunLoopServiceMachPort + 126 
3 CoreFoundation     0x3324f02c __CFRunLoopRun + 900 
4 CoreFoundation     0x331c2238 CFRunLoopRunSpecific + 352 
5 CoreFoundation     0x331c20c4 CFRunLoopRunInMode + 100 
6 Foundation      0x33ae65be -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250 
7 Maoye       0x0003aab2 0x1000 + 236210 
8 Maoye       0x0007fbc8 0x1000 + 519112 
9 Maoye       0x00034958 0x1000 + 211288 
10 Maoye       0x00036656 0x1000 + 218710 
11 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
12 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 7 name: com.apple.NSURLConnectionLoader 
Thread 7: 
0 libsystem_kernel.dylib   0x3b44fe30 mach_msg_trap + 20 
1 libsystem_kernel.dylib   0x3b44ffd0 mach_msg + 48 
2 CoreFoundation     0x332502b6 __CFRunLoopServiceMachPort + 126 
3 CoreFoundation     0x3324f02c __CFRunLoopRun + 900 
4 CoreFoundation     0x331c2238 CFRunLoopRunSpecific + 352 
5 CoreFoundation     0x331c20c4 CFRunLoopRunInMode + 100 
6 Foundation      0x33b0f888 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304 
7 Foundation      0x33b9322c __NSThread__main__ + 968 
8 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
9 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 8: 
0 libsystem_kernel.dylib   0x3b460d98 __workq_kernreturn + 8 
1 libsystem_c.dylib    0x3b3aead6 _pthread_workq_return + 14 
2 libsystem_c.dylib    0x3b3ae7f2 _pthread_wqthread + 362 
3 libsystem_c.dylib    0x3b3ae680 start_wqthread + 4 

Thread 9: 
0 libsystem_kernel.dylib   0x3b45f2cc __connect + 8 
1 Maoye       0x00027b7a 0x1000 + 158586 
2 Maoye       0x00029e0a 0x1000 + 167434 
3 Maoye       0x00029db8 0x1000 + 167352 
4 Maoye       0x000078da 0x1000 + 26842 
5 Maoye       0x00009bd6 0x1000 + 35798 
6 Maoye       0x0003408e 0x1000 + 209038 
7 Maoye       0x00036656 0x1000 + 218710 
8 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
9 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 10: 
0 libsystem_kernel.dylib   0x3b4606a4 __semwait_signal + 24 
1 libsystem_c.dylib    0x3b3be1be nanosleep + 138 
2 libsystem_c.dylib    0x3b41ee4e sleep + 42 
3 Maoye       0x0001e190 0x1000 + 119184 
4 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
5 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 11 name: com.apple.CFSocket.private 
Thread 11: 
0 libsystem_kernel.dylib   0x3b460594 __select + 20 
1 CoreFoundation     0x33254474 __CFSocketManager + 676 
2 libsystem_c.dylib    0x3b3b90de _pthread_start + 306 
3 libsystem_c.dylib    0x3b3b8fa4 thread_start + 4 

Thread 0 crashed with ARM Thread State (32-bit): 
    r0: 0x00000001 r1: 0x01090350  r2: 0x00760041  r3: 0x00000007 
    r4: 0x38d2fa5e r5: 0x01090350  r6: 0x00000001  r7: 0x2fdfed0c 
    r8: 0x01090340 r9: 0x0109b240  r10: 0x0026b5d4  r11: 0x0109b0f0 
    ip: 0x3cf1b7f0 sp: 0x2fdfece8  lr: 0x0003b439  pc: 0x00760040 
    cpsr: 0x200f0030 
+0

你有沒有測試,看看與互聯網連接發生了什麼失去你試圖連接權之前? (可以在飛機模式下測試)。基於他們的提示,似乎不是問題,但你可以檢查。 – Firo

+0

我會假設你的應用名稱是「Maoye」。如果[你象徵你的崩潰日誌],這可能對你和我們有所幫助(http://stackoverflow.com/questions/8172887/how-to-symbolicate-iphone-ipad-crash-logs)。 –

+0

所有的條件包括wifi,3g,gprs,飛機,我也打開網絡鏈路調節器,並測試每一個。但我無法重複崩潰 –

回答

0

我猜你的崩潰是在方法connectionDidFinishLoading。由於線程0中發生崩潰,前兩行給出了關於崩潰的描述。這是我從我的朋友那裏得知的,他是一名測試人員。

1個ProtocolBuffer 0x3866d1b6 - [PBRequester connectionDidFinishLoading:] + 1042

+0

我使用了IconDownloader,並且我多次檢查了connectionDidFinishLoading方法,我在其他所有項目都可以並通過的項目中使用它,也許我需要用另一種方法替換它。 –

+0

@DanielWu connectionDidFinishLoading是一個委託方法,因此不需要替換它。不知道那裏有什麼問題。希望你找到它。 –

相關問題