I'm making a CallKit app. Sometimes unknown error occurs.
How can I fix it? Thanks!
Incident Identifier: 4D16A575-5A43-4D1D-8930-2BD80DF87631
Hardware Model: iPhone13,2
Process: MyApp [29598]
Path: /private/var/containers/Bundle/Application/D5E4F26D-B3B6-4144-9F29-32A6B8877637/MyApp.app/MyApp
Identifier: jp.co.selfree.myapp
Version: 1.2.1 (294)
AppStoreTools: 13A1030d
AppVariant: 1:iPhone13,2:15
Beta: YES
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: jp.co.selfree.myapp [2767]
Date/Time: 2021-10-28 16:50:50.7085 +0900
Launch Time: 2021-10-28 16:50:43.0781 +0900
OS Version: iPhone OS 15.0.2 (19A404)
Release Type: User
Baseband Version: 2.09.10
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter failed with resource shortage
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b75f3564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b75f3bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000180b16698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x0000000180b1a98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x0000000180b2e3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 GraphicsServices 0x000000019c33f38c GSEventRunModal + 164 (GSEvent.c:2200)
6 UIKitCore 0x00000001834d4060 -[UIApplication _run] + 1100 (UIApplication.m:3457)
7 UIKitCore 0x0000000183251b8c UIApplicationMain + 2124 (UIApplication.m:5013)
8 SwiftUI 0x000000018877dd90 closure #1 in KitRendererCommon(_:) + 164 (UIKitApp.swift:35)
9 SwiftUI 0x00000001886aaebc runApp<A>(_:) + 252 (<compiler-generated>:0)
10 SwiftUI 0x000000018868c278 static App.main() + 128 (App.swift:114)
11 MyApp 0x0000000102e457e0 $main + 28 (<compiler-generated>:3)
12 MyApp 0x0000000102e457e0 main + 40 (KeyChain.swift:0)
13 dyld 0x0000000102f9da24 start + 520 (dyldMain.cpp:876)
Thread 1:
0 libsystem_pthread.dylib 0x00000001f0fe4f48 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001f0fe4f48 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001f0fe4f48 start_wqthread + 0
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001b75f3564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b75f3bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000180b16698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x0000000180b1a98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x0000000180b2e3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x0000000182351d54 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 Foundation 0x00000001823936a8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7 UIKitCore 0x000000018344d020 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8 Foundation 0x00000001823a195c __NSThread__start__ + 792 (NSThread.m:915)
9 libsystem_pthread.dylib 0x00000001f0fe5a60 _pthread_start + 148 (pthread.c:890)
10 libsystem_pthread.dylib 0x00000001f0fe4f5c thread_start + 8
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x00000001b75f3564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b75f3bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000180b16698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x0000000180b1a98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x0000000180b2e3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 AudioSession 0x0000000189e95308 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
6 AudioSession 0x0000000189e9ed64 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7 libsystem_pthread.dylib 0x00000001f0fe5a60 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0fe4f5c thread_start + 8
No thread state (register information) available
Binary Images:
0x102e40000 - 0x102ea7fff MyApp arm64 <702c387e048233f8a54903572766a1df> /private/var/containers/Bundle/Application/D5E4F26D-B3B6-4144-9F29-32A6B8877637/MyApp.app/MyApp
0x102f84000 - 0x102fdbfff dyld arm64e <d48c31ee061f370ba6f78391a1b53ed8> /usr/lib/dyld
0x180b0f000 - 0x180f62fff CoreFoundation arm64e <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x182339000 - 0x18263dfff Foundation arm64e <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation
0x182fb9000 - 0x18483bfff UIKitCore arm64e <c46a087ae13a3aeda8a1d4cc4ac9948a> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x18853f000 - 0x18955ffff SwiftUI arm64e <6d99bb3b20803dbbaecf604b49eb822d> /System/Library/Frameworks/SwiftUI.framework/SwiftUI
0x189e8f000 - 0x189eb8fff AudioSession arm64e <abd54d35666937df90b922ddf1183098> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x19c33e000 - 0x19c346fff GraphicsServices arm64e <0f7424f6bde5311aa3fac0e0c4c28d72> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b75f2000 - 0x1b7625fff libsystem_kernel.dylib arm64e <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib
0x1f0fe4000 - 0x1f0feffff libsystem_pthread.dylib arm64e <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib
EOF