my app works fine when debugging on device and simulator ,but crashing during OTA and AD HOC distribution , I adding here my device log , Im getting the hidden error at the first line in thread 0 :
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001001435ac
Triggered by Thread: 0
Filtered syslog:
None found
Global Trace Buffer (reverse chronological seconds):
0.471355 CFNetwork 0x00000001839f9a80 TCP Conn 0x126183ed0 SSL Handshake DONE
0.705883 CFNetwork 0x00000001839f9990 TCP Conn 0x126183ed0 starting SSL negotiation
0.706739 CFNetwork 0x0000000183a9bf18 TCP Conn 0x126183ed0 complete. fd: 32, err: 0
0.708259 CFNetwork 0x0000000183a9d444 TCP Conn 0x126183ed0 event 1. err: 0
0.748479 CFNetwork 0x0000000183a9d51c TCP Conn 0x126183ed0 started
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 SimPlan 0x00000001001435ac __hidden#11038_ (__hidden#11355_:122)
1 UIKit 0x00000001888231b8 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 228
2 UIKit 0x00000001888f36d4 +[UIViewController _performWithoutDeferringTransitions:] + 128
3 UIKit 0x0000000188823080 -[UIApplication _applicationDidEnterBackground] + 100
4 UIKit 0x0000000188823604 -[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:] + 700
5 UIKit 0x0000000188833a80 -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 448
6 UIKit 0x000000018881d70c __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 152
7 UIKit 0x000000018881d394 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 712
8 FrontBoardServices 0x0000000184db77ac __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
9 FrontBoardServices 0x0000000184db7618 -[FBSSerialQueue _performNext] + 168
10 FrontBoardServices 0x0000000184db79c8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
11 CoreFoundation 0x00000001833cd09c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
12 CoreFoundation 0x00000001833ccb30 __CFRunLoopDoSources0 + 540
13 CoreFoundation 0x00000001833ca830 __CFRunLoopRun + 724
14 CoreFoundation 0x00000001832f4c50 CFRunLoopRunSpecific + 384
15 GraphicsServices 0x0000000184bdc088 GSEventRunModal + 180
16 UIKit 0x00000001885de088 UIApplicationMain + 204
17 SimPlan 0x000000010014184c main (__hidden#11355_:21)
18 libdyld.dylib 0x0000000182e928b8 start + 4
I try to debug with optimization level as suggest here :
Thanks for any help!
Related
I have couple of crashes on startup of app and there are no code changes made since it was last installed by Xcode. When I open device logs, Xcode is not fully symbolicating crash, particularly the place where it crashed. Why is it so and how do I get the fully symbolicated crash log? The crash is unfortunately not reproducible in direct debugging session.
Date/Time: 2018-12-01 12:30:38.3874 +0400
Launch Time: 2018-12-01 12:30:36.0854 +0400
OS Version: iPhone OS 12.1 (16B92)
Baseband Version: 2.01.07
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000101abe1a4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [43684]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libswiftCore.dylib 0x0000000101abe1a4 0x1018cc000 + 2040228
1 libswiftCore.dylib 0x0000000101abe1a4 0x1018cc000 + 2040228
2 libswiftCore.dylib 0x0000000101925db8 0x1018cc000 + 368056
3 MyApp-Swift 0x0000000100e69880 0x100d64000 + 1071232
4 MyApp-Swift 0x0000000100dfbd00 0x100d64000 + 621824
5 MyApp-Swift 0x0000000100dfbdb8 0x100d64000 + 622008
6 UIKitCore 0x00000001c29da768 -[UIApplication sendAction:to:from:forEvent:] + 96
7 UIKitCore 0x00000001c24686d0 -[UIControl sendAction:to:forEvent:] + 80
8 UIKitCore 0x00000001c24689f0 -[UIControl _sendActionsForEvents:withEvent:] + 440
9 UIKitCore 0x00000001c24679f0 -[UIControl touchesEnded:withEvent:] + 568
10 UIKitCore 0x00000001c2a1418c -[UIWindow _sendTouchesForEvent:] + 2472
11 UIKitCore 0x00000001c2a153f0 -[UIWindow sendEvent:] + 3156
12 UIKitCore 0x00000001c29f46ec -[UIApplication sendEvent:] + 340
13 UIKitCore 0x00000001c2ac057c __dispatchPreprocessedEventFromEventQueue + 1620
14 UIKitCore 0x00000001c2ac2f74 __handleEventQueueInternal + 4740
15 UIKitCore 0x00000001c2abba64 __handleHIDEventFetcherDrain + 152
16 CoreFoundation 0x00000001958ac1cc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
17 CoreFoundation 0x00000001958ac14c __CFRunLoopDoSource0 + 88
18 CoreFoundation 0x00000001958aba30 __CFRunLoopDoSources0 + 176
19 CoreFoundation 0x00000001958a68fc __CFRunLoopRun + 1040
20 CoreFoundation 0x00000001958a61cc CFRunLoopRunSpecific + 436
21 GraphicsServices 0x0000000197b1d584 GSEventRunModal + 100
22 UIKitCore 0x00000001c29d9054 UIApplicationMain + 212
23 MyApp-Swift 0x0000000100f48dec 0x100d64000 + 1986028
24 libdyld.dylib 0x0000000195366bb4 start + 4
Kindly share your thoughts/suggestion on below crash.
Seeing some strange crashes and these crashes are not reproducible from my end but users reported so many similar crashes.Crash log says application is crashed in thread 0 and after the __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ call in thread 0 I can see a trace 0 ??? 000000000000000000 0 + 0...what does it mean?
Below is a sample crash log.All other crash logs looks same as below.
>Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
>
Termination Signal: Segmentation fault: 11
>
Termination Reason: Namespace SIGNAL, Code 0xb
>
Terminating Process: exc handler [0]
Triggered by Thread: 0
>Thread 0 name:
>
Thread 0 Crashed:
>
**0 ??? 000000000000000000 0 + 0**
>
1 CoreFoundation 0x0000000181ede22c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:650)
>
2 CoreFoundation 0x0000000181edd930 _CFXRegistrationPost + 400 (CFNotificationCenter.c:164)
>
3 CoreFoundation 0x0000000181edd6ac ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1031)
>
4 CoreFoundation 0x0000000181f4cb9c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504 (CFXNotificationRegistrar.m:163)
>
5 CoreFoundation 0x0000000181e1fbf4 _CFXNotificationPost + 376 (CFNotificationCenter.c:1028)
>
6 Foundation 0x00000001829256bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 (NSNotification.m:482)
>
7 UIKit 0x0000000187fab748 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 268 (UIApplication.m:6227)
>
8 UIKit 0x0000000188085668 +[UIViewController _performWithoutDeferringTransitions:] + 128 (UIViewController.m:5900)
>
9 UIKit 0x0000000187fab5e8 -[UIApplication _applicationDidEnterBackground] + 100 (UIApplication.m:6215)
>
10 UIKit 0x0000000187fabb30 -[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:] + 692 (UIApplication.m:6323)
>
11 UIKit 0x0000000187fa3478 -[UIApplication workspaceShouldExit:withTransitionContext:] + 320 (UIApplication.m:2962)
>
12 FrontBoardServices 0x0000000183ae3904 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:158)
>
13 FrontBoardServices 0x0000000183ae3770 -[FBSSerialQueue _performNext] + 176 (FBSSerialQueue.m:177)
>
14 FrontBoardServices 0x0000000183ae3b18 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:206)
>
15 CoreFoundation 0x0000000181ef2278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
>
16 CoreFoundation 0x0000000181ef1bc0 __CFRunLoopDoSources0 + 524 (CFRunLoop.c:1989)
>
17 CoreFoundation 0x0000000181eef7c0 __CFRunLoopRun + 804 (CFRunLoop.c:2821)
>
18 CoreFoundation 0x0000000181e1e048 CFRunLoopRunSpecific + 444 (CFRunLoop.c:3113)
>
19 UIKit 0x0000000187d89b04 -[UIApplication _run] + 608 (UIApplication.m:2638)
>
20 UIKit 0x0000000187d84888 UIApplicationMain + 208 (UIApplication.m:4091)
>
21 XXXXXX 0x0000000101745348 0x100024000 + 24253256
>
22 XXXXXX 0x00000001017455a0 UIApplicationMain + 164
>
23 XXXXXX 0x00000001015eacf0 main + 368 (main.swift:14)
>
24 libdyld.dylib 0x0000000180e005b8 start + 4
When use develop profile everything is ok.app can run in simulator and real phone.But when use distribution profile,it crashes in lauching page.And crashes only happened in distribution profile.So it sounds so strange.
What's more,I am using enterprise profile.
Here is the crash log.
Incident Identifier: 35311121-D805-45AC-86D4-0F2D23FC6A0F
CrashReporter Key: d5d38df3c00b48e5d091b65c20d5ab3c373c35fd
Hardware Model: iPhone6,2
Process: GSD_ZHIFUBAO [271]
Path: /private/var/mobile/Containers/Bundle/Application/A36A0DCC-178E-4251-B611-F8C163EB705F/GSD_ZHIFUBAO.app/GSD_ZHIFUBAO
Identifier: com.nice.one
Version: 6 (2.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-01-19 16:05:32.32 +0800
Launch Time: 2016-01-19 16:05:30.30 +0800
OS Version: iOS 9.2 (13C75)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
Triggered by Thread: 0
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x184161900 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x1837cff80 objc_exception_throw + 56
2 CoreFoundation 0x184161848 +[NSException raise:format:] + 120
3 GSD_ZHIFUBAO 0x1004677d4 UmengSignalHandler + 144
4 libsystem_platform.dylib 0x183dc593c _sigtramp + 52
5 Foundation 0x184b0af40 ____addOperations_block_invoke + 328
6 Foundation 0x184b08c84 __addOperations + 292
7 GSD_ZHIFUBAO 0x1000a5738 -[NetworkClient postPath:baseUrl:parameters:attachHeaders:isDelete:completion:failure:] (NetworkClient.m:287)
8 GSD_ZHIFUBAO 0x100095b78 -[Netclient postUserinfo:failureBlock:] (Netclient.m:68)
9 GSD_ZHIFUBAO 0x1000427e0 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:172)
10 UIKit 0x188ec9704 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 400
11 UIKit 0x1890f8130 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2904
12 UIKit 0x1890fc4b8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1672
13 UIKit 0x1890f95c0 -[UIApplication workspaceDidEndTransaction:] + 168
14 FrontBoardServices 0x185717790 -[FBSSerialQueue _performNext] + 184
15 FrontBoardServices 0x185717b10 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
16 CoreFoundation 0x184118efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
17 CoreFoundation 0x184118990 __CFRunLoopDoSources0 + 540
18 CoreFoundation 0x184116690 __CFRunLoopRun + 724
19 CoreFoundation 0x184045680 CFRunLoopRunSpecific + 384
20 UIKit 0x188ec2580 -[UIApplication _run] + 460
21 UIKit 0x188ebcd90 UIApplicationMain + 204
22 GSD_ZHIFUBAO 0x100091104 main (main.m:14)
23 libdyld.dylib 0x183be68b8 start + 4
Global Trace Buffer (reverse chronological seconds):
6148914688.454477 CFNetwork 0x000000018473984c TCP Conn 0x154739670 SSL Handshake DONE
6148914688.544633 CFNetwork 0x000000018473984c TCP Conn 0x154747a20 SSL Handshake DONE
6148914689.195506 CFNetwork 0x000000018473975c TCP Conn 0x154747a20 starting SSL negotiation
6148914689.195804 CFNetwork 0x00000001847db104 TCP Conn 0x154747a20 complete. fd: 16, err: 0
6148914689.196920 CFNetwork 0x00000001847dc630 TCP Conn 0x154747a20 event 1. err: 0
6148914689.222770 CFNetwork 0x000000018473975c TCP Conn 0x154739670 starting SSL negotiation
6148914689.223070 CFNetwork 0x00000001847db104 TCP Conn 0x154739670 complete. fd: 15, err: 0
6148914689.224137 CFNetwork 0x00000001847dc630 TCP Conn 0x154739670 event 1. err: 0
6148914689.516014 CFNetwork 0x00000001847dc708 TCP Conn 0x154747a20 started
6148914689.604255 CFNetwork 0x00000001847dc708 TCP Conn 0x154739670 started
6148914689.721041 CFNetwork 0x00000001847db104 TCP Conn 0x1545b1ad0 complete. fd: 6, err: 0
6148914689.721764 CFNetwork 0x00000001847dc630 TCP Conn 0x1545b1ad0 event 1. err: 0
6148914689.791580 CFNetwork 0x00000001847dc708 TCP Conn 0x1545b1ad0 started
6148914689.795240 CFNetwork 0x00000001848318bc Creating default cookie storage with default identifier
6148914689.795240 CFNetwork 0x0000000184831888 Faulting in CFHTTPCookieStorage singleton
6148914689.795291 CFNetwork 0x0000000184883558 Faulting in NSHTTPCookieStorage singleton
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000183d04140 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000183dccef8 pthread_kill + 112
2 libsystem_c.dylib 0x0000000183c75dac abort + 140
3 libc++abi.dylib 0x00000001837a93f4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001837c2f60 std::__terminate(void (*)()) + 44
5 libc++abi.dylib 0x00000001837c285c __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0
6 libobjc.A.dylib 0x00000001837d0094 _objc_exception_destructor(void*) + 0
7 CoreFoundation 0x0000000184161848 -[NSException initWithCoder:] + 0
8 GSD_ZHIFUBAO 0x00000001004677d4 UmengSignalHandler + 144
9 libsystem_platform.dylib 0x0000000183dc593c _sigtramp + 52
10 Foundation 0x0000000184b0af40 ____addOperations_block_invoke + 328
11 Foundation 0x0000000184b08c84 __addOperations + 292
12 GSD_ZHIFUBAO 0x00000001000a5738 -[NetworkClient postPath:baseUrl:parameters:attachHeaders:isDelete:completion:failure:] (NetworkClient.m:288)
13 GSD_ZHIFUBAO 0x0000000100095b78 -[Netclient postUserinfo:failureBlock:] (Netclient.m:121)
14 GSD_ZHIFUBAO 0x00000001000427e0 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:172)
15 UIKit 0x0000000188ec9704 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 400
16 UIKit 0x00000001890f8130 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2904
17 UIKit 0x00000001890fc4b8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1672
18 UIKit 0x00000001890f95c0 -[UIApplication workspaceDidEndTransaction:] + 168
19 FrontBoardServices 0x0000000185717790 -[FBSSerialQueue _performNext] + 184
20 FrontBoardServices 0x0000000185717b10 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
21 CoreFoundation 0x0000000184118efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
I think its trying to access deallocated memory.Exception subtype denotes it.
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000010
Just enable zombies object to track exact line of code which creates crash.
You can enable zombies by Go To Edit Scheme of project settings.
Please check below images to enable zombies.
Upon UIApplicationDidBecomeActiveNotification, I trigger a SecItemUpdate call:
OSStatus itemError = SecItemUpdate((__bridge CFDictionaryRef)secItemSearchParams, (__bridge CFDictionaryRef)secItemNewData);
I have one device (64 bit + iOS 7) that takes about 10 seconds to evaluate this line, and it returns with no error (OSStatus = errSecSuccess).
I keep getting a 8badf00d exception ("failed to resume in time" exception, see attached call stack), so as a remedy I moved this logic out of the main thread. However I don't understand why SecItemUpdate takes so much time to evaluate! It seems like the KeyChain or some other resource is not ready.
Any clues?
Call stack:
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.MyApp123.MyApp123 failed to resume in time
Elapsed total CPU time (seconds): 3.670 (user 3.670, system 0.000), 15% CPU
Elapsed application CPU time (seconds): 0.022, 0% CPU
Thread 0:
0 libsystem_kernel.dylib 0x0000000193d49cdc semaphore_wait_trap + 8
1 libxpc.dylib 0x0000000193e006b0 xpc_connection_send_message_with_reply_sync + 180
2 Security 0x0000000189f1157c securityd_message_with_reply_sync + 92
3 Security 0x0000000189f21350 __SecItemUpdate_block_invoke + 300
4 Security 0x0000000189f20228 SecOSStatusWith + 28
5 Security 0x0000000189f211e0 SecItemUpdate + 136
6 MyApp123 0x000000010059472c +[WDKeyChainUtils setKeyChainData:forLabel:] (WDKeyChainUtils.m:39)
7 MyApp123 0x0000000100173e68 -[DateWatcher setLastSeenDate:] (DateWatcher.m:123)
8 MyApp123 0x0000000100173ae8 -[DateWatcher watchLogic] (DateWatcher.m:96)
9 MyApp123 0x0000000100173b68 -[DateWatcher watchOnAppBecomeActiveOrMainKeyDidBecomeAvailable:] (DateWatcher.m:101)
10 CoreFoundation 0x000000018711f5b0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 16
11 CoreFoundation 0x000000018706c100 _CFXNotificationPost + 2060
12 Foundation 0x0000000187bfe744 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
13 UIKit 0x000000018a1b92e4 -[UIApplication _stopDeactivatingForReason:] + 424
14 UIKit 0x000000018a36161c -[UIApplication _handleApplicationResumeEvent:] + 1136
15 UIKit 0x000000018a13532c -[UIApplication handleEvent:withNewEvent:] + 1876
16 UIKit 0x000000018a134acc -[UIApplication sendEvent:] + 100
17 MyApp123 0x0000000100266738 -[WDApplication sendEvent:] (WDApplication.m:38)
18 UIKit 0x000000018a1a1040 _UIApplicationHandleEvent + 668
19 GraphicsServices 0x000000018cd53500 _PurpleEventCallback + 672
20 GraphicsServices 0x000000018cd5302c PurpleEventCallback + 44
21 CoreFoundation 0x000000018712ae8c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
22 CoreFoundation 0x000000018712adec __CFRunLoopDoSource1 + 440
23 CoreFoundation 0x0000000187129010 __CFRunLoopRun + 1616
24 CoreFoundation 0x0000000187069c1c CFRunLoopRunSpecific + 448
25 GraphicsServices 0x000000018cd51c08 GSEventRunModal + 164
26 UIKit 0x000000018a19afd8 UIApplicationMain + 1152
27 MyApp123 0x0000000100110dc8 main (main.m:17)
28 libdyld.dylib 0x0000000193c67a9c start + 0
I got a crash log from an app that is already in App Store. The weird part of the crash log is that a class method appears twice in the backtrace of the crashed thread, as if the class method recursively called itself. I said weird because that class method is quite simple and it doesn't make a recursive call inside method body. Here is the part from the crash log:
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
Does any one have a reasoning why +[PHAPIRequest expectedSignatureValueForResponse:nonce:secret:] appears twice in the backtrace or may be knows the reason of the crash? Appreciate your help!