Post

Replies

Boosts

Views

Activity

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: Exception Type:&#9;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:&#9;0 Thread 0 name: Thread 0 Crashed: 0&#9; WidgetKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001e79e1424 closure #1 in WidgetExtensionContext.getDescriptors(completion:) + 176 (WidgetExtensionContext.swift:88) 1&#9; WidgetKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001e79e13bc closure #1 in WidgetExtensionContext.getDescriptors(completion:) + 72 (WidgetExtensionContext.swift:88) 2&#9; WidgetKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001e79e0844 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0) 3&#9; libdispatch.dylib&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a8235298 _dispatch_call_block_and_release + 24 (init.c:1454) 4&#9; libdispatch.dylib&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a8236280 _dispatch_client_callout + 16 (object.m:559) 5&#9; libdispatch.dylib&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a82185b8 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 856 (inline_internal.h:2548) 6&#9; CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a84f580c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 (CFRunLoop.c:1790) 7&#9; CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a84efcc4 __CFRunLoopRun + 2480 (CFRunLoop.c:3118) 8&#9; CoreFoundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a84eeddc CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 9&#9; Foundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a8884158 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374) 10&#9;Foundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a88b5264 -[NSRunLoop(NSRunLoop) run] + 88 (NSRunLoop.m:399) 11&#9;libxpc.dylib&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a8138748 _xpc_objc_main + 684 (main.m:265) 12&#9;libxpc.dylib&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a813a938 xpc_main + 176 (init.c:1198) 13&#9;Foundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a88b7468 -[NSXPCListener resume] + 300 (NSXPCListener.m:448) 14&#9;PlugInKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001b7829d68 -[PKService run] + 396 (PKService.m:186) 15&#9;PlugInKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001b78299d8 +[PKService main] + 572 (PKService.m:115) 16&#9;PlugInKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001b782a160 +[PKService _defaultRun:arguments:] + 20 (PKService.m:233) 17&#9;ExtensionKit&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001e9cea994 EXExtensionMain + 80 (EXExtensionMain.m:23) 18&#9;Foundation&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a89f1ccc NSExtensionMain + 192 (NSExtensionMain.m:13) 19&#9;libdyld.dylib&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00000001a83845c4 start + 4 Thread 1: 0&#9; libsystem_pthread.dylib&#9;&#9;&#9; 0x00000001a829086c start_wqthread + 0 Thread 2: 0&#9; libsystem_pthread.dylib&#9;&#9;&#9; 0x00000001a829086c start_wqthread + 0 Thread 3: 0&#9; libsystem_pthread.dylib&#9;&#9;&#9; 0x00000001a829086c start_wqthread + 0 Thread 4: 0&#9; libsystem_pthread.dylib&#9;&#9;&#9; 0x00000001a829086c start_wqthread + 0
3
1
845
Dec ’20