Need Help with iOS 17 Plugin Kit Crash - Stack Traces Included

Hello fellow developers,

I hope you're all doing well. I'm reaching out to this forum today in the hopes of getting some assistance with a rather perplexing issue involving the Plugin Kit crash on iOS 17. I've encountered the following stack traces, which seem to be at the core of the problem:

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: RUNNINGBOARD 0xdead10cc

Triggered by Thread: 0

Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001cea681d8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x00000001cea67f70 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001cea67e88 mach_msg_overwrite + 436 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001cea67cc8 mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x0000000187ec74bc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624) 5 CoreFoundation 0x0000000187ec53b4 __CFRunLoopRun + 1208 (CFRunLoop.c:3007) 6 CoreFoundation 0x0000000187ec4e18 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420) 7 GraphicsServices 0x00000001ca9815ec GSEventRunModal + 164 (GSEvent.c:2196) 8 UIKitCore 0x000000018a2d3350 -[UIApplication _run] + 888 (UIApplication.m:3690) 9 UIKitCore 0x000000018a2d298c UIApplicationMain + 340 (UIApplication.m:5275) 10 libxpc.dylib 0x00000001f10d2fa0 _xpc_objc_uimain + 224 (main.m:187) 11 libxpc.dylib 0x00000001f10d2d9c _xpc_objc_main + 108 (main.m:221) 12 libxpc.dylib 0x00000001f10d518c _xpc_main + 64 (init.c:1273) 13 libxpc.dylib 0x00000001f10d536c xpc_main + 64 (init.c:1356) 14 Foundation 0x0000000186f3f9d8 -[NSXPCListener resume] + 312 (NSXPCListener.m:471) 15 PlugInKit 0x00000001b2efd940 -[PKService run] + 348 (PKService.m:208) 16 PlugInKit 0x00000001b2efd4fc +[PKService main] + 524 (PKService.m:125) 17 PlugInKit 0x00000001b2efdc60 +[PKService _defaultRun:arguments:] + 16 (PKService.m:255) 18 ExtensionFoundation 0x0000000196ce97e8 EXExtensionMain + 288 (EXExtensionMain.m:0) 19 Foundation 0x0000000187592150 NSExtensionMain + 204 (NSExtensionMain.m:21) 20 dyld 0x00000001aa6a7d44 start + 2104 (dyldMain.cpp:1269)

I'm encountering a crash in a custom keyboard app that occurs exclusively on iOS 17 and later versions. Unfortunately, I've been unable to reproduce this issue in a debug build. The crash logs indicate a SIGKILL with termination reason "RUNNINGBOARD 0xdead10cc." Any insights or guidance on debugging this issue would be greatly appreciated.

If anyone has any insights or suggestions on how to troubleshoot and resolve this issue, I would greatly appreciate your input. I've been trying to debug this on my end but have hit a roadblock, and your expertise could be invaluable.

Thank you in advance for your time and assistance!

Post not yet marked as solved Up vote post of Mahesh_waran Down vote post of Mahesh_waran
811 views
  • +1 to this issue. I am working with a couple of different app developers who are getting the same problem.

Add a Comment

Replies

0xdead10cc is your key, and there are probably other key clues in background threads regarding dead file locks, such as threads that are clearly doing file or database work. Please see our crash report documentation for the definition of 0xdead10cc and some things you can do.

  • @edford, thanks for sharing the documentation. We have gone through the docs, suspected some pod dependencies (ex: Firebase), removed the dependencies all together, and the crash still happens on TestFlight. Crashlytics itself does not report the crash either. The app or the keyboard extension do not use any database or CoreData; we are investigating file locks. The other threads on the crash report do not point to our code, similar to this one: https://developer.apple.com/forums/thread/738190

  • Found that after setting system bold on iOS17, a crash must occur every time you enter a new host

Add a Comment

I have same crash in custom keyboard. Did you fix the crash?

I'm encountering this with my photo editing extension, exclusively with iOS 17.0+. This app was last built with the iOS 16 SDK.