为什么类方法在崩溃日志iOS的调用堆栈中出现两次

时间:2013-10-11 11:01:05

标签: ios exc-bad-access crash-reports

我从已经在App Store中的应用程序获得了崩溃日志。崩溃日志的奇怪部分是类方法在崩溃线程的回溯中出现两次,就好像类方法以递归方式调用自身一样。我说很奇怪,因为该类方法非常简单,并且它不会在方法体内进行递归调用。以下是崩溃日志中的部分:

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x3b788350 __pthread_kill + 8
1   libsystem_c.dylib               0x3b6fefb2 pthread_kill + 54
2   libsystem_c.dylib               0x3b73b366 abort + 90
3   btg2                            0x0172a358 ___lldb_unnamed_function128645$$btg2 + 280
4   btg2                            0x0171af34 ___lldb_unnamed_function128478$$btg2 + 256
5   libsystem_c.dylib               0x3b708d38 _sigtramp + 40
6   btg2                            0x0129fd7c +[PHAPIRequest expectedSignatureValueForResponse:nonce:secret:] (PHAPIRequest.m:129)
7   btg2                            0x0129fd7c +[PHAPIRequest expectedSignatureValueForResponse:nonce:secret:] (PHAPIRequest.m:129)
8   btg2                            0x012a1ee4 -[PHAPIRequest connectionDidFinishLoadingWithRequest:response:data:context:] (PHAPIRequest.m:501)
9   btg2                            0x012aee04 -[PHConnectionManager connectionDidFinishLoading:] (PHConnectionManager.m:234)
10  Foundation                      0x33d46912 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke_0 + 14
11  Foundation                      0x33c86764 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 196
12  Foundation                      0x33c86680 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
13  CFNetwork                       0x330e764c ___delegate_didFinishLoading_block_invoke_0 + 24
14  CFNetwork                       0x330e6d30 ___withDelegateAsync_block_invoke_0 + 52
15  CFNetwork                       0x3310f010 ___performAsync_block_invoke_068 + 16
16  CoreFoundation                  0x33350aca CFArrayApplyFunction + 174
17  CFNetwork                       0x3310f46e RunloopBlockContext::perform() + 70
18  CFNetwork                       0x3307345e MultiplexerSource::perform() + 186
19  CoreFoundation                  0x333df8f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
20  CoreFoundation                  0x333df158 __CFRunLoopDoSources0 + 208
21  CoreFoundation                  0x333ddf2a __CFRunLoopRun + 642
22  CoreFoundation                  0x33351238 CFRunLoopRunSpecific + 352
23  CoreFoundation                  0x333510c4 CFRunLoopRunInMode + 100
24  GraphicsServices                0x36f0c336 GSEventRunModal + 70
25  UIKit                           0x3526d2b4 UIApplicationMain + 1116
26  btg2                            0x0007da00 main (main.mm:21)
27  btg2                            0x0007a504 ___lldb_unnamed_function1$$btg2 + 36

是否有任何人有理由为什么+ [PHAPIRequest expectedSignatureValueForResponse:nonce:secret:]在回溯中出现两次或者可能知道崩溃的原因?感谢您的帮助!

0 个答案:

没有答案