_MPRemoteCommandEventDispatch crashes on iOS 26.x devices.

I'm seeing crashes in _MPRemoteCommandEventDispatch on iOS 26.x devices in 3 apps. According to Bugsnag logs they are:

NSInternalInconsistencyException: event dispatch <_MPRemoteCommandEventDispatch: <MPRemoteCommandEvent: 0x11c049500 commandID=THV0 command=<MPRemoteCommand: 0x109ad1ea0 type=Play (0) enabled=YES handlers=[0x109b6a310]> sourceID=(null) ([HostedRoutingSessionDataSource] handleControlSendingCommand<2W5E>)> state:201> deallocated without calling continuation

I attached a log from Xcode organizer matching Bugsnag crash.

When I set the brakpoint on the -[_MPRemoteCommandEventDispatch dealloc] I can see it it's hit every time I tap play or pause on locked screen play button.

Thread 0 Crashed:
0   libsystem_kernel.dylib        	0x00000002370420cc __pthread_kill + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001e975c810 pthread_kill + 268 (pthread.c:1721)
2   libsystem_c.dylib             	0x0000000198f8ff64 abort + 124 (abort.c:122)
3   libc++abi.dylib               	0x000000018a7cf808 __abort_message + 132 (abort_message.cpp:66)
4   libc++abi.dylib               	0x000000018a7be484 demangling_terminate_handler() + 304 (cxa_default_handlers.cpp:76)
5   libobjc.A.dylib               	0x000000018a6cff78 _objc_terminate() + 156 (objc-exception.mm:496)
6   xxxxxxxxxxxxxx               	0x00000001003a7db8 CPPExceptionTerminate() + 416 (BSG_KSCrashSentry_CPPException.mm:156)
7   libc++abi.dylib               	0x000000018a7cebdc std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
8   libc++abi.dylib               	0x000000018a7ceb80 std::terminate() + 108 (cxa_handlers.cpp:88)
9   CoreFoundation                	0x000000018d7341c4 __CFRunLoopPerCalloutARPEnd + 256 (CFRunLoop.c:769)
10  CoreFoundation                	0x000000018d70bb5c __CFRunLoopRun + 1976 (CFRunLoop.c:3179)
11  CoreFoundation                	0x000000018d70aa6c _CFRunLoopRunSpecificWithOptions + 532 (CFRunLoop.c:3462)
12  GraphicsServices              	0x000000022e31c498 GSEventRunModal + 120 (GSEvent.c:2049)
13  UIKitCore                     	0x00000001930ceba4 -[UIApplication _run] + 792 (UIApplication.m:3902)
14  UIKitCore                     	0x0000000193077a78 UIApplicationMain + 336 (UIApplication.m:5577)
15  xxxxxxxxxxxxxx               	0x00000001000c0134 main + 308 (main.swift:15)
16  dyld                          	0x000000018a722e28 start + 7116 (dyldMain.cpp:1477)

Is the crash happening when the app is being terminated? Thank you!

same problem

same problem

Hello @Highmore and @John24,

Could you please attach a JSON version of any crash reports (.ips) to your thread? Please see Acquiring crash reports and diagnostic logs for details.

Alternatively, you could also open a Bug Report via Feedback Assistant and attach a sysdiagnose log there. Bug Reports allow you to upload artifacts with private information if necessary, and provide you with feedback status updates as progress is made on issues.

Once you open the bug report, please post the FB number here for my reference.

If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why?

Let me know if you'd like to know more,

Richard Yeh  Developer Technical Support

The same problem on Xcode 26.3

NSInternalInconsistencyException event dispatch <_MPRemoteCommandEventDispatch: <MPRemoteCommandEvent: 0x1305584e0 commandID=0DFE0944-77A1-4FCA-89ED-F82DA8F3C0B2 command=<MPRemoteCommand: 0x11a96ecb0 type=Play (0) enabled=YES handlers=[0x11ba2bde0]> sourceID=SenderDevice = <iPhone>, SenderBundleIdentifier = <com.apple.MediaRemoteUI>, SenderPID = <9154> ((null))> state:201> deallocated without calling continuation
userInfo: {
    NSAssertFile = "_MPRemoteCommandEventDispatch.m";
    NSAssertLine = 39;
}

Crashed: Thread
0  CoreFoundation    __exceptionPreprocess + 164
1  libobjc.A.dylib   objc_exception_throw + 88
2  Foundation        _userInfoForFileAndLine + 0
3  MediaPlayer       -[_MPRemoteCommandEventDispatch dealloc] + 144
4  CoreFoundation    -[__NSArrayI_Transfer dealloc] + 84
5  libobjc.A.dylib   AutoreleasePoolPage::releaseUntil(objc_object**) + 204
6  libobjc.A.dylib   objc_autoreleasePoolPop + 244
7  CoreFoundation    _CFAutoreleasePoolPop + 32
8  CoreFoundation    __CFRunLoopPerCalloutARPEnd + 48
9  CoreFoundation    __CFRunLoopRun + 1976
10 CoreFoundation    _CFRunLoopRunSpecificWithOptions + 532
11 GraphicsServices  GSEventRunModal + 120
12 UIKitCore         -[UIApplication _run] + 792
13 UIKitCore         UIApplicationMain + 336
14 MyApp             static AppLauncher.launch(appDelegateClass:) + 156 (AppLauncher.swift:9)
15 MyApp             main + 16 (main.swift:17)
16 (Missing)         (Missing)
_MPRemoteCommandEventDispatch crashes on iOS 26.x devices.
 
 
Q