iOS14 Widget Crash

I found a lot of widget crashes in the AppStore, looking at the call stack crashes should be in the widget initialization phase, and there is not an execution to the project code, what is the cause of this problem?
The crashing system is iOS14 and iOS14.2
This is a few related crashes:
Code Block language
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001e79e1424
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [318]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 WidgetKit 0x00000001e79e1424 closure #1 in WidgetExtensionContext.getDescriptors(completion:) + 176 (WidgetExtensionContext.swift:88)
1 WidgetKit 0x00000001e79e13bc closure #1 in WidgetExtensionContext.getDescriptors(completion:) + 72 (WidgetExtensionContext.swift:88)
2 WidgetKit 0x00000001e79e0844 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
3 libdispatch.dylib 0x00000001a8235298 _dispatch_call_block_and_release + 24 (init.c:1454)
4 libdispatch.dylib 0x00000001a8236280 _dispatch_client_callout + 16 (object.m:559)
5 libdispatch.dylib 0x00000001a82185b8 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 856 (inline_internal.h:2548)
6 CoreFoundation 0x00000001a84f580c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 (CFRunLoop.c:1790)
7 CoreFoundation 0x00000001a84efcc4 __CFRunLoopRun + 2480 (CFRunLoop.c:3118)
8 CoreFoundation 0x00000001a84eeddc CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
9 Foundation 0x00000001a8884158 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374)
10 Foundation 0x00000001a88b5264 -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:399)
11 libxpc.dylib 0x00000001a8138748 _xpc_objc_main + 684 (main.m:265)
12 libxpc.dylib 0x00000001a813a938 xpc_main + 176 (init.c:1198)
13 Foundation 0x00000001a88b7468 -[NSXPCListener resume] + 300 (NSXPCListener.m:448)
14 PlugInKit 0x00000001b7829d68 -[PKService run] + 396 (PKService.m:186)
15 PlugInKit 0x00000001b78299d8 +[PKService main] + 572 (PKService.m:115)
16 PlugInKit 0x00000001b782a160 +[PKService _defaultRun:arguments:] + 20 (PKService.m:233)
17 ExtensionKit 0x00000001e9cea994 EXExtensionMain + 80 (EXExtensionMain.m:23)
18 Foundation 0x00000001a89f1ccc NSExtensionMain + 192 (NSExtensionMain.m:13)
19 libdyld.dylib 0x00000001a83845c4 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001a829086c start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001a829086c start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001a829086c start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001a829086c start_wqthread + 0



Post not yet marked as solved Up vote post of lisiyuan Down vote post of lisiyuan
828 views

Replies

supplement other crashes:

Code Block language
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 1
Last Exception Backtrace:
0 CoreFoundation 0x199740878 exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x1adc96c50 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x19964795c -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:146)
3 CoreFoundation 0x199743444 _forwarding_ + 1444 (NSForwarding.m:3597)
4 CoreFoundation 0x199745740 _CF_forwarding_prep_0 + 96
5 ExtensionKit 0x19dc84f94 -[EXExtensionContextImplementation _willPerformHostCallback:] + 192 (EXExtensionContext.m:540)
6 ExtensionKit 0x19dc87898 112-[EXConcreteExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 972 (EXConcreteExtensionContextVendor.m:259)
7 libdispatch.dylib 0x19933324c _dispatch_call_block_and_release + 32 (init.c:1454)
8 libdispatch.dylib 0x199334db0 _dispatch_client_callout + 20 (object.m:559)
9 libdispatch.dylib 0x19933c10c _dispatch_lane_serial_drain + 580 (inline_internal.h:2548)
10 libdispatch.dylib 0x19933cc5c _dispatch_lane_invoke + 408 (queue.c:3862)
11 libdispatch.dylib 0x199346d78 _dispatch_workloop_worker_thread + 708 (queue.c:6601)
12 libsystem_pthread.dylib 0x1e2b58804 _pthread_wqthread + 276 (pthread.c:2207)
13 libsystem_pthread.dylib 0x1e2b5f75c start_wqthread + 8
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x00000001c661b2d0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001c661a660 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x00000001996bbc30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3 CoreFoundation 0x00000001996b5c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4 CoreFoundation 0x00000001996b521c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5 Foundation 0x000000019a961df0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374)
6 Foundation 0x000000019a9956bc -[NSRunLoop(NSRunLoop) run] + 92 (NSRunLoop.m:399)
7 libxpc.dylib 0x00000001e2b87c2c _xpc_objc_main + 688 (main.m:265)
8 libxpc.dylib 0x00000001e2b89f48 xpc_main + 180 (init.c:1206)
9 Foundation 0x000000019a997a5c -[NSXPCListener resume] + 340 (NSXPCListener.m:448)
10 PlugInKit 0x00000001c8e2bfc8 -[PKService run] + 424 (PKService.m:186)
11 PlugInKit 0x00000001c8e2bbf0 +[PKService main] + 576 (PKService.m:115)
12 PlugInKit 0x00000001c8e2c3e0 +[PKService _defaultRun:arguments:] + 24 (PKService.m:233)
13 ExtensionKit 0x000000019dc94848 EXExtensionMain + 84 (EXExtensionMain.m:23)
14 Foundation 0x000000019aae6c70 NSExtensionMain + 200 (NSExtensionMain.m:13)
15 libdyld.dylib 0x00000001993756c0 start + 4
Thread 1 name:
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x00000001c663f414 pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e2b57b40 pthread_kill + 272 (pthread.c:1388)
2 libsystem_c.dylib 0x00000001a2a64b74 abort + 104 (abort.c:110)
3 libcabi.dylib 0x00000001add9ccf8 abort_message + 132 (abort_message.cpp:76)
4 libcabi.dylib 0x00000001add8de4c demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:67)
5 libobjc.A.dylib 0x00000001adc96f64 _objc_terminate() + 144 (objc-exception.mm:701)
6 libcabi.dylib 0x00000001add9c0e0 std::terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libcabi.dylib 0x00000001add9c06c std::terminate() + 44 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x0000000199334dc4 _dispatch_client_callout + 40 (object.m:562)
9 libdispatch.dylib 0x000000019933c10c _dispatch_lane_serial_drain + 580 (inline_internal.h:2548)
10 libdispatch.dylib 0x000000019933cc5c _dispatch_lane_invoke + 408 (queue.c:3862)
11 libdispatch.dylib 0x0000000199346d78 _dispatch_workloop_worker_thread + 708 (queue.c:6601)
12 libsystem_pthread.dylib 0x00000001e2b58804 _pthread_wqthread + 276 (pthread.c:2207)
13 libsystem_pthread.dylib 0x00000001e2b5f75c start_wqthread + 8
Thread 2:
0 libsystem_pthread.dylib 0x00000001e2b5f754 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001e2b5f754 start_wqthread + 0


I came across the same crash, stuck in _willPerformHostCallback method

Do you find any solutions regarding these crashes. This crashes are also active if you are using shortcuts in an intent extension