Until today was running fine, with and without Xcode. But then I upgraded the device to iOS 14.2 beta and Xcode 12.1 to test some stuff. Then I ran the app with Xcode without problems but when I tried to run it without Xcode attached it simply crashes.
I'm guessing any of my 3rd party libraries might not be compatible with the coming iOS 14.2? But then how do I find which one?
How can I debug this if just happens when the app is not debugging?
Thanks in advance.
Edit: I was able to use Xcode to retrieve this crash log:
Incident Identifier: 457D137B-4C71-4234-B00C-A7FCFB54B83E
CrashReporter Key: 8209fa6a3cb483ad2e2f83c4080e8b5156eec66d Hardware
Model: iPhone11,8 Process: city [744] Path:
/private/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/city
Identifier: com.myapp.app Version: 836 (0.97)
Code Type: ARM-64 (Native) Role: Foreground
Parent Process: launchd [1] Coalition: com.myapp.app
[572]
Date/Time: 2020-11-04 17:38:27.4634 +0100 Launch Time:
2020-11-04 17:38:07.3599 +0100 OS Version: iPhone OS 14.2
(18B91) Release Type: User Baseband Version: 3.01.01 Report
Version: 104
Exception Type: EXC_CRASH (SIGKILL) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY Termination Reason: Namespace SPRINGBOARD, Code
0x8badf00d Termination Description: SPRINGBOARD, <RBSTerminateContext|
domain:10 code:0x8BADF00D explanation:process-launch watchdog
transgression: application<com.myapp.app>:744 exhausted real (wall
clock) time allowance of 20.00 seconds | ProcessVisibility: Foreground
| ProcessState: Running | WatchdogEvent: process-launch |
WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed
total CPU time (seconds): 9.720 (user 9.720, system 0.000), 8% CPU", |
"Elapsed application CPU time (seconds): 0.105, 0% CPU" | )
reportType:CrashLog maxTerminationResistance:Interactive> Triggered by
Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0
Crashed: 0 libsystem_kernel.dylib 0x00000001d217bf5c
__ulock_wait + 8 1 libdispatch.dylib 0x00000001a4e71794 _dlock_wait + 56 2 libdispatch.dylib 0x00000001a4e716c0 _dispatch_once_wait + 124 3 UIKitCore 0x00000001a782c430 -[_UIApplicationConfigurationLoader
_loadInitializationContext] + 152 4 UIKitCore 0x00000001a782c77c -[_UIApplicationConfigurationLoader
applicationInitializationContext] + 32 5 UIKitCore
0x00000001a7813394 -[_UIScreenInitialDisplayConfigurationLoader
initialDisplayContext] + 180 6 UIKitCore
0x00000001a7813680 +[UIScreen initialize] + 128 7 libobjc.A.dylib
0x00000001b97cdc58 CALLING_SOME_+initialize_METHOD + 24 8
libobjc.A.dylib 0x00000001b97d4318
initializeNonMetaClass + 716 9 libobjc.A.dylib
0x00000001b97d5910 initializeAndMaybeRelock+ 39184 (objc_class*,
objc_object*, mutex_tt<false>&, bool) + 280 10 libobjc.A.dylib
0x00000001b97e4498 lookUpImpOrForward + 956 11 libobjc.A.dylib
0x00000001b97ce524 _objc_msgSend_uncached + 68 12 UIKitCore
0x00000001a782cc80 _UIGetCurrentFallbackTraitCollection + 100 13
UIKitCore 0x00000001a78299d8 +[UITraitCollection
_currentTraitCollectionWithFallback:markFallback:] + 176 14 UIKitCore 0x00000001a7831454 _UICurrentImageTraitCollection + 28 15 UIKitCore
0x00000001a78310f4 +[UIImageConfiguration
_completeConfiguration:fromConfiguration:] + 164 16 UIKitCore 0x00000001a77dfad0 +[UIImage imageNamed:inBundle:withConfiguration:]
+ 180 17 UnityFramework 0x00000001059fbb38 +[LUTheme initialize] + 10468152 (LUTheme.m:150) 18 libobjc.A.dylib
0x00000001b97cdc58 CALLING_SOME_+initialize_METHOD + 24 19
libobjc.A.dylib 0x00000001b97d4318
initializeNonMetaClass + 716 20 libobjc.A.dylib
0x00000001b97d5910 initializeAndMaybeRelock+ 39184 (objc_class*,
objc_object*, mutex_tt<false>&, bool) + 280 21 libobjc.A.dylib
0x00000001b97e4498 lookUpImpOrForward + 956 22 libobjc.A.dylib
0x00000001b97ce524 _objc_msgSend_uncached + 68 23 UnityFramework
0x00000001059ddd00 +[LUConsoleLogEntry load] + 10345728
(LUConsoleLogEntry.m:44) 24 libobjc.A.dylib
0x00000001b97dd21c load_images + 928 25 libdyld.dylib
0x00000001a4ec1840 invocation function for block in
dyld3::AllImages::runInitialzersBottomUp+ 71744 (dyld3::closure::Image
const*) + 224 26 libdyld.dylib 0x00000001a4eb318c
dyld3::closure::Image::forEachImageToInitBefore(void + 12684 (unsigned
int, bool&) block_pointer) const + 104 27 libdyld.dylib
0x00000001a4ec2344 dyld3::AllImages::loadImage+ 74564 (Diagnostics&,
char const*, unsigned int, dyld3::closure::DlopenClosure const*, bool,
bool, bool, bool, void const*) + 828 28 libdyld.dylib
0x00000001a4ec1e2c dyld3::AllImages::dlopen+ 73260 (Diagnostics&,
char const*, bool, bool, bool, bool, bool, void const*, bool) + 904 29
libdyld.dylib 0x00000001a4ec3d14
dyld3::dlopen_internal+ 81172 (char const*, int, void*) + 372 30
libdyld.dylib 0x00000001a4eb5d44 dlopen_internal+
23876 (char const*, int, void*) + 112 31 CoreFoundation
0x00000001a51d2124 _CFBundleDlfcnLoadFramework + 140 32
CoreFoundation 0x00000001a51a1e10
_CFBundleLoadExecutableAndReturnError + 384 33 Foundation 0x00000001a64d1908 -[NSBundle loadAndReturnError:] + 336 34 city
0x0000000102533cb0 UnityFrameworkLoad() + 31920 (main.mm:12) 35 city
0x0000000102533db4 main + 32180 (main.mm:25) 36 libdyld.dylib
0x00000001a4eb16c0 start + 4
Thread 1 name: Dispatch queue:
com.apple.uikit.applicationSupportClient Thread 1: 0
libsystem_kernel.dylib 0x00000001d217b204 __psynch_mutexwait +
8 1 libsystem_pthread.dylib 0x00000001ee698214
_pthread_mutex_firstfit_lock_wait + 92 2 libsystem_pthread.dylib 0x00000001ee698164 _pthread_mutex_firstfit_lock_slow + 216 3
libdyld.dylib 0x00000001a4ec3bec
dyld3::dlopen_internal+ 80876 (char const*, int, void*) + 76 4
libdyld.dylib 0x00000001a4eb5d44 dlopen_internal+
23876 (char const*, int, void*) + 112 5 SoftLinking
0x00000001e634bf50 _sl_dlopen_audited + 52 6 BoardServices
0x00000001be0cb160 __getRBSServiceInitializeSymbolLoc_block_invoke +
84 7 BoardServices 0x00000001be0c8720
__34+[BSServiceManager sharedInstance]_block_invoke + 900 8 libdispatch.dylib 0x00000001a4e70db0
_dispatch_client_callout + 20 9 libdispatch.dylib 0x00000001a4e725c8 _dispatch_once_callout + 32 10 BoardServices
0x00000001be0c8398 +[BSServiceManager sharedInstance] + 84 11
BoardServices 0x00000001be0c0924
+[BSServiceConnection _connectionWithEndpoint:clientContextBuilder:] + 324 12 UIKitServices 0x00000001a9276a50
__44-[UISApplicationSupportClient _remoteTarget]_block_invoke + 208 13 libdispatch.dylib 0x00000001a4e70db0
_dispatch_client_callout + 20 14 libdispatch.dylib 0x00000001a4e7f428 _dispatch_lane_barrier_sync_invoke_and_complete +
60 15 UIKitServices 0x00000001a9276938
-[UISApplicationSupportClient _remoteTarget] + 184 16 UIKitServices 0x00000001a9276160 -[UISApplicationSupportClient
applicationInitializationContextWithParameters:] + 196 17 UIKitCore
0x00000001a782c5b0 __63-[_UIApplicationConfigurationLoader
_loadInitializationContext]_block_invoke_2 + 228 18 UIKitCore 0x00000001a782c4c0
__UIAPPLICATION_IS_LOADING_INITIALIZATION_INFO_FROM_THE_SYSTEM__ + 28 19 UIKitCore 0x00000001a782c498
__63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke + 100 20 libdispatch.dylib 0x00000001a4e70db0 _dispatch_client_callout + 20 21
libdispatch.dylib 0x00000001a4e725c8
_dispatch_once_callout + 32 22 UIKitCore 0x00000001a782c430 -[_UIApplicationConfigurationLoader
_loadInitializationContext] + 152 23 UIKitCore 0x00000001a782c740 __70-[_UIApplicationConfigurationLoader
startPreloadInitializationContext]_block_invoke + 28 24
libdispatch.dylib 0x00000001a4e6f24c
_dispatch_call_block_and_release + 32 25 libdispatch.dylib 0x00000001a4e70db0 _dispatch_client_callout + 20 26
libdispatch.dylib 0x00000001a4e81a68
_dispatch_root_queue_drain + 656 27 libdispatch.dylib 0x00000001a4e82120 _dispatch_worker_thread2 + 116 28
libsystem_pthread.dylib 0x00000001ee6947c8 _pthread_wqthread +
216 29 libsystem_pthread.dylib 0x00000001ee69b75c
start_wqthread + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000001801 x3: 0x0000000000000000
x4: 0x00000001a4e861c8 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000023
x8: 0x0000000000001c07 x9: 0x0000000000001800 x10: 0x0000000000000001 x11: 0x000000000000000f x12: 0x0000000000cb4333
x13: 0x0300000204a4a729 x14: 0x0000000000000000 x15:
0x0000000204a4a728 x16: 0x0000000000000203 x17: 0x00000001a782c434
x18: 0x0000000000000000 x19: 0x0000000000000000 x20:
0x0000000204a5bf20 x21: 0x0000000001000002 x22: 0x0000000000001801
x23: 0x0000000000000008 x24: 0x0000000000000008 x25:
0x00000002049efa7c x26: 0x00000001029c39a0 x27: 0x00000002049ef000
x28: 0x00000001fad4b000 fp: 0x000000016d8cd840 lr:
0x00000001a4e71794
sp: 0x000000016d8cd820 pc: 0x00000001d217bf5c cpsr: 0x00000000 esr: 0x56000080 Address size fault
Binary Images: 0x10252c000 - 0x102533fff city arm64
<982dcb0901db3c84a30ab03723b50e64>
/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/city
0x102918000 - 0x102987fff dyld arm64e
<a5f65ef3bd32370b9821b3e9cda294d2> /usr/lib/dyld 0x105000000 -
0x109c5ffff UnityFramework arm64 <e59b3708514d3bbab0f36aa67ddd48c2>
/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/Frameworks/UnityFramework.framework/UnityFramework
0x1a4e6d000 - 0x1a4eaffff libdispatch.dylib arm64e
<3277bf1eb99436099b30e0186bbf3c25> /usr/lib/system/libdispatch.dylib
0x1a4eb0000 - 0x1a4eeafff libdyld.dylib arm64e
<ba60cb9e95c53646beedd313e15586cf> /usr/lib/system/libdyld.dylib
0x1a4eeb000 - 0x1a5156fff libicucore.A.dylib arm64e
<844c0712322438dcb019d7d4bbbddf17> /usr/lib/libicucore.A.dylib
0x1a5157000 - 0x1a5510fff CoreFoundation arm64e
<af3f8e01c1303464ad40c5532d273483>
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1a5511000 - 0x1a56bbfff CoreServices arm64e
<f036999028923bd39ccb7d9436a145cb>
/System/Library/Frameworks/CoreServices.framework/CoreServices
0x1a56bc000 - 0x1a5704fff WirelessDiagnostics arm64e
<7bcb1847440837d3ad100dae2432129e>
/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
0x1a5705000 - 0x1a577ffff SystemConfiguration arm64e
<98796725fd6c39b6af67b09485215996>
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x1a5780000 - 0x1a5877fff CoreTelephony arm64e
<1865753878113c668fdce282c9999252>
/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x1a5878000 - 0x1a5d0ffff CFNetwork arm64e
<f8c7b81649ab39479309b8975a7ccea0>
/System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x1a5d10000 -
0x1a641dfff libnetwork.dylib arm64e
<267d1486bbbd34efbc93d51b2460b9e9> /usr/lib/libnetwork.dylib
0x1a641e000 - 0x1a6494fff Accounts arm64e
<6c32f1bd45c730a9b5955eac14fb5142>
/System/Library/Frameworks/Accounts.framework/Accounts 0x1a6495000 -
0x1a6750fff Foundation arm64e <5c24ee4a344736bd99106f4d9616d692>
/System/Library/Frameworks/Foundation.framework/Foundation 0x1a6751000
- 0x1a6ab0fff ImageIO arm64e <ce6bb6d9752139118ba03e6b8b147f40> /System/Library/Frameworks/ImageIO.framework/ImageIO 0x1a6aca000 -
0x1a7062fff CoreGraphics arm64e <5fbf586867c23779be8102182faff4b0>
/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x1a7063000 - 0x1a850efff UIKitCore arm64e
<05147936b8753ef394db9c8869bb0e34>
/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1a850f000 - 0x1a852efff libAccessibility.dylib arm64e
<b88743822b4f3f4ea0ca1408c2a86634> /usr/lib/libAccessibility.dylib
0x1a852f000 - 0x1a87b3fff QuartzCore arm64e
<dc2644e7e5e43d839110a5ae7e2c8b1f>
/System/Library/Frameworks/QuartzCore.framework/QuartzCore 0x1a87b4000
- 0x1a881ffff BackBoardServices arm64e <4827f4d1b8c13c59a7f6d4549556356a>
/System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x1a8820000 - 0x1a88adfff TextInput arm64e
<c1bac3dcbbc138beb86782ab8c97227d>
/System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x1a8917000 - 0x1a8cc1fff AppleMediaServices arm64e
<3793486f3f3b362b89c78990298a1d23>
/System/Library/PrivateFrameworks/AppleMediaServices.framework/AppleMediaServices
0x1a8cc2000 - 0x1a8e3dfff libswiftFoundation.dylib arm64e
<b3a87bce17c73fe1ad8e4f5ac865f27c>
/usr/lib/swift/libswiftFoundation.dylib 0x1a8e3e000 - 0x1a926dfff
libswiftCore.dylib arm64e <bd74e14183993d02bd9d2cab2337e1a0>
/usr/lib/swift/libswiftCore.dylib 0x1a926e000 - 0x1a9284fff
UIKitServices arm64e <4ad58e2b1d973bc38aeaedce472d1cbd>
/System/Library/PrivateFrameworks/UIKitServices.framework/UIKitServices
0x1a9285000 - 0x1a93dcfff Preferences arm64e
<3cd6d9dd89b03d1aa984f3c2ba0228e2>
As the error message tells you, "process-launch watchdog transgression: exhausted real (wall clock) time allowance of 20.00 seconds". Your app is taking too long to launch.
The reason this doesn't happen when launching from Xcode is that the watchdog is turned off under those circumstances. But it is still taking too long to launch, even from Xcode!
The reason for taking so long is that you have misunderstood how to launch. Do not perform tasks during launch (on the main thread). Your job during launch is to get out of the way and let the device launch the app and get it running. The best thing for you to do during launch is nothing. Just stand back.
If you have time-consuming tasks to perform, do them later and on a background thread.
Related
I'm getting reports of a crash in my camera-based app, but it seems to only be happening on iPhone X.
I can't understand why this is happening. The documentation for the function triggering the crash makes no mention of any exceptions that would be thrown and I can't find anything different about the iPhone X's camera compared to other devices. Any help will be appreciated!
This is the relevant code:
guard let camera = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .back) else {
print("no camera")
return nil
}
let deviceInput: AVCaptureDeviceInput
do {
deviceInput = try AVCaptureDeviceInput(device: camera)
session.addInputWithNoConnections(deviceInput)
} catch {
print("no front input: \(error)")
return nil
}
// CRASH HAPPENS HERE
guard let videoPort = deviceInput.ports(for: .video, sourceDeviceType: camera.deviceType, sourceDevicePosition: camera.position).first else {
print("no front camera device input's video port")
return nil
}
This is the symbolicated crash log (CameraManager.addCamera is the function containing the above code and the referenced line (117) is the guard let videoPort = ... crash location pointed out above):
Incident Identifier: ACA6411C-1323-4857-957E-613433C7C2AC
CrashReporter Key: 9898af27a5a7d0054c20dc251e2ccb4ed398b551
Hardware Model: iPhone10,6
Process: Maloufie [869]
Path: /private/var/containers/Bundle/Application/DD268152-6131-4F0A-A895-F3C07ECDF17A/Maloufie.app/Maloufie
Identifier: com.dylan.Maloufie
Version: 1.3 (1)
AppStoreTools: 14A305
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.dylan.Maloufie [766]
Date/Time: 2022-10-17 06:20:19.4589 -0700
Launch Time: 2022-10-17 06:20:19.3621 -0700
OS Version: iPhone OS 16.0.3 (20A392)
Release Type: User
Baseband Version: 5.03.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x1c085adb4 __exceptionPreprocess + 160
1 libobjc.A.dylib 0x1bece59a0 objc_exception_throw + 56
2 AVFCapture 0x1dcd729dc -[AVCaptureFigVideoDevice setExposureMode:] + 0
3 Maloufie 0x1040f85f4 CameraManager.addCamera(_:) + 67060 (CameraManager.swift:117)
4 Maloufie 0x1040f8100 closure #1 in CameraManager.configure() + 65792 (CameraManager.swift:98)
5 Maloufie 0x1040f0a9c thunk for #escaping #callee_guaranteed () -> () + 35484 (<compiler-generated>:0)
6 libdispatch.dylib 0x1cc3f2850 _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x1cc3f37c8 _dispatch_client_callout + 16
8 libdispatch.dylib 0x1cc3ce854 _dispatch_lane_serial_drain$VARIANT$armv81 + 604
9 libdispatch.dylib 0x1cc3cf2e4 _dispatch_lane_invoke$VARIANT$armv81 + 380
10 libdispatch.dylib 0x1cc3d9000 _dispatch_workloop_worker_thread + 612
11 libsystem_pthread.dylib 0x20c90cb50 _pthread_wqthread + 284
12 libsystem_pthread.dylib 0x20c90c67c start_wqthread + 8
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 SwiftUI 0x1c9f7b7d4 0x1c8df5000 + 18376660
1 SwiftUI 0x1c9f75568 0x1c8df5000 + 18351464
2 SwiftUI 0x1c9f7aa64 0x1c8df5000 + 18373220
3 SwiftUI 0x1c8f06e50 0x1c8df5000 + 1121872
4 SwiftUI 0x1c9f74e68 0x1c8df5000 + 18349672
5 SwiftUI 0x1c8dfa078 0x1c8df5000 + 20600
6 SwiftUI 0x1c9aceb70 0x1c8df5000 + 13474672
7 SwiftUI 0x1c9579d44 0x1c8df5000 + 7884100
8 SwiftUI 0x1c8e1e784 0x1c8df5000 + 169860
9 SwiftUI 0x1c8e4de4c 0x1c8df5000 + 364108
10 SwiftUI 0x1c8e2550c 0x1c8df5000 + 197900
11 SwiftUI 0x1c8e4dc44 0x1c8df5000 + 363588
12 SwiftUI 0x1c8e2550c 0x1c8df5000 + 197900
13 SwiftUI 0x1c9ace8c0 0x1c8df5000 + 13473984
14 SwiftUI 0x1c9ace700 0x1c8df5000 + 13473536
15 SwiftUI 0x1c9be1d74 0x1c8df5000 + 14601588
16 SwiftUI 0x1c9423d48 0x1c8df5000 + 6483272
17 SwiftUI 0x1c9425f6c 0x1c8df5000 + 6492012
18 SwiftUI 0x1c8eab868 0x1c8df5000 + 747624
19 SwiftUI 0x1c8fce550 0x1c8df5000 + 1938768
20 UIKitCore 0x1c7769478 +[UIView(Animation) performWithoutAnimation:] + 68
21 SwiftUI 0x1c8e4b8e4 0x1c8df5000 + 354532
22 SwiftUI 0x1c8e0f98c 0x1c8df5000 + 108940
23 SwiftUI 0x1c8ea085c 0x1c8df5000 + 702556
24 SwiftUI 0x1c8e1f644 0x1c8df5000 + 173636
25 SwiftUI 0x1c8e22968 0x1c8df5000 + 186728
26 UIKitCore 0x1c773ea58 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1920
27 QuartzCore 0x1c6c63a60 CA::Layer::layout_if_needed(CA::Transaction*) + 496
28 QuartzCore 0x1c6c764cc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144
29 QuartzCore 0x1c6c870bc CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
30 QuartzCore 0x1c6cbb58c CA::Transaction::commit() + 652
31 UIKitCore 0x1c7b9656c __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 32
32 CoreFoundation 0x1c089162c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
33 CoreFoundation 0x1c08f51a8 __CFRunLoopDoBlocks + 364
34 CoreFoundation 0x1c08c8244 __CFRunLoopRun + 800
35 CoreFoundation 0x1c08ccdfc CFRunLoopRunSpecific + 584
36 GraphicsServices 0x1fa782984 GSEventRunModal + 160
37 UIKitCore 0x1c7ab0e7c -[UIApplication _run] + 868
38 UIKitCore 0x1c7ab0af4 UIApplicationMain + 312
39 SwiftUI 0x1c8f90940 0x1c8df5000 + 1685824
40 SwiftUI 0x1c8f03ba0 0x1c8df5000 + 1108896
41 SwiftUI 0x1c8ef000c 0x1c8df5000 + 1028108
42 Maloufie 0x1040efaf4 main + 31476 (DefaultsStore.swift:0)
43 dyld 0x1e1f8ade0 start + 2080
Thread 1 name: Dispatch queue: com.dylan.SessionQ
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x1fdd4c2f4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x20c918654 pthread_kill + 208
2 libsystem_c.dylib 0x1cc432e9c abort + 124
3 libc++abi.dylib 0x20c852dec abort_message + 128
4 libc++abi.dylib 0x20c84365c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x1beceb1c4 _objc_terminate() + 124
6 libc++abi.dylib 0x20c852288 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x20c852230 std::terminate() + 52
8 libdispatch.dylib 0x1cc3f37dc _dispatch_client_callout + 36
9 libdispatch.dylib 0x1cc3ce854 _dispatch_lane_serial_drain$VARIANT$armv81 + 604
10 libdispatch.dylib 0x1cc3cf2e4 _dispatch_lane_invoke$VARIANT$armv81 + 380
11 libdispatch.dylib 0x1cc3d9000 _dispatch_workloop_worker_thread + 612
12 libsystem_pthread.dylib 0x20c90cb50 _pthread_wqthread + 284
13 libsystem_pthread.dylib 0x20c90c67c start_wqthread + 8
Thread 2:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 5 name: com.apple.uikit.eventfetch-thread
Thread 5:
0 libsystem_kernel.dylib 0x1fdd46194 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1fdd57a08 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x1fdd57c44 mach_msg_overwrite + 384
3 libsystem_kernel.dylib 0x1fdd46688 mach_msg + 20
4 CoreFoundation 0x1c08c7244 __CFRunLoopServiceMachPort + 156
5 CoreFoundation 0x1c08c83f4 __CFRunLoopRun + 1232
6 CoreFoundation 0x1c08ccdfc CFRunLoopRunSpecific + 584
7 Foundation 0x1bfc2f3fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8 Foundation 0x1bfc2f2f8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9 UIKitCore 0x1c7bd56d0 -[UIEventFetcher threadMain] + 424
10 Foundation 0x1bfc46f44 __NSThread__start__ + 704
11 libsystem_pthread.dylib 0x20c90e060 _pthread_start + 116
12 libsystem_pthread.dylib 0x20c90c688 thread_start + 8
Thread 6:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x20c90c674 start_wqthread + 0
Thread 1 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000020c855ea1 x5: 0x000000016bd9e430 x6: 0x000000000000006e x7: 0xffffffff00000400
x8: 0x000000016bd9f000 x9: 0x3c7ae18321bb5c99 x10: 0x0000000000000200 x11: 0x000000000000000b
x12: 0x000000000000000b x13: 0x0000000000000000 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000f0b x21: 0x000000016bd9f0e0 x22: 0x000000016bd9f0e0 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000282d442e8 x26: 0x0000000000000000 x27: 0x0000000000000114
x28: 0x0000000281650a80 fp: 0x000000016bd9e3a0 lr: 0x000000020c918654
sp: 0x000000016bd9e380 pc: 0x00000001fdd4c2f4 cpsr: 0x40000000
far: 0x000000021c514430 esr: 0x56000080 Address size fault
Binary Images:
0x1c8df5000 - 0x1ca2dffff SwiftUI arm64 <03f678aed39a3db88001f994dd375024> /System/Library/Frameworks/SwiftUI.framework/SwiftUI
0x1c773a000 - 0x1c8df4fff UIKitCore arm64 <0a5f2ff1a67f3263bafc1224b1501a17> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1c6c5a000 - 0x1c6f86fff QuartzCore arm64 <27270b31fdb434b8acde7a118d9f3c5b> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x1c0851000 - 0x1c0c1cfff CoreFoundation arm64 <5f4831c9494934eab3733f45c312b753> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1fa781000 - 0x1fa789fff GraphicsServices arm64 <df370b2c9baa33c8ba00b54d2f4538dc> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1040e8000 - 0x1040fffff Maloufie arm64 <b17c7c22b5e639be9a8421e1233c7121> /private/var/containers/Bundle/Application/DD268152-6131-4F0A-A895-F3C07ECDF17A/Maloufie.app/Maloufie
0x1e1f77000 - 0x1e1ff0dcb dyld arm64 <761f47f5a57031c3ac49af3ded335020> /usr/lib/dyld
0x1fdd45000 - 0x1fdd7afef libsystem_kernel.dylib arm64 <146974c516ed354ab334ee8730c3b715> /usr/lib/system/libsystem_kernel.dylib
0x20c90b000 - 0x20c91bfff libsystem_pthread.dylib arm64 <ad80420a2ce3395ebfe7386912138296> /usr/lib/system/libsystem_pthread.dylib
0x1cc413000 - 0x1cc48efff libsystem_c.dylib arm64 <637814c516103a04b2544eb2b26b750b> /usr/lib/system/libsystem_c.dylib
0x20c842000 - 0x20c858ffb libc++abi.dylib arm64 <b2aff428242e3f0e99621ca63ca8fa10> /usr/lib/libc++abi.dylib
0x1becd0000 - 0x1bed0ac9f libobjc.A.dylib arm64 <661c3febed903377864fe35f30e1e644> /usr/lib/libobjc.A.dylib
0x1cc38f000 - 0x1cc412fff libdispatch.dylib arm64 <abe14ca70020314dbba65f92f0bbb1c4> /usr/lib/system/libdispatch.dylib
0x1bfbf1000 - 0x1c049dfff Foundation arm64 <0b0d93617efa31da95246f4a7412b618> /System/Library/Frameworks/Foundation.framework/Foundation
0x1dcd3e000 - 0x1dce30fff AVFCapture arm64 <212ca108e55d3a429861cd676dede25d> /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture
EOF
I am experiencing problem with my swift app, using PushKit / CallKit. It is a pure Swift, Xcode 13.1, testing with iOS 15 and iOS 14.7 (two physical devices) + php backend.
During the tests, I found my app is crashing on voice push receive event, all the time, if it is in background or not started. If it is in foreground, everything works perfectly, all cases and handled, pushes are OK, calls are being reported, app is working as expected. I assume it is because of [PKPushRegistry _terminateAppIfThereAreUnhandledVoIPPushes] + 192. Full crash log you can see below. Reproducing same behaviour with both sandbox (dev build from Xcode) and production (adhoc distribution build) apple APN urls.
My question is: how is it possible my app in foreground works OK (all pushes are reported to CallKit fine), while in the background it is failing to report something? Shouldn't it be all the same logic within one same method, func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: #escaping () -> Void) in my AppDelegate?
Is it the case I have to somehow specifically manage the app start, or enter foreground, when dealing with VoIP push?
I am struggling with it for 5 days already, any help here is highly appreciated!
A bit of a background: it is a WKWebView-based app, the PushKit part of it is about to initiate a video-call with the push send from server (the call itself it 100% running on web page, using Agora engine). The point here is just to let the app know if
call is about to start (e.g. someone is sitting on the web page and calling me)
call is changing it's state (e.g. for ex someone I am calling to had just accepted my call)
call was not answered, or rejected
call is ended (e.g. someone I'm talking to just hung up and left the conversation)
How I am handling it (brief logic description): receiving the push, checking it's payload, depending on it either starting a new call (reporting it to CallKit) or updating a call (I have one already reported to CallKit). Then, depending on the action field I have in my payload json, I am doing a variety of things - like (as said) starting the new call, accepting the call (e.g. move to some specific page in the web view), posting my status back to server, finishing the ongoing call et cetera.
In any case (it is important!) I am reporting ANY push to CallKit as a new call, answered elsewhere, rejected, ended etc.
Absolutely no cases I have where I am not reporting something to CallKit, but the one and only possible case - when the push I received has no field "action" in the payload (e.g. the push came to me is of unknown structure, misformed or corrupted). Now, having said that, I am thinking of also handling this case with CallKit, rejected or whatever alike, but anyway.
Date/Time: 2022-02-20 21:27:33.7032 +0300
Launch Time: 2022-02-20 21:27:33.6191 +0300
OS Version: iPhone OS 15.2.1 (19C63)
Release Type: User
Baseband Version: 2.23.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x180bd50fc __exceptionPreprocess + 220
1 libobjc.A.dylib 0x19940fd64 objc_exception_throw + 60
2 Foundation 0x18248f3ac _userInfoForFileAndLine + 0
3 PushKit 0x1b3a53d80 -[PKPushRegistry _terminateAppIfThereAreUnhandledVoIPPushes] + 192
4 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
5 libdispatch.dylib 0x1808568c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 PushKit 0x1b3a52ee0 __73-[PKPushRegistry voipPayloadReceived:mustPostCall:withCompletionHandler:]_block_invoke + 540
7 libdispatch.dylib 0x180845924 _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
9 libdispatch.dylib 0x180855b70 _dispatch_main_queue_callback_4CF + 944
10 CoreFoundation 0x180b8dd84 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
11 CoreFoundation 0x180b47f5c __CFRunLoopRun + 2540
12 CoreFoundation 0x180b5b468 CFRunLoopRunSpecific + 600
13 GraphicsServices 0x19c6e638c GSEventRunModal + 164
14 UIKitCore 0x1834fd088 -[UIApplication _run] + 1100
15 UIKitCore 0x18327b958 UIApplicationMain + 2092
16 Doctor 0x102eae2c8 main + 25288 (__hidden#331_:18)
17 dyld 0x10315daa4 start + 520
Thread 0 name: Dispatch queue: com.apple.pushkit.ivarqueue
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1b8271964 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1f1ead378 pthread_kill + 268
2 libsystem_c.dylib 0x18ba98f50 abort + 164
3 libc++abi.dylib 0x199517bc4 abort_message + 132
4 libc++abi.dylib 0x199508fd8 demangling_terminate_handler() + 332
5 libobjc.A.dylib 0x199415e34 _objc_terminate() + 144
6 libc++abi.dylib 0x199516f58 std::__terminate(void (*)()) + 20
7 libc++abi.dylib 0x199516ef4 std::terminate() + 64
8 libdispatch.dylib 0x180847684 _dispatch_client_callout + 40
9 libdispatch.dylib 0x1808568c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
10 PushKit 0x1b3a52ee0 __73-[PKPushRegistry voipPayloadReceived:mustPostCall:withCompletionHandler:]_block_invoke + 540
11 libdispatch.dylib 0x180845924 _dispatch_call_block_and_release + 32
12 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
13 libdispatch.dylib 0x180855b70 _dispatch_main_queue_callback_4CF + 944
14 CoreFoundation 0x180b8dd84 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
15 CoreFoundation 0x180b47f5c __CFRunLoopRun + 2540
16 CoreFoundation 0x180b5b468 CFRunLoopRunSpecific + 600
17 GraphicsServices 0x19c6e638c GSEventRunModal + 164
18 UIKitCore 0x1834fd088 -[UIApplication _run] + 1100
19 UIKitCore 0x18327b958 UIApplicationMain + 2092
20 Doctor 0x102eae2c8 main + 25288 (__hidden#331_:18)
21 dyld 0x10315daa4 start + 520
Thread 1 name: Dispatch queue: com.apple.network.connections
Thread 1:
0 libnetwork.dylib 0x18198b820 nw_frame_create + 0
1 libnetwork.dylib 0x18198e778 nw_channel_create_frame + 72
2 libnetwork.dylib 0x1819758b4 nw_channel_create + 1116
3 libnetwork.dylib 0x181996438 nw_channel_create_with_attributes + 288
4 libnetwork.dylib 0x181839340 nw_endpoint_flow_attach_channel_protocol + 1332
5 libnetwork.dylib 0x1819b6df8 nw_endpoint_flow_attach_protocols + 8780
6 libnetwork.dylib 0x181836bc0 nw_endpoint_flow_setup_protocols + 3956
7 libnetwork.dylib 0x18183ae38 nw_endpoint_flow_setup_channel + 1944
8 libnetwork.dylib 0x18183120c -[NWConcrete_nw_endpoint_flow updatePathWithHandler:] + 2340
9 libnetwork.dylib 0x18189539c nw_endpoint_handler_path_change + 1800
10 libnetwork.dylib 0x181afc9cc __nw_endpoint_handler_initialize_association_block_invoke + 156
11 libnetwork.dylib 0x181d0aa6c __nw_association_update_paths_block_invoke.81 + 92
12 libnetwork.dylib 0x1818922e0 nw_hash_table_apply + 168
13 libnetwork.dylib 0x181d0a37c nw_association_update_paths + 488
14 libnetwork.dylib 0x18198d190 nw_path_necp_update_evaluator + 1996
15 libnetwork.dylib 0x18196f340 nw_path_necp_check_for_updates + 876
16 libnetwork.dylib 0x1818dd7b4 nw_path_evaluator_force_update + 128
17 libnetwork.dylib 0x181d0d5b4 nw_association_force_update + 108
18 libnetwork.dylib 0x18183c8b0 nw_endpoint_flow_setup_channel + 8720
19 libnetwork.dylib 0x181832d8c -[NWConcrete_nw_endpoint_flow startWithHandler:] + 3608
20 libnetwork.dylib 0x18189539c nw_endpoint_handler_path_change + 1800
21 libnetwork.dylib 0x1818c2080 nw_endpoint_handler_start + 1096
22 libnetwork.dylib 0x18182e9e0 nw_endpoint_resolver_start_next_child + 4168
23 libdispatch.dylib 0x180845924 _dispatch_call_block_and_release + 32
24 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
25 libdispatch.dylib 0x180850dac _dispatch_workloop_invoke + 2092
26 libdispatch.dylib 0x18085a1b8 _dispatch_workloop_worker_thread + 656
27 libsystem_pthread.dylib 0x1f1ea70f4 _pthread_wqthread + 288
28 libsystem_pthread.dylib 0x1f1ea6e94 start_wqthread + 8
Thread 2:
0 libsystem_pthread.dylib 0x1f1ea6e8c start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x1f1ea6e8c start_wqthread + 0
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x1b826b504 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1b826bb9c mach_msg + 76
2 CoreFoundation 0x180b43738 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x180b47a2c __CFRunLoopRun + 1212
4 CoreFoundation 0x180b5b468 CFRunLoopRunSpecific + 600
5 Foundation 0x182377c94 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6 Foundation 0x1823b8dc8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x183476230 -[UIEventFetcher threadMain] + 524
8 Foundation 0x1823c740c __NSThread__start__ + 808
9 libsystem_pthread.dylib 0x1f1ea79a4 _pthread_start + 148
10 libsystem_pthread.dylib 0x1f1ea6ea0 thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x1f1ea6e8c start_wqthread + 0
Thread 6 name: Dispatch queue: com.apple.coreaudio.ASClientManager
Thread 6:
0 libsystem_kernel.dylib 0x1b826b504 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1b826bb9c mach_msg + 76
2 libdispatch.dylib 0x1808660d0 _dispatch_mach_msg_send + 700
3 libdispatch.dylib 0x18086596c _dispatch_mach_send_drain + 344
4 libdispatch.dylib 0x180861eec _dispatch_mach_send_msg + 364
5 libdispatch.dylib 0x1808621b4 _dispatch_mach_send_and_wait_for_reply + 304
6 libdispatch.dylib 0x18086263c dispatch_mach_send_with_result_and_wait_for_reply + 56
7 libxpc.dylib 0x1f1ecfb9c xpc_connection_send_message_with_reply_sync + 240
8 CoreFoundation 0x180c04cd0 __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke_2 + 40
9 CoreFoundation 0x180bd17a8 -[_CFXPreferences withConnectionForRole:performBlock:] + 52
10 CoreFoundation 0x180bf44cc __104-[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:]_block_invoke + 140
11 CoreFoundation 0x180c0cd60 CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD + 100
12 CoreFoundation 0x180c2b59c -[CFPrefsSearchListSource synchronouslySendDaemonMessage:andAgentMessage:andDirectMessage:replyHandler:] + 332
13 CoreFoundation 0x180b828d4 -[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 232
14 CoreFoundation 0x180b71db4 -[CFPrefsSearchListSource alreadylocked_getDictionary:] + 468
15 CoreFoundation 0x180bd260c -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 172
16 CoreFoundation 0x180c39a08 -[CFPrefsSource copyValueForKey:] + 60
17 CoreFoundation 0x180b73e2c __76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 44
18 CoreFoundation 0x180b933b8 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 404
19 CoreFoundation 0x180b6b3d8 normalizeQuintuplet + 356
20 CoreFoundation 0x180b6445c -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 152
21 CoreFoundation 0x180bc219c -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 168
22 CoreFoundation 0x180b88588 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 128
23 libAudioToolboxUtility.dylib 0x199da3b3c CACFPreferencesGetAppIntegerValue(__CFString const*, __CFString const*, bool*) + 28
24 AudioToolboxCore 0x19399b28c GetMediaServerRPCTimeout() + 112
25 AudioToolbox 0x18b6ec404 invocation function for block in AudioSessionClientManager::Instance() + 172
26 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
27 libdispatch.dylib 0x180848f18 _dispatch_once_callout + 32
28 AudioToolbox 0x18b6ef660 invocation function for block in AudioSessionClientManager::CreatePrimaryClient(__CFRunLoop*, __CFString const*, void (*)(void*, unsigned int), void*) + 564
29 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
30 libdispatch.dylib 0x1808568c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
31 AudioToolbox 0x18b6eea80 AudioSessionClient::InitializeAudioSessionClient(__CFRunLoop*, __CFString const*, void (*)(void*, unsigned int), void*, AudioSessionType, __CFString const*, unsigned int) + 832
32 AudioToolbox 0x18b756d20 AudioSessionCreateSessionWithIdentifier_Priv + 552
33 AudioSession 0x189f6d25c avfaudio::SessionConnector::Connect(AVAudioSession*, applesauce::CF::ObjectRef<__CFRunLoop*>, AudioSessionType, NSString*) + 128
34 AudioSession 0x189f7595c -[AVAudioSession initWithSessionType:identifier:] + 304
35 AudioSession 0x189f6d900 -[AVAudioSession initWithSessionType:] + 28
36 AudioSession 0x189f6bcc0 __32+[AVAudioSession sharedInstance]_block_invoke + 72
37 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
38 libdispatch.dylib 0x180848f18 _dispatch_once_callout + 32
39 AudioSession 0x189f6a0b4 +[AVAudioSession sharedInstance] + 156
40 CallKit 0x1a6761ba8 __42-[CXProvider registerCurrentConfiguration]_block_invoke + 80
41 libdispatch.dylib 0x180845924 _dispatch_call_block_and_release + 32
42 libdispatch.dylib 0x180847670 _dispatch_client_callout + 20
43 libdispatch.dylib 0x18084edf4 _dispatch_lane_serial_drain + 672
44 libdispatch.dylib 0x18084f968 _dispatch_lane_invoke + 392
45 libdispatch.dylib 0x18085a1b8 _dispatch_workloop_worker_thread + 656
46 libsystem_pthread.dylib 0x1f1ea70f4 _pthread_wqthread + 288
47 libsystem_pthread.dylib 0x1f1ea6e94 start_wqthread + 8
Thread 7:
0 libsystem_pthread.dylib 0x1f1ea6e8c start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x1f1ea6e8c start_wqthread + 0
Thread 9 name: AVAudioSession Notify Thread
Thread 9:
0 libsystem_kernel.dylib 0x1b826b504 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1b826bb9c mach_msg + 76
2 CoreFoundation 0x180b43738 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x180b47a2c __CFRunLoopRun + 1212
4 CoreFoundation 0x180b5b468 CFRunLoopRunSpecific + 600
5 AudioSession 0x189f6e308 CADeprecated::GenericRunLoopThread::Entry(void*) + 164
6 AudioSession 0x189f77d64 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92
7 libsystem_pthread.dylib 0x1f1ea79a4 _pthread_start + 148
8 libsystem_pthread.dylib 0x1f1ea6ea0 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000019951b0ad x5: 0x000000016cf562c0 x6: 0x000000000000006e x7: 0x0000000000000a00
x8: 0xdcc6cf154082bb6b x9: 0xdcc6cf144399beeb x10: 0x0000000000000002 x11: 0x000000000000000b
x12: 0x000000009ac20840 x13: 0x000000001ac20800 x14: 0x0000000000000010 x15: 0x0000000000000002
x16: 0x0000000000000148 x17: 0x00000001031b0580 x18: 0x000000013a10b940 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001031b0660 x22: 0x0000000282bf02a0 x23: 0x00000001cb4c4a4f
x24: 0x0000000000000001 x25: 0x00000001deba8d50 x26: 0x00000001b3a55000 x27: 0x000000000000000f
x28: 0x0000000002ffffff fp: 0x000000016cf56230 lr: 0x00000001f1ead378
sp: 0x000000016cf56210 pc: 0x00000001b8271964 cpsr: 0x40001000
far: 0x00000001d79b1d58 esr: 0x56000080 Address size fault
Binary Images:
0x1b826a000 - 0x1b829dfff libsystem_kernel.dylib arm64e <eb3e47f3395335839feefb6cff8a8d7a> /usr/lib/system/libsystem_kernel.dylib
0x1f1ea6000 - 0x1f1eb1fff libsystem_pthread.dylib arm64e <c5c27e9d955739c9b9c65f6e7323ee1c> /usr/lib/system/libsystem_pthread.dylib
0x18ba79000 - 0x18baf7fff libsystem_c.dylib arm64e <f3afe30409793cba8338bebe9722ecd8> /usr/lib/system/libsystem_c.dylib
0x199504000 - 0x19951dfff libc++abi.dylib arm64e <71b1e39fb291315daf46a4343e707387> /usr/lib/libc++abi.dylib
0x1993fa000 - 0x199433fff libobjc.A.dylib arm64e <73e920f0e7ce394197d87a10dd2cd390> /usr/lib/libobjc.A.dylib
0x180843000 - 0x180889fff libdispatch.dylib arm64e <edd169e1d0db3808a19e99c1cd5a1c4c> /usr/lib/system/libdispatch.dylib
0x1b3a4f000 - 0x1b3a57fff PushKit arm64e <9765e782591a3b4e9ab26ed5e69627e8> /System/Library/Frameworks/PushKit.framework/PushKit
0x180b3c000 - 0x180f8ffff CoreFoundation arm64e <16faa70c278c3561859ecec407c2dc7c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x19c6e5000 - 0x19c6edfff GraphicsServices arm64e <064a1bb60e413ad2a402fb563fc141f5> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x182fe3000 - 0x18486dfff UIKitCore arm64e <cd7f7ba2a2c63727aff69baab60cc6ab> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x102ea8000 - 0x102fb3fff Doctor arm64 <4377121914133971bb4c82f325b3422e> /private/var/containers/Bundle/Application/80047B71-5198-40B8-B2C8-D9A66282ED40/Doctor.app/Doctor
0x103144000 - 0x10319bfff dyld arm64e <f94ccc7a6d1a33c7997ff611a6caa7e0> /usr/lib/dyld
0x18181a000 - 0x1822e0fff libnetwork.dylib arm64e <fb6fbf7c88273375a5006d440f277a49> /usr/lib/libnetwork.dylib
0x18235f000 - 0x182665fff Foundation arm64e <9618b2f2a4c23e07b7eed8d9e1bdeaec> /System/Library/Frameworks/Foundation.framework/Foundation
0x1f1ec1000 - 0x1f1ef8fff libxpc.dylib arm64e <4a0071bc1b1f3cbb960272663b72e875> /usr/lib/system/libxpc.dylib
0x199d9f000 - 0x199dd2fff libAudioToolboxUtility.dylib arm64e <670e8c2b1aaf3475a3dc3f64a81c41d0> /usr/lib/libAudioToolboxUtility.dylib
0x19398a000 - 0x193c29fff AudioToolboxCore arm64e <816c256e43313d5891ae7033a41f3790> /System/Library/PrivateFrameworks/AudioToolboxCore.framework/AudioToolboxCore
0x18b5d2000 - 0x18b860fff AudioToolbox arm64e <9dbb456d92123914a2eaa0a78f8df049> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x189f68000 - 0x189f91fff AudioSession arm64e <8fa06a47169f3f56bc5b2ad366ad8f9e> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x1a671e000 - 0x1a679bfff CallKit arm64e <74e4da77df3f30d09305318a76cfab7e> /System/Library/Frameworks/CallKit.framework/CallKit
EOF
Updated: when runnin in Xcode, I can see in the background app is receiving push and is attempting to manage it, sending status post back to server
REQUEST PARAMETERS ["call_id": "1045"]
And immediately after that I got
2022-02-21 08:52:04.259224+0300 Doctor[679:161536] Apps receving VoIP pushes must post an incoming call (via CallKit or IncomingCallNotifications) in the same run loop as pushRegistry:didReceiveIncomingPushWithPayload:forType:[withCompletionHandler:] without delay.
2022-02-21 08:52:04.259413+0300 Doctor[679:161536] *** Assertion failure in -[PKPushRegistry _terminateAppIfThereAreUnhandledVoIPPushes], PKPushRegistry.m:353
2022-02-21 08:52:04.259838+0300 Doctor[679:161536] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.'
*** First throw call stack:
(0x19ef6f25c 0x1b2d04480 0x19ee7cc98 0x1a01b4ef8 0x1c715370c 0x10542132c 0x105430520 0x1c715274c 0x10541fae8 0x10542132c 0x10542f76c 0x19eeee298 0x19eee86f8 0x19eee77d0 0x1b5629570 0x1a18142d0 0x1a181984c 0x1049e8f14 0x19ebc6140)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.'
terminating with uncaught exception of type NSException
It is happening before my func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType, completion: #escaping () -> Void) completes.
When trying to set breakpoint in it, to preciously track the logic, I am receiving Terminated due to signal 9 from debugger immediately I do my first debug step.
Could it be somehow because of threading issue? I am posting my feedback to server with async, so probably it takes too long and the execution of didReceiveIncomingPushWith payload completes before I report my call?
After some struggling, I was able to find the issue.
It was: when the push is received, I am checking for my call id to be valid with backend. It is obviously async, and it takes too long from background to handle, therefore iOS considering my app as "not reported the call in time".
I am not sure how do I manage the situation yet, but as for the issue itself - it is exactly because of my server call. Just commenting it out solved the issue completely.
TWIMC, if you're facing the same - check if you have any calls using async / closures in your PushRegistry didReceiveIncomingPushWith function code. It may help you to sort the issue out.
I've build this app from a no-code platform (appgyver) that I think is using react-native to build the ipa file.
The app crashes as soon as it opens, I retrive the logs from the TestFlight report.
I don't have access at the moment to a MacBook so I can't inspect from Xcode.
Someone can understand what could be the problem from the Exception Backtrace?
Hardware Model: iPhone12,1
Process: RNVApp [6395]
Path: /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
Identifier: ####
Version: 1.0.0 (1.0.0)
AppStoreTools: 13C90b
AppVariant: 1:iPhone12,1:15
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: #### [1754]
Date/Time: 2022-02-11 18:33:05.2037 +0100
Launch Time: 2022-02-11 18:33:04.1752 +0100
OS Version: iPhone OS 15.2.1 (19C63)
Release Type: User
Baseband Version: 3.01.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 5
Last Exception Backtrace:
0 CoreFoundation 0x181ccd0fc __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib 0x19a507d64 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x181dd6564 _CFThrowFormattedException + 116 (CFObject.m:2072)
3 CoreFoundation 0x181dd3c88 -[__NSPlaceholderArray initWithObjects:count:].cold.3 + 52 (NSPlaceholderArray.m:132)
4 CoreFoundation 0x181c55198 -[__NSPlaceholderArray initWithObjects:count:] + 252 (NSPlaceholderArray.m:132)
5 CoreFoundation 0x181c81204 +[NSArray arrayWithObjects:count:] + 48 (NSArray.m:896)
6 DynamicFonts 0x1024c6d38 -[DynamicFonts loadFontWithData:callback:] + 204 (DynamicFonts.m:25)
7 DynamicFonts 0x1024c7358 -[DynamicFonts loadFont:callback:] + 1200 (DynamicFonts.m:93)
8 CoreFoundation 0x181c563a4 __invoking___ + 148
9 CoreFoundation 0x181c73b74 -[NSInvocation invoke] + 468 (NSForwarding.m:3378)
10 CoreFoundation 0x181caa9d4 -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3475)
11 React 0x1028c75c0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
12 React 0x1028c9730 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
13 React 0x1028c94a0 operator() + 44 (RCTNativeModule.mm:75)
14 React 0x1028c94a0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:67)
15 libdispatch.dylib 0x18193d924 _dispatch_call_block_and_release + 32 (init.c:1517)
16 libdispatch.dylib 0x18193f670 _dispatch_client_callout + 20 (object.m:560)
17 libdispatch.dylib 0x181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
18 libdispatch.dylib 0x181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
19 libdispatch.dylib 0x1819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
20 libsystem_pthread.dylib 0x1f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
21 libsystem_pthread.dylib 0x1f26a2e94 start_wqthread + 8
...
Thread 5 name:
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001b9207964 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001f26a9378 pthread_kill + 268 (pthread.c:1668)
2 libsystem_c.dylib 0x000000018cb90f50 abort + 164 (abort.c:118)
3 libc++abi.dylib 0x000000019a60fbc4 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000019a600fd8 demangling_terminate_handler() + 332 (cxa_default_handlers.cpp:71)
5 libobjc.A.dylib 0x000000019a50de34 _objc_terminate() + 144 (objc-exception.mm:701)
6 libc++abi.dylib 0x000000019a60ef58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000019a60eef4 std::terminate() + 64 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x000000018193f684 _dispatch_client_callout + 40 (object.m:563)
9 libdispatch.dylib 0x0000000181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
10 libdispatch.dylib 0x0000000181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
11 libdispatch.dylib 0x00000001819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
12 libsystem_pthread.dylib 0x00000001f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
13 libsystem_pthread.dylib 0x00000001f26a2e94 start_wqthread + 8
...
Thread 5 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000019a6130ad x5: 0x000000016ddde440 x6: 0x000000000000006e x7: 0x0000000000000400
x8: 0xf08495dd375be3e9 x9: 0xf08495dc5a8613e9 x10: 0x0000000000000002 x11: 0x000000000000000b
x12: 0x000000009be1e045 x13: 0x000000001be1e000 x14: 0x0000000000000010 x15: 0x0000000000000002
x16: 0x0000000000000148 x17: 0x000000016dddf000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000004c03 x21: 0x000000016dddf0e0 x22: 0x0000000000000000 x23: 0x000000016dddf0e0
x24: 0x00000002812edee8 x25: 0x00000002829eafc0 x26: 0x0000000000000114 x27: 0x0000000000000000
x28: 0x00000002829eaf80 fp: 0x000000016ddde3b0 lr: 0x00000001f26a9378
sp: 0x000000016ddde390 pc: 0x00000001b9207964 cpsr: 0x40000000
esr: 0x56000080 Address size fault
...
Binary Images:
0x1022d8000 - 0x1022ebfff RNVApp arm64 <cf161f6820e430b78048721048c09503> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
0x1024c0000 - 0x1024c7fff DynamicFonts arm64 <55c2b85377843d2bbe44e845eb249372> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/DynamicFonts.framework/DynamicFonts
0x102564000 - 0x1025bbfff dyld arm64e <f94ccc7a6d1a33c7997ff611a6caa7e0> /usr/lib/dyld
0x10288c000 - 0x10292ffff React arm64 <b68dbcd4aaf43545b8c544c77c022c36> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/React.framework/React
0x18193b000 - 0x181981fff libdispatch.dylib arm64e <edd169e1d0db3808a19e99c1cd5a1c4c> /usr/lib/system/libdispatch.dylib
0x181c34000 - 0x182087fff CoreFoundation arm64e <16faa70c278c3561859ecec407c2dc7c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x182912000 - 0x1833d8fff libnetwork.dylib arm64e <fb6fbf7c88273375a5006d440f277a49> /usr/lib/libnetwork.dylib
0x183457000 - 0x18375dfff Foundation arm64e <9618b2f2a4c23e07b7eed8d9e1bdeaec> /System/Library/Frameworks/Foundation.framework/Foundation
0x183b20000 - 0x1840dafff CoreGraphics arm64e <9b0d65be749036039fb1cc265bac2c3d> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x1840db000 - 0x185965fff UIKitCore arm64e <cd7f7ba2a2c63727aff69baab60cc6ab> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x18598b000 - 0x185c71fff QuartzCore arm64e <0594369d11dd39d9a98174984f490c0c> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18cb71000 - 0x18cbeffff libsystem_c.dylib arm64e <f3afe30409793cba8338bebe9722ecd8> /usr/lib/system/libsystem_c.dylib
0x18cc48000 - 0x18df36fff JavaScriptCore arm64e <76eb30678ea839babee1daf713f7c91f> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x19a4f2000 - 0x19a52bfff libobjc.A.dylib arm64e <73e920f0e7ce394197d87a10dd2cd390> /usr/lib/libobjc.A.dylib
0x19a598000 - 0x19a5fbfff libc++.1.dylib arm64e <80e058ad22ad3b2f9155000fa060690e> /usr/lib/libc++.1.dylib
0x19a5fc000 - 0x19a615fff libc++abi.dylib arm64e <71b1e39fb291315daf46a4343e707387> /usr/lib/libc++abi.dylib
0x19d7dd000 - 0x19d7e5fff GraphicsServices arm64e <064a1bb60e413ad2a402fb563fc141f5> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b9200000 - 0x1b9233fff libsystem_kernel.dylib arm64e <eb3e47f3395335839feefb6cff8a8d7a> /usr/lib/system/libsystem_kernel.dylib
0x1f26a2000 - 0x1f26adfff libsystem_pthread.dylib arm64e <c5c27e9d955739c9b9c65f6e7323ee1c> /usr/lib/system/libsystem_pthread.dylib
I am building for IOS and after 20 days of torture the game is now working. The problem is it only works 50 % of the time. The other 50% it crashes on startup, this is the error that is returning in the device log. Any idea what might bring that ? I deleted facebook, firebase and googlesignin libraries because they didn't want to work at all in the ios build.
What happens is I open the game and i get a black screen for a bit. Then it closes the game and this error returns. On the first build form XCode it works and opens correctly. Any ideas ?
Incident Identifier: 8112E4E8-3C9D-4DE3-A414-1AF905C63A00
CrashReporter Key: cbb6618220f871820f24baa58e3e282b833a7cca
Hardware Model: iPhone9,3
Process: dragononlinemmorpg [559]
Path: /private/var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/dragononlinemmorpg
Identifier: nedi.game.dragononlinemmorpg
Version: 5.2 (5.2)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: nedi.game.dragononlinemmorpg [598]
Date/Time: 2021-01-17 23:01:00.6253 +0200
Launch Time: 2021-01-17 23:00:40.4692 +0200
OS Version: iPhone OS 14.3 (18C66)
Release Type: User
Baseband Version: 5.01.01
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:process-launch watchdog transgression: application<nedi.game.dragononlinemmorpg>:559 exhausted real (wall clock) time allowance of 20.00 seconds | ProcessVisibility: Foreground | ProcessState: Running | WatchdogEvent: process-launch | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 6.820 (user 6.820, system 0.000), 17% CPU", | "Elapsed application CPU time (seconds): 0.171, 0% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive>
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c334d290 __ulock_wait + 8
1 libdispatch.dylib 0x00000001970515a4 _dlock_wait + 52
2 libdispatch.dylib 0x00000001970514e4 _dispatch_once_wait$VARIANT$mp + 112
3 UIKitCore 0x0000000199915fa4 -[_UIApplicationConfigurationLoader _loadInitializationContext] + 120
4 UIKitCore 0x0000000199916270 -[_UIApplicationConfigurationLoader applicationInitializationContext] + 28
5 UIKitCore 0x00000001998fe9a8 -[_UIScreenInitialDisplayConfigurationLoader initialDisplayContext] + 176
6 UIKitCore 0x00000001998fec84 +[UIScreen initialize] + 124
7 libobjc.A.dylib 0x00000001ab7da064 CALLING_SOME_+initialize_METHOD + 20
8 libobjc.A.dylib 0x00000001ab7e00b0 initializeNonMetaClass + 712
9 libobjc.A.dylib 0x00000001ab7e1410 initializeAndMaybeRelock+ 37904 (objc_class*, objc_object*, mutex_tt<false>&, bool) + 300
10 libobjc.A.dylib 0x00000001ab7ef52c lookUpImpOrForward + 856
11 libobjc.A.dylib 0x00000001ab7da820 _objc_msgSend_uncached + 64
12 UIKitCore 0x0000000199916764 _UIGetCurrentFallbackTraitCollection + 96
13 UIKitCore 0x000000019a1b7f18 UIViewCommonInitWithFrame + 580
14 UIKitCore 0x000000019a1b7c7c -[UIView initWithFrame:] + 124
15 WebKit 0x00000001a30db4c4 -[WKWebView initWithFrame:configuration:] + 48
16 WebKit 0x00000001a30e2e94 -[WKWebView initWithFrame:] + 92
17 UnityFramework 0x0000000107f887b4 +[UniWebView load] + 24676276 (UniWebView.m:125)
18 libobjc.A.dylib 0x00000001ab7e825c load_images + 944
19 libdyld.dylib 0x00000001970dc0f4 invocation function for block in dyld3::AllImages::runInitialzersBottomUp+ 65780 (dyld3::closure::Image const*) + 220
20 libdyld.dylib 0x00000001970cee4c dyld3::closure::Image::forEachImageToInitBefore(void + 11852 (unsigned int, bool&) block_pointer) const + 92
21 libdyld.dylib 0x00000001970dcb28 dyld3::AllImages::loadImage+ 68392 (Diagnostics&, char const*, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool, void const*) + 776
22 libdyld.dylib 0x00000001970dc678 dyld3::AllImages::dlopen+ 67192 (Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*, bool) + 872
23 libdyld.dylib 0x00000001970de294 dyld3::dlopen_internal+ 74388 (char const*, int, void*) + 368
24 libdyld.dylib 0x00000001970d1590 dlopen_internal+ 21904 (char const*, int, void*) + 108
25 CoreFoundation 0x00000001973d1048 _CFBundleDlfcnLoadFramework + 136
26 CoreFoundation 0x00000001973a2984 _CFBundleLoadExecutableAndReturnError + 376
27 Foundation 0x000000019863fba8 -[NSBundle loadAndReturnError:] + 332
28 dragononlinemmorpg 0x0000000104df7c94 UnityFrameworkLoad() + 31892 (main.mm:12)
29 dragononlinemmorpg 0x0000000104df7d98 main + 32152 (main.mm:25)
30 libdyld.dylib 0x00000001970cd568 start + 4
Thread 1 name: Dispatch queue: com.apple.uikit.applicationSupportClient
Thread 1:
0 libsystem_kernel.dylib 0x00000001c334c66c __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001dfba4358 _pthread_mutex_firstfit_lock_wait + 88
2 libsystem_pthread.dylib 0x00000001dfba42ac _pthread_mutex_firstfit_lock_slow$VARIANT$mp + 224
3 libdyld.dylib 0x00000001970de16c dyld3::dlopen_internal+ 74092 (char const*, int, void*) + 72
4 libdyld.dylib 0x00000001970d1590 dlopen_internal+ 21904 (char const*, int, void*) + 108
5 SoftLinking 0x00000001d7be5f30 _sl_dlopen_audited + 44
6 BoardServices 0x00000001afd8338c __34+[BSServiceManager sharedInstance]_block_invoke + 860
7 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
8 libdispatch.dylib 0x00000001970522f4 _dispatch_once_callout + 28
9 BoardServices 0x00000001afd8302c +[BSServiceManager sharedInstance] + 64
10 BoardServices 0x00000001afd7c024 +[BSServiceConnection _connectionWithEndpoint:clientContextBuilder:] + 316
11 UIKitServices 0x000000019b21ecb0 __44-[UISApplicationSupportClient _remoteTarget]_block_invoke + 204
12 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
13 libdispatch.dylib 0x000000019705db8c _dispatch_lane_barrier_sync_invoke_and_complete + 56
14 UIKitServices 0x000000019b21ebac -[UISApplicationSupportClient _remoteTarget] + 140
15 UIKitServices 0x000000019b21e4c8 -[UISApplicationSupportClient applicationInitializationContextWithParameters:] + 180
16 UIKitCore 0x00000001999160f8 __63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke_2 + 224
17 UIKitCore 0x0000000199916010 __UIAPPLICATION_IS_LOADING_INITIALIZATION_INFO_FROM_THE_SYSTEM__ + 20
18 UIKitCore 0x0000000199915ff0 __63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke + 72
19 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
20 libdispatch.dylib 0x00000001970522f4 _dispatch_once_callout + 28
21 UIKitCore 0x0000000199915fa4 -[_UIApplicationConfigurationLoader _loadInitializationContext] + 120
22 UIKitCore 0x0000000199916248 __70-[_UIApplicationConfigurationLoader startPreloadInitializationContext]_block_invoke + 24
23 libdispatch.dylib 0x00000001970ad298 _dispatch_call_block_and_release + 24
24 libdispatch.dylib 0x00000001970ae280 _dispatch_client_callout + 16
25 libdispatch.dylib 0x0000000197060074 _dispatch_root_queue_drain + 688
26 libdispatch.dylib 0x0000000197060704 _dispatch_worker_thread2 + 124
27 libsystem_pthread.dylib 0x00000001dfbab568 _pthread_wqthread + 212
28 libsystem_pthread.dylib 0x00000001dfbae874 start_wqthread + 8
Thread 2 name: JavaScriptCore bmalloc scavenger
Thread 2:
0 libsystem_kernel.dylib 0x00000001c334c61c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001dfba32fc _pthread_cond_wait$VARIANT$mp + 1180
2 libc++.1.dylib 0x00000001ab87ae0c std::__1::condition_variable::wait+ 52748 (std::__1::unique_lock<std::__1::mutex>&) + 24
3 JavaScriptCore 0x00000001a0fe4b54 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >+ 14871380 (std::__1::unique_lock<bmalloc::Mutex>&) + 108
4 JavaScriptCore 0x00000001a0fe9584 bmalloc::Scavenger::threadRunLoop+ 14890372 () + 252
5 JavaScriptCore 0x00000001a0fe8f98 bmalloc::Scavenger::Scavenger+ 14888856 (std::__1::scoped_lock<bmalloc::Mutex> const&) + 0
6 JavaScriptCore 0x00000001a0fea6c0 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer+ 14894784 (std::__1::__thread_struct*) + 0
7 libsystem_pthread.dylib 0x00000001dfba9b3c _pthread_start + 288
8 libsystem_pthread.dylib 0x00000001dfbae880 thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x00000001dfbae86c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000001701 x3: 0x0000000000000000
x4: 0x0000000000000010 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000023
x8: 0x0000000000001307 x9: 0x0000000000000000 x10: 0x00000001e629ece8 x11: 0x01e70001e629ece9
x12: 0x0000000000ae2464 x13: 0x000061a1f0aa8465 x14: 0x0000000000000000 x15: 0x00000001f0aa8460
x16: 0x0000000000000203 x17: 0x0000000199915f2c x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x00000001f0ab8a80 x21: 0x0000000001000002 x22: 0x0000000000001701 x23: 0x0000000106015108
x24: 0x000000016b009f90 x25: 0x00000001f0a4bdbc x26: 0x0000000105293960 x27: 0x00000001f0aa8320
x28: 0x000000000000000b fp: 0x000000016b009e40 lr: 0x00000001970515a4
sp: 0x000000016b009e20 pc: 0x00000001c334d290 cpsr: 0x00000000
esr: 0x56000080 Address size fault
Binary Images:
0x104df0000 - 0x104df7fff dragononlinemmorpg arm64 <de66ff8722fa329dae8296ae09bb3dd5> /var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/dragononlinemmorpg
0x104ebc000 - 0x104ec7fff FBSDKGamingServicesKit arm64 <9478b59ceaf3301f895f9a259ab82fa8> /var/containers/Bundle/Application/97F19A54-D4EA-4D20-94BA-DF88D87C9D8E/dragononlinemmorpg.app/Frameworks/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit
....
Your error code is: 0x8badf00d
This has already been answered here and is likely related to the networking of your application; given in it's a dragononlinemmorpg.
Apple has documentation on how to diagnose crash reports
I'm having a very weird problem happening with my iOS signing with which I've been struggling for a while.
It goes like this:
sign an app with a development certificate/profile, and run it on a device, it works perfectly.
sign an app with a distribution certificate/ad-hoc profile, and run it on a device, it goes in a gray screen for 20s then crashes.
run the app signed with development credentials, then run the one signed with distribution credentials on top of it (install without uninstalling previous version), it works perfectly.
I cannot get through this in any way shape or form I'd try. Different developer accounts, different app ids, different distribution certificate and different provisioning profiles, completely wiped my mac and reinstalled all tools from scratch.
I'm 100% certain that the distribution profile has my device UDID, and matches the certificate.
Crash log:
Incident Identifier: 21DCDDC7-FFD0-4217-9309-6653BD667AF7
CrashReporter Key: 1ea92b0cd7119f43fced0aec1e30348e69764939
Hardware Model: iPhone11,2
Process: ballz [10603]
Path: /private/var/containers/Bundle/Application/9FFBD7C2-D37A-4788-AD5B-AB465A254EDB/ballz.app/ballz
Identifier: com.blastproof.dev
Version: 0 (1.3)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.blastproof.dev [2336]
Date/Time: 2020-04-22 10:10:20.0234 +0300
Launch Time: 2020-04-22 10:09:59.8603 +0300
OS Version: iPhone OS 13.4.1 (17E262)
Release Type: User
Baseband Version: 2.05.13
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d
Termination Description: SPRINGBOARD, process-launch watchdog transgression: application<com.blastproof.dev>:10603 exhausted real (wall clock) time allowance of 20.00 seconds | ProcessVisibility: Unknown | ProcessState: Running | WatchdogEvent: process-launch | WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 8.660 (user 8.660, system 0.000), 7% CPU", | "Elapsed application CPU time (seconds): 0.144, 0% CPU" | )
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001afe6b7e4 __ulock_wait + 8
1 libdispatch.dylib 0x00000001afd24cd8 _dlock_wait + 56
2 libdispatch.dylib 0x00000001afd24c10 _dispatch_once_wait + 124
3 CoreFoundation 0x00000001b006fd18 __CFLookupCoreServicesInternalFunction + 100
4 CoreFoundation 0x00000001b0054a14 ____CFCoreServicesInternal__FSURLBeginResourcePropertyCacheAccess_block_invoke + 24
5 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
6 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
7 CoreFoundation 0x00000001b00517cc __CFURLBeginResourcePropertyCacheAccess + 112
8 CoreFoundation 0x00000001aff720e4 -[NSURL setResourceValues:error:] + 96
9 Foundation 0x00000001b037dcac -[NSFileManager setAttributes:ofItemAtPath:error:] + 1048
10 Foundation 0x00000001b038e52c -[NSFileManager createDirectoryAtPath:withIntermediateDirectories:attributes:error:] + 432
11 WebKit 0x00000001b789ddf4 WebKit::resolveAndCreateReadWriteDirectoryForSandboxExtension+ 1543668 (WTF::String const&) + 112
12 WebKit 0x00000001b79af62c WebKit::WebProcessPool::platformResolvePathsForSandboxExtensions+ 2663980 () + 220
13 WebKit 0x00000001b7a00ff8 WebKit::WebProcessPool::resolvePathsForSandboxExtensions+ 2998264 () + 320
14 WebKit 0x00000001b7a00c8c WebKit::WebProcessPool::WebProcessPool+ 2997388 (API::ProcessPoolConfiguration&) + 1336
15 WebKit 0x00000001b7727e9c -[WKProcessPool _initWithConfiguration:] + 100
16 WebKit 0x00000001b7731eb4 -[WKProcessPool init] + 56
17 WebKit 0x00000001b772b588 -[WKWebViewConfiguration processPool] + 40
18 WebKit 0x00000001b772b228 -[WKWebViewConfiguration copyWithZone:] + 132
19 WebKit 0x00000001b7728cdc -[WKWebView _initializeWithConfiguration:] + 136
20 WebKit 0x00000001b7728c40 -[WKWebView initWithFrame:configuration:] + 80
21 WebKit 0x00000001b7732388 -[WKWebView initWithFrame:] + 96
22 FairBidSDK 0x0000000105a4c464 0x105998000 + 738404
23 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
24 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
25 FairBidSDK 0x0000000105a4c25c 0x105998000 + 737884
26 FairBidSDK 0x0000000105a4c1e0 0x105998000 + 737760
27 libobjc.A.dylib 0x00000001afda1be0 load_images + 952
28 libdyld.dylib 0x00000001afe8443c invocation function for block in dyld3::AllImages::runInitialzersBottomUp+ 66620 (dyld3::closure::Image const*) + 224
29 libdyld.dylib 0x00000001afe76ba8 dyld3::closure::Image::forEachImageToInitBefore(void + 11176 (unsigned int, bool&) block_pointer) const + 104
30 libdyld.dylib 0x00000001afe84e20 dyld3::AllImages::loadImage+ 69152 (Diagnostics&, unsigned int, dyld3::closure::DlopenClosure const*, bool, bool, bool, bool) + 652
31 libdyld.dylib 0x00000001afe849ec dyld3::AllImages::dlopen+ 68076 (Diagnostics&, char const*, bool, bool, bool, bool, bool, void const*) + 868
32 libdyld.dylib 0x00000001afe86434 dyld3::dlopen_internal+ 74804 (char const*, int, void*) + 364
33 libdyld.dylib 0x00000001afe796c0 dlopen + 116
34 CoreFoundation 0x00000001b008b7e8 _CFBundleDlfcnLoadFramework + 140
35 CoreFoundation 0x00000001affadee8 _CFBundleLoadExecutableAndReturnError + 432
36 Foundation 0x00000001b037e7a8 -[NSBundle loadAndReturnError:] + 316
37 ballz 0x0000000100bb3d54 UnityFrameworkLoad() + 32084 (main.mm:12)
38 ballz 0x0000000100bb3dfc main + 32252 (main.mm:0)
39 libdyld.dylib 0x00000001afe751ec start + 4
Thread 1 name: Dispatch queue: com.apple.NSURLSession-work
Thread 1:
0 libsystem_kernel.dylib 0x00000001afe6ac10 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001afd8e808 _pthread_mutex_firstfit_lock_wait + 92
2 libsystem_pthread.dylib 0x00000001afd8e778 _pthread_mutex_firstfit_lock_slow + 260
3 libdyld.dylib 0x00000001afe8654c dyld3::dlopen_preflight_internal+ 75084 (char const*) + 56
4 libdyld.dylib 0x00000001afe79798 dlopen_preflight + 108
5 CoreFoundation 0x00000001b0082a70 _binaryLoadable + 92
6 CoreFoundation 0x00000001b0082368 _CFBundleCopyExecutableURLInDirectory2 + 568
7 CoreFoundation 0x00000001b008b21c _CFBundleDlfcnCheckLoaded + 64
8 CoreFoundation 0x00000001affac784 _CFBundleEnsureBundleExistsForImagePath + 120
9 CoreFoundation 0x00000001affac5f8 CFBundleGetBundleWithIdentifier + 244
10 CFNetwork 0x00000001b33ef6a0 0x1b331d000 + 861856
11 libsystem_pthread.dylib 0x00000001afd8aeb0 __pthread_once_handler + 80
12 libsystem_platform.dylib 0x00000001afd858cc _os_once_callout + 32
13 libsystem_pthread.dylib 0x00000001afd8ae44 pthread_once + 100
14 CFNetwork 0x00000001b33ef5f4 0x1b331d000 + 861684
15 CFNetwork 0x00000001b33f016c _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 84
16 Foundation 0x00000001b049b7fc localizedDescriptionForError + 68
17 Foundation 0x00000001b03c7d18 -[NSError+ 576792 (NSURLExtrasInternal) _web_initWithDomain_nowarn:code:URL:] + 172
18 Foundation 0x00000001b03c2c98 +[NSError+ 556184 (NSURLExtras) _web_errorWithDomain:code:URL:] + 60
19 CFNetwork 0x00000001b3330284 0x1b331d000 + 78468
20 libdispatch.dylib 0x00000001afd22ec4 _dispatch_call_block_and_release + 32
21 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
22 libdispatch.dylib 0x00000001afd2a85c _dispatch_lane_serial_drain + 568
23 libdispatch.dylib 0x00000001afd2b2c4 _dispatch_lane_invoke + 452
24 libdispatch.dylib 0x00000001afd34928 _dispatch_workloop_worker_thread + 584
25 libsystem_pthread.dylib 0x00000001afd8b714 _pthread_wqthread + 276
26 libsystem_pthread.dylib 0x00000001afd919c8 start_wqthread + 8
Thread 2 name: Dispatch queue: com.apple.NSURLSession-work
Thread 2:
0 libsystem_kernel.dylib 0x00000001afe6ac10 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x00000001afd8e808 _pthread_mutex_firstfit_lock_wait + 92
2 libsystem_pthread.dylib 0x00000001afd8e778 _pthread_mutex_firstfit_lock_slow + 260
3 libdyld.dylib 0x00000001afe86314 dyld3::dlopen_internal+ 74516 (char const*, int, void*) + 76
4 libdyld.dylib 0x00000001afe796c0 dlopen + 116
5 CoreFoundation 0x00000001b006fd50 ____CFLookupCoreServicesInternalFunction_block_invoke + 52
6 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
7 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
8 CoreFoundation 0x00000001b006fd18 __CFLookupCoreServicesInternalFunction + 100
9 CoreFoundation 0x00000001b0054974 ____CFCoreServicesInternal__FSURLCopyResourcePropertyForKey_block_invoke + 24
10 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
11 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
12 CoreFoundation 0x00000001b004e65c CFURLCopyResourcePropertyForKey + 284
13 CFNetwork 0x00000001b334f868 0x1b331d000 + 206952
14 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
15 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
16 CFNetwork 0x00000001b334f6fc 0x1b331d000 + 206588
17 CFNetwork 0x00000001b3532c2c 0x1b331d000 + 2186284
18 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
19 libdispatch.dylib 0x00000001afd25a68 _dispatch_once_callout + 32
20 CFNetwork 0x00000001b3532b24 0x1b331d000 + 2186020
21 CFNetwork 0x00000001b332eb58 0x1b331d000 + 72536
22 CFNetwork 0x00000001b3457a88 0x1b331d000 + 1288840
23 CFNetwork 0x00000001b3321ea8 0x1b331d000 + 20136
24 CFNetwork 0x00000001b3341b10 0x1b331d000 + 150288
25 CFNetwork 0x00000001b3321624 0x1b331d000 + 17956
26 CFNetwork 0x00000001b331ec20 0x1b331d000 + 7200
27 CFNetwork 0x00000001b3550f3c 0x1b331d000 + 2309948
28 libdispatch.dylib 0x00000001afd22ec4 _dispatch_call_block_and_release + 32
29 libdispatch.dylib 0x00000001afd2433c _dispatch_client_callout + 20
30 libdispatch.dylib 0x00000001afd2a85c _dispatch_lane_serial_drain + 568
31 libdispatch.dylib 0x00000001afd2b2c4 _dispatch_lane_invoke + 452
32 libdispatch.dylib 0x00000001afd34928 _dispatch_workloop_worker_thread + 584
33 libsystem_pthread.dylib 0x00000001afd8b714 _pthread_wqthread + 276
34 libsystem_pthread.dylib 0x00000001afd919c8 start_wqthread + 8
Thread 3 name: JavaScriptCore bmalloc scavenger
Thread 3:
0 libsystem_kernel.dylib 0x00000001afe6abc0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001afd8d1e4 _pthread_cond_wait + 680
2 libc++.1.dylib 0x00000001afebeca8 std::__1::condition_variable::wait+ 52392 (std::__1::unique_lock<std::__1::mutex>&) + 28
3 JavaScriptCore 0x00000001bf388e88 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >+ 577160 (std::__1::unique_lock<bmalloc::Mutex>&) + 104
4 JavaScriptCore 0x00000001bf38cc34 bmalloc::Scavenger::threadRunLoop+ 592948 () + 156
5 JavaScriptCore 0x00000001bf38c958 bmalloc::Scavenger::Scavenger+ 592216 (std::__1::lock_guard<bmalloc::Mutex> const&) + 0
6 JavaScriptCore 0x00000001bf38dbd0 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer+ 596944 (std::__1::__thread_struct*) + 0
7 libsystem_pthread.dylib 0x00000001afd898fc _pthread_start + 168
8 libsystem_pthread.dylib 0x00000001afd919d4 thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x00000001afd919c0 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000002205 x3: 0x0000000000000000
x4: 0x00000000000041b7 x5: 0x000000000000000f x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000002603 x9: 0x0000000000002204 x10: 0x0000000000000001 x11: 0x0000000000000001
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x00000001ec2cd646 x15: 0x00000001f1dd1f48
x16: 0x0000000000000203 x17: 0x00000001b006fd1c x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x00000001fda519e8 x21: 0x0000000001000002 x22: 0x0000000000002205 x23: 0x00000002814fd0e0
x24: 0x0000000000000000 x25: 0x00000001ec2cd000 x26: 0x00000001ec2ccfa6 x27: 0x00000001ec2cd000
x28: 0x0000000000000000 fp: 0x000000016f24d440 lr: 0x00000001afd24cd8
sp: 0x000000016f24d420 pc: 0x00000001afe6b7e4 cpsr: 0x00000000
esr: 0x56000080 Address size fault
Binary Images:
0x100bac000 - 0x100bb3fff ballz arm64 <d67b6e43f5be3c2a9ff97f5cd243c58b> /var/containers/Bundle/Application/9FFBD7C2-D37A-4788-AD5B-AB465A254EDB/ballz.app/ballz
0x100c50000 - 0x100c5bfff libobjc-trampolines.dylib arm64e <cc80c891368533149cb4d5b6742345d9> /usr/lib/libobjc-trampolines.dylib
0x100e00000 - 0x100e67fff dyld arm64e <592a4b82e7623dc69409d35dd4a89b6f> /usr/lib/dyld
0x102240000 - 0x104edffff UnityFramework arm64 <f2a707be746e36539d9c5d0cef1be286> /var/containers/Bundle/Application/9FFBD7C2-D37A-4788-AD5B-AB465A254EDB/ballz.app/Frameworks/UnityFramework.framework/UnityFramework
0x105998000 - 0x105b43fff FairBidSDK arm64 <b50b1c2e69ad3d4bbdd83ac2ac73431a> /var/containers/Bundle/Application/9FFBD7C2-D37A-4788-AD5B-AB465A254EDB/ballz.app/Frameworks/FairBidSDK.framework/FairBidSDK
0x1afc56000 - 0x1afc6cfff libsystem_trace.dylib arm64e <426db377a1b83286a6f0b76c54b67296> /usr/lib/system/libsystem_trace.dylib
0x1afc6d000 - 0x1afca0fff libxpc.dylib arm64e <b18d50ebbc6a3b30ba17d0ec38c1f6cd> /usr/lib/system/libxpc.dylib
0x1afca1000 - 0x1afca1fff libsystem_blocks.dylib arm64e <6ff4a25c412e3ce4b1b334944f09ce82> /usr/lib/system/libsystem_blocks.dylib
0x1afca2000 - 0x1afd20fff libsystem_c.dylib arm64e <7f94328bc9753618a7b810f446959ed4> /usr/lib/system/libsystem_c.dylib
0x1afd21000 - 0x1afd5efff libdispatch.dylib arm64e <783b1b755a873a6eb7235caa2663c75f> /usr/lib/system/libdispatch.dylib
0x1afd5f000 - 0x1afd80fff libsystem_malloc.dylib arm64e <37a79e73afa13935b4ab7f231581c343> /usr/lib/system/libsystem_malloc.dylib
0x1afd81000 - 0x1afd87fff libsystem_platform.dylib arm64e <5ba431b074c93dfeb5156ba90b508b21> /usr/lib/system/libsystem_platform.dylib
0x1afd88000 - 0x1afd92fff libsystem_pthread.dylib arm64e <40438d42d12a3fa1b5e6a999495181c8> /usr/lib/system/libsystem_pthread.dylib
0x1afd93000 - 0x1afdc4fff libobjc.A.dylib arm64e <fbeed962693f3ee780ce9764def56b78> /usr/lib/libobjc.A.dylib
0x1afdc5000 - 0x1afe2dfff libcorecrypto.dylib arm64e <8e3f0607615e3a2faa0acb305aa34025> /usr/lib/system/libcorecrypto.dylib
0x1afe2e000 - 0x1afe43fff libc++abi.dylib arm64e <7773c226504f342b8879a9dfcbb953f2> /usr/lib/libc++abi.dylib
0x1afe44000 - 0x1afe73fff libsystem_kernel.dylib arm64e <08b76adcceb7388fb4b2bdd52c7375e3> /usr/lib/system/libsystem_kernel.dylib
0x1afe74000 - 0x1afea8fff libdyld.dylib arm64e <95b366e7f5bd3308941624b35999029b> /usr/lib/system/libdyld.dylib
0x1afea9000 - 0x1afeb1fff libsystem_darwin.dylib arm64e <90a47653df0c346c8cfa1d81ea87b244> /usr/lib/system/libsystem_darwin.dylib
0x1afeb2000 - 0x1aff0ffff libc++.1.dylib arm64e <cd3dd206dfc53d7a87fa84c638fe62a4> /usr/lib/libc++.1.dylib
0x1aff10000 - 0x1aff51fff libsystem_info.dylib arm64e <2f8814e1526f3e91800eb99f964e4af6> /usr/lib/system/libsystem_info.dylib
0x1aff52000 - 0x1b02cffff CoreFoundation arm64e <9624aafd54373772a5070f357875808d> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1b02d0000 - 0x1b033afff SystemConfiguration arm64e <51f61d30a54a32fe83e0c07fde17d338> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x1b033b000 - 0x1b0606fff Foundation arm64e <2b7bd2f310a83cba9de35e1f48d9213e> /System/Library/Frameworks/Foundation.framework/Foundation
0x1b0607000 - 0x1b0639fff libCRFSuite.dylib arm64e <f96596c0977f3fb98170380eb0f00d36> /usr/lib/libCRFSuite.dylib
0x1b063a000 - 0x1b07bcfff CoreServices arm64e <596f36898d543a38b2b5bbea04307885> /System/Library/Frameworks/CoreServices.framework/CoreServices
0x1b07bd000 - 0x1b081efff libSparse.dylib arm64e <b3953d5d15143fc2af0f68e3a2f84482> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libSparse.dylib
0x1b081f000 - 0x1b0d18fff ImageIO arm64e <fe80d4682d9137ed81277b974db00e16> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x1b0d19000 - 0x1b0d1bfff ConstantClasses arm64e <25cdea383a8435f68d0ae0ab21f8cf06> /System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses
0x1b0d1c000 - 0x1b0eb5fff CoreText arm64e <ad12aef7516e3a6b945901e7e920185b> /System/Library/Frameworks/CoreText.framework/CoreText
0x1b0eb6000 - 0x1b0ff3fff Security arm64e <9586a2f262ad35f18e17c109a5a6912b> /System/Library/Frameworks/Security.framework/Security
0x1b0ff4000 - 0x1b109afff IOKit arm64e <0673030ac3a53e6684e39a9983b8611b> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x1b109b000 - 0x1b10d2fff libMobileGestalt.dylib arm64e <2c5bcc45e38933258737e4748cd4fc06> /usr/lib/libMobileGestalt.dylib
0x1b10d3000 - 0x1b1131fff libprotobuf.dylib arm64e <16aa80901ca93d1b850ebb321f5652be> /usr/lib/libprotobuf.dylib
0x1b1132000 - 0x1b1144fff libprotobuf-lite.dylib arm64e <1ead3579ffd53147a9b0e1448130a5eb> /usr/lib/libprotobuf-lite.dylib
0x1b1145000 - 0x1b13a4fff libicucore.A.dylib arm64e <2dc1dc2c3d13301aaef393611a29247d> /usr/lib/libicucore.A.dylib
0x1b13cf000 - 0x1b1415fff WirelessDiagnostics arm64e <4ed0df42185a389f8281246f8d62fe22> /System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
0x1b1416000 - 0x1b1452fff libAWDSupport.dylib arm64e <f2ada8e3d47a337ea49581e8cf4243c6> /usr/lib/libAWDSupport.dylib
0x1b1453000 - 0x1b18a2fff CoreAudio arm64e <9364d152f3343c9bbf44b1a1ced221c2> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x1b18a3000 - 0x1b1b7cfff CoreImage arm64e <534b276bf3b6335e8a15ed7539c54702> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x1b1b7d000 - 0x1b1c70fff LanguageModeling arm64e <90ce29bed96333cfb02c02a5d1c03678> /System/Library/PrivateFrameworks/LanguageModeling.framework/LanguageModeling
0x1b1c71000 - 0x1b1cb7fff Lexicon arm64e <28d1fcd6487b3219a7de87ad3c852558> /System/Library/PrivateFrameworks/Lexicon.framework/Lexicon
0x1b1cb8000 - 0x1b1e3efff libsqlite3.dylib arm64e <8a0963ecea66378d956bfaaa54508afd> /usr/lib/libsqlite3.dylib
0x1b1e3f000 - 0x1b1e71fff MobileKeyBag arm64e <c66d0ee2e7943bcdbb2f426de2d3e207> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x1b1e72000 - 0x1b1e7bfff libsystem_notify.dylib arm64e <2509ff7f57e533c994ed85c226baaa67> /usr/lib/system/libsystem_notify.dylib
0x1b1e7c000 - 0x1b2068fff CoreDuet arm64e <fa494103007535ffaf8db7946a0cbd81> /System/Library/PrivateFrameworks/CoreDuet.framework/CoreDuet
0x1b2069000 - 0x1b21b0fff Montreal arm64e <e0c5c3f9e5183e11b8dbae13e50d9427> /System/Library/PrivateFrameworks/Montreal.framework/Montreal
0x1b21b1000 - 0x1b2295fff NLP arm64e <6cfaf73f401832b9934588016397b4ef> /System/Library/PrivateFrameworks/NLP.framework/NLP
0x1b2296000 - 0x1b22b4fff CellularPlanManager arm64e <1f34c041ff2830dd89b843d5f48b5692> /System/Library/PrivateFrameworks/CellularPlanManager.framework/CellularPlanManager
0x1b22b5000 - 0x1b22f2fff AppSupport arm64e <03e2fc117ef5341d9735507cb71b3538> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x1b22f3000 - 0x1b27dffff libnetwork.dylib arm64e <6b86071a0dfc3efda798615ec6a7d591> /usr/lib/libnetwork.dylib
0x1b27e0000 - 0x1b28f1fff ManagedConfiguration arm64e <f4637fe9b226391198a9f0290ab1eb50> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x1b28f2000 - 0x1b291cfff CoreServicesStore arm64e <ff17e9858eb83bc6824bb8131c371be7> /System/Library/PrivateFrameworks/CoreServicesStore.framework/CoreServicesStore
0x1b291d000 - 0x1b293efff UserManagement arm64e <8b4f8dbce8343e03bcc102929006d637> /System/Library/PrivateFrameworks/UserManagement.framework/UserManagement
0x1b293f000 - 0x1b2bf4fff CoreML arm64e <5aea650251f73456aed6ba12f4301d8d> /System/Library/Frameworks/CoreML.framework/CoreML
0x1b2bf5000 - 0x1b2c0bfff ProtocolBuffer arm64e <c60dfe3cf75231139412a12e00e8ec05> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x1b2c0c000 - 0x1b2c26fff CommonUtilities arm64e <40f314982784388a9cbbfbea228c2e8d> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
0x1b2c27000 - 0x1b2c27fff libenergytrace.dylib arm64e <f9b52a49c615387e865a6086b7655272> /usr/lib/libenergytrace.dylib
0x1b2c28000 - 0x1b2c5ffff RunningBoardServices arm64e <a65f835dabc1363288e863203cf93c28> /System/Library/PrivateFrameworks/RunningBoardServices.framework/RunningBoardServices
0x1b2c60000 - 0x1b2ce0fff BaseBoard arm64e <3e67a38cf55d3f2886aad33bbe0ed907> /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
0x1b2ce1000 - 0x1b3232fff SiriTTS arm64e <89c59a7ed45a30b5a81ca87b083cc6e1> /System/Library/PrivateFrameworks/SiriTTS.framework/SiriTTS
0x1b3233000 - 0x1b32a7fff CoreLocation arm64e <d40048141baf3c69bf1e227b15723610> /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x1b32b5000 - 0x1b330bfff Accounts arm64e <425be5d5f1da30abb4be823277e41c12> /System/Library/Frameworks/Accounts.framework/Accounts
0x1b330c000 - 0x1b331cfff SharedWebCredentials arm64e <9443b8cd9eaf3c6597debae0e604ec80> /System/Library/PrivateFrameworks/SharedWebCredentials.framework/SharedWebCredentials
0x1b331d000 - 0x1b367efff CFNetwork arm64e <1362d01cc0163c49b6176b19826ab3b2> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1b367f000 - 0x1b3760fff UIFoundation arm64e <af91401f121132409a212132f692b587> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x1b3761000 - 0x1b48d4fff UIKitCore arm64e <66c0bdeb71cf3148af27a5b055fad9a5> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1b48d5000 - 0x1b48e3fff AssertionServices arm64e <1e2c2c8f0b393dcabe859d1b50ca40fa> /System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices
0x1b48e4000 - 0x1b49bdfff CoreTelephony arm64e <7bb1669074b831ea80db40cd6208e4f8> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x1b49be000 - 0x1b49c3fff AggregateDictionary arm64e <718ba31eaa1b3f4b9a4f98c895135176> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x1b49c4000 - 0x1b49dafff libsystem_asl.dylib arm64e <b2e939627b9f37e48c1273e3c5c767a1> /usr/lib/system/libsystem_asl.dylib
0x1b49db000 - 0x1b4a56fff CloudDocs arm64e <9eab01d404ad3066825cfd683ef75dce> /System/Library/PrivateFrameworks/CloudDocs.framework/CloudDocs
0x1b4a57000 - 0x1b4d8afff CoreData arm64e <98f0309430ec39d3b10dec7866aefedd> /System/Library/Frameworks/CoreData.framework/CoreData
0x1b4d8b000 - 0x1b4fb5fff Vision arm64e <60855bb208073da0847d8120f16e9de5> /System/Library/Frameworks/Vision.framework/Vision
0x1b4fb6000 - 0x1b4ffafff PhotoFoundation arm64e <c03e15fef4f13921a241a0c7de746ad5> /System/Library/PrivateFrameworks/PhotoFoundation.framework/PhotoFoundation
0x1b4ffb000 - 0x1b5026fff BoardServices arm64e <8c3e3899c16130e5969692c38f72ce21> /System/Library/PrivateFrameworks/BoardServices.framework/BoardServices
0x1b5027000 - 0x1b50defff libboringssl.dylib arm64e <c853ad30336e391fae8a4b573aa66076> /usr/lib/libboringssl.dylib
....
You have a deadlock, but i cannot tell you what is the root cause
your com.apple.main-thread
entered dyld3::dlopen_internal (and acquired a lock #1 there)
entered __CFLookupCoreServicesInternalFunction (and stuck trying to acquire a lock #2 there)
...meanwhile...
your com.apple.NSURLSession-work
entered __CFLookupCoreServicesInternalFunction (and acquired a lock #2 there)
entered dyld3::dlopen_internal (and stuck trying to acquire a lock #1 there)