MRAVOutputContext crash ios 11 beta - ios

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

Related

Fatal Exception: NSInternalInconsistencyException Crash on iOS

Been trying to recreate and research about this issue for days now and I'm not going anywhere. Here's the stack trace. Can anyone shed light on to what's happening? I take that it has something to do with remote notifications. The issue started a while back when I installed the firebase sdk. Back then it wasn't a lot but now, crashes seem to happen more often than usual.
Fatal Exception: NSInternalInconsistencyException
this request has been neutered - you can't call -sendResponse: twice nor after encoding it
+[_CFXNotificationTokenRegistration keyCallbacks]
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x1c2726ab8 __exceptionPreprocess
1 libobjc.A.dylib 0x1c192bd00 objc_exception_throw
2 CoreFoundation 0x1c263be90 +[_CFXNotificationTokenRegistration keyCallbacks]
3 Foundation 0x1c3117cfc -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 BaseBoard 0x1c4f2e664 __40-[BSAction sendResponse:withCompletion:]_block_invoke
5 libdispatch.dylib 0x1c2135888 _dispatch_client_callout
6 libdispatch.dylib 0x1c2142404 _dispatch_lane_barrier_sync_invoke_and_complete
7 BaseBoard 0x1c4ee2b84 -[BSAction sendResponse:withCompletion:]
8 UIKitCore 0x1ef72bf84 -[UIHandleRemoteNotificationAction sendResponse:]
9 UIKitCore 0x1efb69028 __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_3.2678
10 UIKitCore 0x1efb69b4c __125-[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:canvas:]_block_invoke_2
11 libdispatch.dylib 0x1c2134308 _dispatch_call_block_and_release
12 libdispatch.dylib 0x1c2135888 _dispatch_client_callout
13 libdispatch.dylib 0x1c214173c _dispatch_main_queue_callback_4CF
14 CoreFoundation 0x1c26b6734 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
15 CoreFoundation 0x1c26b13e4 __CFRunLoopRun
16 CoreFoundation 0x1c26b0964 CFRunLoopRunSpecific
17 GraphicsServices 0x1c48f1d8c GSEventRunModal
18 UIKitCore 0x1efb51758 UIApplicationMain
19 XXXX 0x1023e1480 main + 26 (AppDelegate.swift:26)
20 libdyld.dylib 0x1c216cfd8 start
Crashed: com.twitter.crashlytics.ios.exception
0 XXXX 0x102692000 CLSProcessRecordAllThreads + 4305018880
1 XXXX 0x1026923e8 CLSProcessRecordAllThreads + 4305019880
2 XXXX 0x102681c60 CLSHandler + 4304952416
3 XXXX 0x102690604 __CLSExceptionRecord_block_invoke + 4305012228
4 libdispatch.dylib 0x1c2135888 _dispatch_client_callout + 20
5 libdispatch.dylib 0x1c2142404 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6 XXXX 0x102690070 CLSExceptionRecord + 4305010800
7 XXXX 0x10268fe9c CLSExceptionRecordNSException + 4305010332
8 XXXX 0x10268fa90 CLSTerminateHandler() + 4305009296
9 libc++abi.dylib 0x1c19209cc std::__terminate(void (*)()) + 20
10 libc++abi.dylib 0x1c1920a40 std::terminate() + 60
11 libobjc.A.dylib 0x1c192c09c _destroyAltHandlerList + 14
12 libdispatch.dylib 0x1c213589c _dispatch_client_callout + 40
13 libdispatch.dylib 0x1c2142404 _dispatch_lane_barrier_sync_invoke_and_complete + 60
14 BaseBoard 0x1c4ee2b84 -[BSAction sendResponse:withCompletion:] + 148
15 UIKitCore 0x1ef72bf84 -[UIHandleRemoteNotificationAction sendResponse:] + 148
16 UIKitCore 0x1efb69028 __91-[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:]_block_invoke_3.2678 + 76
17 UIKitCore 0x1efb69b4c __125-[UIApplication _updateStateRestorationArchiveForBackgroundEvent:saveState:exitIfCouldNotRestoreState:updateSnapshot:canvas:]_block_invoke_2 + 264
18 libdispatch.dylib 0x1c2134308 _dispatch_call_block_and_release + 32
19 libdispatch.dylib 0x1c2135888 _dispatch_client_callout + 20
20 libdispatch.dylib 0x1c214173c _dispatch_main_queue_callback_4CF + 1012
21 CoreFoundation 0x1c26b6734 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
22 CoreFoundation 0x1c26b13e4 __CFRunLoopRun + 1888
23 CoreFoundation 0x1c26b0964 CFRunLoopRunSpecific + 452
24 GraphicsServices 0x1c48f1d8c GSEventRunModal + 108
25 UIKitCore 0x1efb51758 UIApplicationMain + 216
26 XXXX 0x1023e1480 main + 26 (AppDelegate.swift:26)
27 libdyld.dylib 0x1c216cfd8 start + 4

