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
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)
Is it a known issue to be fixed by apple final non-beta ios 11 release?
Where can i find the MRAVOutputContext reference?
From Crashlytics crash report: (Crash reproduces while starting Bluetooth audio, but cannot reproduce it while in debug)
Crashed: com.apple.coremedia.routingcontext.xpc.notifications
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000fa4a1beb8
#23. Crashed: com.apple.coremedia.routingcontext.xpc.notifications
0 libobjc.A.dylib 0x1856f4430 objc_msgSend + 16
1 MediaRemote 0x191826618 -[MRAVOutputContext _outputDevicesDidChangeNotification:] + 296
2 CoreFoundation 0x18615e12c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
3 CoreFoundation 0x18615d6cc _CFXRegistrationPost + 420
4 CoreFoundation 0x18615d430 ___CFXNotificationPost_block_invoke + 60
5 CoreFoundation 0x1861da9f4 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
6 CoreFoundation 0x1860943e0 _CFXNotificationPost + 380
7 Foundation 0x186ab1498 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
8 AVFoundation 0x18ba5beb4 AVCMNotificationDispatcherCallback + 200
9 CoreFoundation 0x18615e12c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
10 CoreFoundation 0x18615d6cc _CFXRegistrationPost + 420
11 CoreFoundation 0x18615d430 ___CFXNotificationPost_block_invoke + 60
12 CoreFoundation 0x1861da9f4 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1408
13 CoreFoundation 0x1860943e0 _CFXNotificationPost + 380
14 CoreFoundation 0x1860b758c CFNotificationCenterPostNotification + 132
15 CoreMedia 0x1892c6114 CMNotificationCenterPostNotification + 124
16 CoreMedia 0x1893c6828 __figXPC_HandleNotificationMessage_block_invoke + 164
17 libdispatch.dylib 0x185b51088 _dispatch_call_block_and_release + 24
18 libdispatch.dylib 0x185b51048 _dispatch_client_callout + 16
19 libdispatch.dylib 0x185b5ae48 _dispatch_queue_serial_drain$VARIANT$mp + 528
20 libdispatch.dylib 0x185b5b7d8 _dispatch_queue_invoke$VARIANT$mp + 340
21 libdispatch.dylib 0x185b5c200 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 400
22 libdispatch.dylib 0x185b644a0 _dispatch_workloop_worker_thread$VARIANT$mp + 644
23 libsystem_pthread.dylib 0x185df6fe0 _pthread_wqthread + 932
Update: Was fixed in the official release
I installed Crashlytics on my iOS Today Extension, and I am getting this strange crash. Does anyone know why this might be happening?
Fatal Exception: NSInternalInconsistencyException
removing inactive plug-in com.somecompany.someapp.TodayExtension(1.0)>
The line that it is crashing on is
11 PlugInKit -[PKService unregisterPersonality:] + 188
In my today extension, in viewDidLoad, it will get the user's current location, and then make a network request to fetch data about that location. Is this happening because my operation is taking too long and iOS is killing my extension? I haven't been able to reproduce this, but I think what user's see is a blank space where the extension should be or it doesn't show anything but the title of the extension.
Thread : Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x0000000181cc2530 __exceptionPreprocess + 132
1 libobjc.A.dylib 0x0000000192c980e4 objc_exception_throw + 60
2 CoreFoundation 0x0000000181cc23f0 +[NSException raise:format:]
3 Foundation 0x0000000182b6dc34 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 PlugInKit 0x000000018d1c04a0 __35-[PKService unregisterPersonality:]_block_invoke + 488
5 libdispatch.dylib 0x00000001932e9954 _dispatch_client_callout + 16
6 libdispatch.dylib 0x00000001932f31e4 _dispatch_barrier_sync_f_invoke + 76
7 PlugInKit 0x000000018d1c024c -[PKService unregisterPersonality:] + 188
8 PlugInKit 0x000000018d1bdfec -[PKServicePersonality shutdownPlugIn] + 108
9 CoreFoundation 0x0000000181cc8350 __invoking___ + 144
10 CoreFoundation 0x0000000181bc621c -[NSInvocation invoke] + 296
11 Foundation 0x0000000182c9d33c __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 24
12 Foundation 0x0000000182b4b8c8 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1604
13 Foundation 0x0000000182accbd4 message_handler + 708
14 libxpc.dylib 0x00000001934f0c78 _xpc_connection_call_event_handler + 68
15 libxpc.dylib 0x00000001934eeb7c _xpc_connection_mach_event + 2160
16 libdispatch.dylib 0x00000001932e9a28 _dispatch_client_callout4 + 16
17 libdispatch.dylib 0x00000001932ed140 _dispatch_mach_msg_invoke + 492
18 libdispatch.dylib 0x00000001932f42d4 _dispatch_queue_drain + 2008
19 libdispatch.dylib 0x00000001932ec668 _dispatch_mach_invoke + 136
20 libdispatch.dylib 0x00000001932f42d4 _dispatch_queue_drain + 2008
21 libdispatch.dylib 0x00000001932eca5c _dispatch_queue_invoke + 132
22 libdispatch.dylib 0x00000001932f6318 _dispatch_root_queue_drain + 720
23 libdispatch.dylib 0x00000001932f7c4c _dispatch_worker_thread3 + 108
24 libsystem_pthread.dylib 0x00000001934c922c _pthread_wqthread + 816
25 libsystem_pthread.dylib 0x00000001934c8ef0 start_wqthread + 4
Thread : Crashed: service sync
0 libsystem_kernel.dylib 0x000000019342f270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001934cd170 pthread_kill + 112
2 libsystem_c.dylib 0x00000001933a6b18 abort + 112
3 libc++abi.dylib 0x0000000192465418 __cxa_bad_cast
4 libc++abi.dylib 0x0000000192484b8c default_unexpected_handler()
5 libobjc.A.dylib 0x0000000192c983c0 _objc_terminate() + 128
6 libc++abi.dylib 0x0000000192481bb4 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x0000000192481c24 std::terminate() + 64
8 libobjc.A.dylib 0x0000000192c98318 _destroyAltHandlerList
9 libdispatch.dylib 0x00000001932e9968 _dispatch_client_callout + 36
10 libdispatch.dylib 0x00000001932f31e4 _dispatch_barrier_sync_f_invoke + 76
11 PlugInKit 0x000000018d1c024c -[PKService unregisterPersonality:] + 188
12 PlugInKit 0x000000018d1bdfec -[PKServicePersonality shutdownPlugIn] + 108
13 CoreFoundation 0x0000000181cc8350 __invoking___ + 144
14 CoreFoundation 0x0000000181bc621c -[NSInvocation invoke] + 296
15 Foundation 0x0000000182c9d33c __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 24
16 Foundation 0x0000000182b4b8c8 -[NSXPCConnection _decodeAndInvokeMessageWithData:] + 1604
17 Foundation 0x0000000182accbd4 message_handler + 708
18 libxpc.dylib 0x00000001934f0c78 _xpc_connection_call_event_handler + 68
19 libxpc.dylib 0x00000001934eeb7c _xpc_connection_mach_event + 2160
20 libdispatch.dylib 0x00000001932e9a28 _dispatch_client_callout4 + 16
21 libdispatch.dylib 0x00000001932ed140 _dispatch_mach_msg_invoke + 492
22 libdispatch.dylib 0x00000001932f42d4 _dispatch_queue_drain + 2008
23 libdispatch.dylib 0x00000001932ec668 _dispatch_mach_invoke + 136
24 libdispatch.dylib 0x00000001932f42d4 _dispatch_queue_drain + 2008
25 libdispatch.dylib 0x00000001932eca5c _dispatch_queue_invoke + 132
26 libdispatch.dylib 0x00000001932f6318 _dispatch_root_queue_drain + 720
27 libdispatch.dylib 0x00000001932f7c4c _dispatch_worker_thread3 + 108
28 libsystem_pthread.dylib 0x00000001934c922c _pthread_wqthread + 816
My main thread (did not crash here though):
Thread : com.apple.main-thread
0 TodayExtension 0x00000001000ae370 -[TodayViewController normalView] (TodayViewController.m:32)
1 TodayExtension 0x00000001000adf58 __36-[TodayViewController showErrorView]_block_invoke (TodayViewController.m:173)
2 libdispatch.dylib 0x00000001932e9994 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x00000001932e9954 _dispatch_client_callout + 16
4 libdispatch.dylib 0x00000001932ee20c _dispatch_main_queue_callback_4CF + 1608
5 CoreFoundation 0x0000000181c7a2ec __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
6 CoreFoundation 0x0000000181c78394 __CFRunLoopRun + 1492
7 CoreFoundation 0x0000000181ba51f4 CFRunLoopRunSpecific + 396
8 GraphicsServices 0x000000018afc76fc GSEventRunModal + 168
9 UIKit 0x000000018653610c UIApplicationMain + 1488
10 libxpc.dylib 0x00000001934fc250 _xpc_objc_main + 768
11 libxpc.dylib 0x00000001934fdf38 xpc_main + 200
12 Foundation 0x0000000182ca1818 service_connection_handler
13 PlugInKit 0x000000018d1be910 -[PKService run] + 600
14 PlugInKit 0x000000018d1be548 +[PKService main] + 64
15 PlugInKit 0x000000018d1be938 +[PKService _defaultRun:arguments:] + 24
16 libextension.dylib 0x00000001924f9960 NSExtensionMain + 68
17 libdyld.dylib 0x0000000193316a08 start + 4
I see exactly the same thing on Crashlytics.
According to Apple this crash is a known bug in iOS 8 (including the 8.3 beta). The crash only occurs when the extension is shutting down, which means that the user doesn't see the extension crash.
So the only thing we can do right now is ignoring this crash
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
After I use flurry to collect the crash reports in my app, I found a lot of crash like this:
0 libobjc.A.dylib 0x3340d6ba _objc_retain + 9
1 libsystem_network.dylib 0x33a8a32b <redacted> + 1402
2 libsystem_dnssd.dylib 0x33a07a81 <redacted> + 308
3 libsystem_dnssd.dylib 0x33a065bb _DNSServiceProcessResult + 550
4 libdispatch.dylib 0x33964253 <redacted> + 626
5 libdispatch.dylib 0x339553f9 <redacted> + 212
6 libdispatch.dylib 0x3395b48f <redacted> + 502
7 libdispatch.dylib 0x3395609d <redacted> + 84
8 libdispatch.dylib 0x3395cba1 <redacted> + 320
9 libdispatch.dylib 0x3395dcd7 <redacted> + 94
10 libsystem_pthread.dylib 0x33ab4e31 __pthread_wqthread + 668
11 libsystem_pthread.dylib 0x33ab4b84 _start_wqthread + 8
and another crash:
0 CoreFoundation 0x2dde782e _CFArrayGetCount + 5
1 WebCore 0x3610dddd -[WAKView subviews] + 36
2 WebCore 0x3610dd99 -[WAKView viewWillDraw] + 20
3 WebCore 0x3610dc85 <redacted> + 64
4 QuartzCore 0x30348e3b <redacted> + 350
5 QuartzCore 0x30348ccd <redacted> + 16
6 QuartzCore 0x303486df <redacted> + 230
7 QuartzCore 0x303484ef <redacted> + 314
8 UIKit 0x306c842b <redacted> + 126
9 CoreFoundation 0x2de7f2a5 <redacted> + 20
10 CoreFoundation 0x2de7cc49 <redacted> + 284
11 CoreFoundation 0x2de7cf8b <redacted> + 730
12 CoreFoundation 0x2dde7f4f _CFRunLoopRunSpecific + 522
13 CoreFoundation 0x2dde7d33 _CFRunLoopRunInMode + 106
14 GraphicsServices 0x32d40663 _GSEventRunModal + 138
15 UIKit 0x3073316d _UIApplicationMain + 1136
What's the root cause for them? I had google a lot about them, but I can't found any useful about them.