I am seeing the following crash log in Crashlytics with an iOS app. It is certainly infrequent, and I have been unable to replicate, but it is very annoying.
Anyone able to suggest what this is likely linked to?
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x000000019548c0b4 objc_retain + 20
1 libsystem_blocks.dylib 0x0000000195b0dbf8 _Block_object_assign + 320
2 libsystem_blocks.dylib 0x0000000195b0d738 _Block_copy_internal + 384
3 UIKit 0x0000000189b49988 +[_UIAsyncInvocation invocationWithBlock:] + 84
4 UIKit 0x0000000189b2e378 +[_UIRemoteViewControllerConnectionRequest __requestRemoteViewController:service:fromServiceWithBundleIdentifier:serializedAppearanceCustomizations:legacyAppearance:exportedHostingObject:serviceViewControllerDeputyInterface:connectionHandler:] + 1320
5 UIKit 0x0000000189b2e7a8 +[_UIRemoteViewControllerConnectionRequest requestViewController:fromServiceWithBundleIdentifier:serializedAppearanceCustomizations:legacyAppearance:exportedHostingObject:serviceViewControllerDeputyInterface:connectionHandler:] + 72
6 UIKit 0x0000000189b30b00 +[_UIRemoteViewController _requestViewController:traitCollection:fromServiceWithBundleIdentifier:service:connectionHandler:] + 528
7 iAd 0x000000018a12c130 +[ADAdSpaceRemoteViewController adSpaceRemoteViewControllerWithCompletionHandler:] + 96
8 iAd 0x000000018a126908 -[ADAdSpace _requestServiceAdSpace] + 228
9 iAd 0x000000018a1264ac __30-[ADAdSpace initForRecipient:]_block_invoke + 36
10 libdispatch.dylib 0x0000000195ab93ac _dispatch_call_block_and_release + 24
11 libdispatch.dylib 0x0000000195ab936c _dispatch_client_callout + 16
12 libdispatch.dylib 0x0000000195abd980 _dispatch_main_queue_callback_4CF + 932
13 CoreFoundation 0x0000000184cd5fa4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
14 CoreFoundation 0x0000000184cd404c __CFRunLoopRun + 1492
15 CoreFoundation 0x0000000184c010a4 CFRunLoopRunSpecific + 396
16 GraphicsServices 0x000000018dda35a4 GSEventRunModal + 168
17 UIKit 0x00000001895363c0 UIApplicationMain + 1488
18 xxxxxxxx 0x00000001000d6380 main (main.m:16)
19 libdyld.dylib 0x0000000195ae2a08 start + 4
Related
[Flutter] it's happening only on release mode when I try to present IOS SDK first screen
logs are attached
Crashed: com.apple.main-thread
[Flutter] it's happening only on release mode when I try to present IOS SDK first screen
logs are attached
Crashed: com.apple.main-thread
[Flutter] it's happening only on release mode when I try to present IOS SDK first screen
logs are attached
Crashed: com.apple.main-thread
0 MetaMapSDK 0xaee68 __swift_memcpy0_1 + 42760
1 MetaMapSDK 0xae344 __swift_memcpy0_1 + 39908
2 MetaMapSDK 0xb1228 __swift_memcpy0_1 + 51912
3 MetaMapSDK 0x2197d8 __swift_memcpy65_8 + 24720
4 MetaMapSDK 0x1f2a4c block_destroy_helper.32 + 11820
5 MetaMapSDK 0x1f2bc8 block_destroy_helper.32 + 12200
6 UIKitCore 0x1abffc -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 108
7 UIKitCore 0x1aeb4c -[UIViewController loadViewIfRequired] + 1048
8 UIKitCore 0x181bac -[UIViewController view] + 32
9 UIKitCore 0x5835c -[_UIFullscreenPresentationController _setPresentedViewController:] + 84
10 UIKitCore 0x3c7bf8 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 192
11 UIKitCore 0x4cfec4 -[UIViewController _presentViewController:withAnimationController:completion:] + 2008
12 UIKitCore 0x2bd60c __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 108
13 UIKitCore 0x25ae48 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 536
14 UIKitCore 0x3cefbc -[UIViewController _presentViewController:animated:completion:] + 208
15 UIKitCore 0x2e24d0 -[UIViewController presentViewController:animated:completion:] + 188
16 Flutter 0x32d7c (Missing UUID c25599caa061358c97027de247525350)
17 MetaMapSDK 0x14aa40 block_destroy_helper.84 + 2064
18 MetaMapSDK 0x14a7d4 block_destroy_helper.84 + 1444
19 metamap_plugin_flutter 0x6314 $s22metamap_plugin_flutter025SwiftMetaMapPluginFlutterG0C6handle_6resultySo0H10MethodCallC_yypSgctF015$syXlSgIeyBy_ypO7Iegn_TRyXlSgIeyBy_Tf1ncn_nTf4nng_n + 1152
20 metamap_plugin_flutter 0x57bc $s22metamap_plugin_flutter025SwiftMetaMapPluginFlutterG0C6handle_6resultySo0H10MethodCallC_yypSgctFTo + 76
21 Flutter 0x55e32c (Missing UUID c25599caa061358c97027de247525350)
22 Flutter 0x4614c (Missing UUID c25599caa061358c97027de247525350)
23 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release + 32
24 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
25 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
26 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
27 CoreFoundation 0x51800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
28 CoreFoundation 0xb704 __CFRunLoopRun + 2532
29 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
30 GraphicsServices 0x1374 GSEventRunModal + 164
31 UIKitCore 0x514b58 -[UIApplication _run] + 1100
32 UIKitCore 0x296090 UIApplicationMain + 364
33 Runner 0x66c8 main + 5 (AppDelegate.swift:5)
34 ??? 0x1025b9da4 (Missing)
App is crashing while a bluetooth device is disconnected.
I've seen few related threads and they say
"A notification delegate was not reset to nil. A fix has been applied at version 10.3.79."
Following is crash log:
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000018544c430 objc_msgSend + 16
1 ExternalAccessory 0x000000019c07c4dc -[EAAccessoryManager _notifyObserversThatAccessoryDisconnectedWithUserInfo:] + 104 (EAAccessoryManager.m:909)
2 ExternalAccessory 0x000000019c07eddc -[EAAccessoryManager _externalAccessoryDisconnected:] + 928 (EAAccessoryManager.m:1537)
3 CoreAccessories 0x00000001a7892ccc __54-[ACCExternalAccessoryProvider ExternalAccessoryLeft:]_block_invoke + 316 (ACCExternalAccessoryProvider.m:453)
4 libdispatch.dylib 0x0000000185b6d088 _dispatch_call_block_and_release + 24 (init.c:994)
5 libdispatch.dylib 0x0000000185b6d048 _dispatch_client_callout + 16 (object.m:502)
6 libdispatch.dylib 0x0000000185b79b74 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1016 (inline_internal.h:2500)
7 CoreFoundation 0x0000000186191eb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 (CFRunLoop.c:1815)
8 CoreFoundation 0x000000018618fa8c __CFRunLoopRun + 2012 (CFRunLoop.c:3111)
9 CoreFoundation 0x00000001860affb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
10 GraphicsServices 0x0000000187f47f84 GSEventRunModal + 100 (GSEvent.c:2245)
11 UIKit 0x000000018f6842e8 UIApplicationMain + 208 (UIApplication.m:3949)
12 MYAPP 0x0000000100ab8d58 main + 172 (main.m:16)
13 libdyld.dylib 0x0000000185bd256c start + 4
I have crash in Google Cast SDK.
Crashlytics logs:
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x189bd7014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x189c9f450 pthread_kill + 112
2 libsystem_c.dylib 0x189b4b400 abort + 140
3 libsystem_malloc.dylib 0x189c0d944 szone_size + 658
4 Security 0x18b019cdc SSLRecordServiceWriteQueueInternal + 132
5 Security 0x18b01cbf8 SSLServiceWriteQueue + 20
6 Security 0x18b01cd80 SSLWrite + 212
7 GoogleCast 0x1007c269c __46-[GCKNSSLSocket sslPrivateInitWithBufferSize:]_block_invoke.24 + 88
8 GoogleCast 0x1007ccf70 -[GCKBCircularByteBuffer drainWithBlock:] + 96
9 GoogleCast 0x1007c2f44 -[GCKNSSLSocket performCrypto] + 436
10 GoogleCast 0x1007c2944 -[GCKNSSLSocket sendBytes:length:partialOK:] + 64
11 GoogleCast 0x10070711c -[GCKCastSocket sendMessage:] + 200
12 GoogleCast 0x1006edd84 -[GCKCastDeviceConnector sendMessageWithNamespace:toDestinationID:stringPayload:binaryPayload:] + 516
13 GoogleCast 0x1006eee04 -[GCKCastDeviceConnector sendBinaryMessage:withNamespace:toDestinationID:] + 84
14 GoogleCast 0x1006e7cec -[GCKCastChannel sendBinaryMessage:toDestinationID:error:] + 144
15 GoogleCast 0x100711280 -[GCKDeviceAuthChannel sendChallengeWithPeerSecTrust:error:] + 376
16 GoogleCast 0x1006ef1d4 -[GCKCastDeviceConnector castSocket:didConnectWithPeerSecTrust:] + 532
17 GoogleCast 0x100707dc4 __50-[GCKCastSocket notifyDidConnectWithPeerSecTrust:]_block_invoke + 84
18 libdispatch.dylib 0x189a921fc _dispatch_call_block_and_release + 24
19 libdispatch.dylib 0x189a921bc _dispatch_client_callout + 16
20 libdispatch.dylib 0x189a96d68 _dispatch_main_queue_callback_4CF + 1000
21 CoreFoundation 0x18abb6810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
22 CoreFoundation 0x18abb43fc __CFRunLoopRun + 1660
23 CoreFoundation 0x18aae22b8 CFRunLoopRunSpecific + 444
24 GraphicsServices 0x18c596198 GSEventRunModal + 180
25 UIKit 0x190b297fc -[UIApplication _run] + 684
26 UIKit 0x190b24534 UIApplicationMain + 208
27 Kanopy PROD 0x100079860 main (AppDelegate.swift:19)
28 libdispatch.dylib 0x189ac55b8 (Missing)
Why does this crash occur? Is this crash in the SDK or is it possibly due to incorrect integration of the Chrome Cast SDK?
Security
SSLRecordServiceWriteQueueInternal
Crashlytics logs (image):
enter image description here
Code in another thread:
enter image description here
Error Message
0 Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000c raw
0 libobjc.A.dylib objc_msgSend + 5 performSelector:withObject:
7 UIKit -[UIViewController dealloc] + 1798
8 Cxxxxxx AFQueryStringPairsFromKeyAndValue + 7759031
9 libsystem_blocks.dylib _Block_release + 216
10 libdispatch.dylib _dispatch_after_timer_callback + 66
11 libdispatch.dylib _dispatch_client_callout + 22
12 libdispatch.dylib _dispatch_source_latch_and_call + 2042
13 libdispatch.dylib _dispatch_source_invoke + 738
14 libdispatch.dylib _dispatch_main_queue_callback_4CF + 394
15 CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation __CFRunLoopRun + 1590
17 CoreFoundation CFRunLoopRunSpecific + 516
18 CoreFoundation CFRunLoopRunInMode + 108
19 GraphicsServices GSEventRunModal + 160
20 UIKit UIApplicationMain + 144
21 Cxxxxxxx main.m line 15 main
22 libdyld.dylib start + 2
How to understand a trace from an IOS application
top to bottom (or) bottom to top
0 libobjc.A.dylib 0x0000000195b77bc8 objc_msgSend + 4
1 Foundation 0x0000000184edfc84 _NSDescriptionWithStringProxyFunc + 68
2 CoreFoundation 0x0000000183fa9b50 __CFStringAppendFormatCore + 6948
3 CoreFoundation 0x0000000183fa7ff0 _CFStringCreateWithFormatAndArgumentsAux2 + 244
4 CoreFoundation 0x0000000183fc59dc _CFLogvEx2 + 148
5 Foundation 0x0000000184dff660 NSLogv + 104
6 Foundation 0x0000000184dff5e8 NSLog + 20
7 My Mobile 0x00000001005819b0 -[MySDK didFailWithError:] + 272
8 My Mobile 0x00000001005d3974 -[MyServiceManager validate:didFailWithError:] + 1200
9 My Mobile 0x00000001005bb20c __60-[MyHttpCliebt validate]_block_invoke110 + 528
10 MyTIM Mobile 0x00000001005c2ca8 __84-[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:success:failure:]_block_invoke87 + 160
11 My Mobile 0x00000001005a7ef0 __72-[AFURLSessionManagerTaskDelegate URLSession:task:didCompleteWithError:]_block_invoke + 220
12 libdispatch.dylib 0x00000001961e1994 _dispatch_call_block_and_release + 20
13 libdispatch.dylib 0x00000001961e1954 _dispatch_client_callout + 12
14 libdispatch.dylib 0x00000001961e620c _dispatch_main_queue_callback_4CF + 1604
15 CoreFoundation 0x0000000183f97544 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation 0x0000000183f955ec __CFRunLoopRun + 1488
17 CoreFoundation 0x0000000183ec0f74 CFRunLoopRunSpecific + 392
18 GraphicsServices 0x000000018d7f36fc GSEventRunModal + 164
19 UIKit 0x0000000188ac2d94 UIApplicationMain + 1484
20 MyTIM Mobile 0x00000001000de4a0 main (main.m:12)
21 libdyld.dylib 0x000000019620ea08 start + 0
Please help me in identifying where the problem actually starts, is it starts at AFURLSessionManagerTaskDelegate (or) MySDK ?
Which is causing the issue, is NSLog causing issue ? or blocks and threads causing this issue?
How to analyze a crash report is described in Technical Note TN2151.