WidgetKit Strange Crash

I've noticed a lot of WidgetKit crashes in Organizer's Crashes.
But there is no useful information in the stack.

Code Block language
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000018bd394d4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [19271]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 WidgetKit 0x000000018bd394d4 specialized closure #2 in WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) + 1332 (WidgetExtensionContext.swift:263)
1 WidgetKit 0x000000018bd3904c specialized closure #2 in WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) + 172 (WidgetExtensionContext.swift:263)
2 WidgetKit 0x000000018bd36854 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
3 libdispatch.dylib 0x000000018589d298 _dispatch_call_block_and_release + 24 (init.c:1454)
4 libdispatch.dylib 0x000000018589e280 _dispatch_client_callout + 16 (object.m:559)
5 libdispatch.dylib 0x00000001858805b8 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 856 (inline_internal.h:2548)
6 CoreFoundation 0x0000000185be4c30 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 (CFRunLoop.c:1790)
7 CoreFoundation 0x0000000185bdf0e8 CFRunLoopRun + 2480 (CFRunLoop.c:3118)
8 CoreFoundation 0x0000000185bde200 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242)
9 Foundation 0x0000000186de8278 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374)
10 Foundation 0x0000000186e193e4 -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:399)
11 libxpc.dylib 0x00000001cb5704f0 _xpc_objc_main + 684 (main.m:265)
12 libxpc.dylib 0x00000001cb5726e0 xpc_main + 176 (init.c:1198)
13 Foundation 0x0000000186e1b5f8 -[NSXPCListener resume] + 300 (NSXPCListener.m:448)
14 PlugInKit 0x00000001b2f5daa8 -[PKService run] + 396 (PKService.m:186)
15 PlugInKit 0x00000001b2f5d718 +[PKService main] + 572 (PKService.m:115)
16 PlugInKit 0x00000001b2f5dea0 +[PKService _defaultRun:arguments:] + 20 (PKService.m:233)
17 ExtensionKit 0x0000000189eff4e0 EXExtensionMain + 80 (EXExtensionMain.m:23)
18 Foundation 0x0000000186f5695c NSExtensionMain + 192 (NSExtensionMain.m:13)
19 libdyld.dylib 0x00000001858bd598 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001b05b88c4 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b05b7cc8 mach_msg + 72 (mach_msg.c:103)
2 libdispatch.dylib 0x00000001858a0bb8 _dispatch_send_wakeup_runloop_thread + 68 (protocolUser.c:533)
3 libdispatch.dylib 0x000000018587f920 _dispatch_runloop_queue_poke + 256 (queue.c:7229)
4 libswiftDispatch.dylib 0x0000000199efe358 OS_dispatch_queue.async(group:qos:flags:execute:) + 156 (DispatchOverlayShims.h:157)
5 WidgetKit 0x000000018bd4095c specialized WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) + 2040 (WidgetExtensionContext.swift:262)
6 WidgetKit 0x000000018bd3a120 @objc WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) + 132 (<compiler-generated>:0)
7 CoreFoundation 0x0000000185c69870 invoking_ + 144
8 CoreFoundation 0x0000000185b4cfd0 -[NSInvocation invoke] + 300 (NSForwarding.m:3389)
9 Foundation 0x0000000186fedd24 NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 20 (NSXPCConnection.m:252)
10 Foundation 0x0000000186e2b87c -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 1308 (NSXPCConnection.m:776)
11 Foundation 0x0000000186fede78 message_handler + 224 (NSXPCConnection.m:866)
12 libxpc.dylib 0x00000001cb568454 _xpc_connection_call_event_handler + 68 (connection.c:0)
13 libxpc.dylib 0x00000001cb5687d0 _xpc_connection_mach_event + 880 (connection.c:1218)
14 libdispatch.dylib 0x000000018589e340 _dispatch_client_callout4 + 16 (object.m:599)
15 libdispatch.dylib 0x0000000185872600 _dispatch_mach_msg_invoke$VARIANT$armv81 + 376 (mach.c:2429)
16 libdispatch.dylib 0x000000018587a3c8 _dispatch_lane_serial_drain$VARIANT$armv81 + 260 (inline_internal.h:2589)
17 libdispatch.dylib 0x00000001858731c8 _dispatch_mach_invoke$VARIANT$armv81 + 464 (mach.c:2751)
18 libdispatch.dylib 0x000000018587a3c8 _dispatch_lane_serial_drain$VARIANT$armv81 + 260 (inline_internal.h:2589)
19 libdispatch.dylib 0x000000018587b01c _dispatch_lane_invoke$VARIANT$armv81 + 456 (queue.c:3862)
20 libdispatch.dylib 0x0000000185884808 _dispatch_workloop_worker_thread + 692 (queue.c:6590)
21 libsystem_pthread.dylib 0x00000001cb5485a4 _pthread_wqthread + 272 (pthread.c:2193)
22 libsystem_pthread.dylib 0x00000001cb54b874 start_wqthread + 8
Thread 2:
0 libsystem_pthread.dylib 0x00000001cb54b86c start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001cb54b86c start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001cb54b86c start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001cb54b86c start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x00000001cb54b86c start_wqthread + 0


I have the same problem.
Is there a solution?



I have the same problem. Have no idea how to fix it

Code Block #0 (null) in specialized closure #2 in WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) ()
#1 (null) in specialized closure #2 in WidgetExtensionContext.getTimeline(for:into:environment:isPreview:completion:) ()
#2 (null) in thunk for @escaping @callee_guaranteed () -> () ()
#3 (null) in _dispatch_call_block_and_release ()
#4 (null) in _dispatch_client_callout ()
#5 (null) in _dispatch_main_queue_callback_4CF ()
#6 (null) in CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE ()
#7 (null) in __CFRunLoopRun ()
#8 (null) in CFRunLoopRunSpecific ()
#9 (null) in -[NSRunLoop(NSRunLoop) runMode:beforeDate:] ()
#10 (null) in -[NSRunLoop(NSRunLoop) run] ()
#11 (null) in _xpc_objc_main ()
#12 (null) in xpc_main ()
#13 (null) in -[NSXPCListener resume] ()
#14 (null) in -[PKService run] ()
#15 (null) in +[PKService main] ()
#16 (null) in +[PKService _defaultRun:arguments:] ()
#17 (null) in EXExtensionMain ()
#18 (null) in NSExtensionMain ()
#19 (null) in start ()


WidgetKit Strange Crash
 
 
Q