Unknown crash in Fabric [FIRAAlarm cancel]

After I released a new version of my app using XCode8, this crash was reported in Fabric:
#0. Crashed: com.apple.main-thread
0 libdispatch.dylib 0x187c89834 dispatch_source_cancel + 4
1 Appname 0x1003d866c -[FIRAAlarm cancel] + 4298868332
2 Appname 0x1003d8318 -[FIRAAlarm runAfterDelay:withBlock:] + 4298867480
3 Appname 0x1003fc054 -[FIRASessionReporter rescheduleSessionStartTimer] + 4299014228
4 CoreFoundation 0x188d9622c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
5 CoreFoundation 0x188d95930 _CFXRegistrationPost + 400
6 CoreFoundation 0x188d956ac ___CFXNotificationPost_block_invoke + 60
7 CoreFoundation 0x188e04b9c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
8 CoreFoundation 0x188cd7bf4 _CFXNotificationPost + 376
9 Foundation 0x1897de6bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
10 UIKit 0x18ecca284 <redacted> + 1212
11 UIKit 0x18eecdd20 <redacted> + 2744
12 UIKit 0x18eee2080 <redacted> + 48
13 UIKit 0x18eeca8c4 <redacted> + 168
14 FrontBoardServices 0x18a99d8bc <redacted> + 36
15 FrontBoardServices 0x18a99d728 <redacted> + 176
16 FrontBoardServices 0x18a99dad0 <redacted> + 56
17 CoreFoundation 0x188daa278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation 0x188da9bc0 __CFRunLoopDoSources0 + 524
19 CoreFoundation 0x188da77c0 __CFRunLoopRun + 804
20 CoreFoundation 0x188cd6048 CFRunLoopRunSpecific + 444
21 UIKit 0x18ecb05dc <redacted> + 608
22 UIKit 0x18ecab360 UIApplicationMain + 208
23 Appname 0x1000f6724 main (main.m:15)
24 libdispatch.dylib 0x187cb85b8 (Missing)
The crash detail doesn't show any specific file, just this information:
Appname
#CrashNumber-[FIRAAlarm cancel]
Any ideas what this “FIRAAlarm” is?
This is a known Firebase issue and will be fixed in their next release:
https://groups.google.com/forum/#!topic/firebase-talk/W-gPv4tmXpw

Random crash in iOS at AFQueryStringPairsFromKeyAndValue

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

Strange NSInternalInconsistencyException and PKService crash in iOS Today Extension

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

SIGABRT ABORT in QuartzCore

I'm seeing crashlogs being generated containing the following call stack
Thread : Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x38a0a1f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x38a74797 pthread_kill + 58
2 libsystem_c.dylib 0x389bafdd abort + 76
3 libsystem_malloc.dylib 0x38a32d67 free + 382
4 libobjc.A.dylib 0x3844e3ad object_dispose + 20
5 UIKit 0x305511ef -[UIViewAnimationState dealloc] + 174
6 libobjc.A.dylib 0x38456b6b objc_object::sidetable_release(bool) + 174
7 CoreFoundation 0x2dc2d93d CFRelease + 556
8 QuartzCore 0x30195635 CA::release_objects(X::List<void const*>*) + 16
9 QuartzCore 0x3019aad7 -[CAAnimation dealloc] + 54
10 libobjc.A.dylib 0x38456b6b objc_object::sidetable_release(bool) + 174
11 CoreFoundation 0x2dc2d93d CFRelease + 556
12 QuartzCore 0x3019d117 CA::Layer::run_animation_callbacks(void*) + 238
13 libdispatch.dylib 0x3892f81f _dispatch_client_callout + 22
14 libdispatch.dylib 0x3893649f _dispatch_main_queue_callback_4CF$VARIANT$mp + 278
15 CoreFoundation 0x2dcc78f1 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation 0x2dcc61c5 __CFRunLoopRun + 1300
17 CoreFoundation 0x2dc30f0f CFRunLoopRunSpecific + 522
18 CoreFoundation 0x2dc30cf3 CFRunLoopRunInMode + 106
19 GraphicsServices 0x32b52663 GSEventRunModal + 138
20 UIKit 0x3057c16d UIApplicationMain + 1136
21 Domino M 0x000c125f main (main.m:14)
Other threads only show the AFNetworking library doing something.
How can I find and fix issues like this (the ones that don't seem to have anything to do with self written code)?

Resources