App Crashing GameCenterUI: specialized AccessPointRootViewController.supportedInterfaceOrientations.getter - ios

I'm receiving a crash in my iOS game. This game utilizes GKAccessPoints and the Game Center UI's. I only noticed this crash in the released versions of my game (non-beta versions).
The reason I think this has something to do with GameKit is because of where it says GameCenterUI and access point. Other than that I'm not sure what's causing this. I have tried opening the crash it in my project and it did not pinpoint a line of code that was causing this. This makes me think that this could be an error with Apple's GameKit class. But then again I'm not sure. I am attaching a full crash report (I am erasing some sensitive information like app). I removed the Binary Image section because of character limits.
Any pointers or help would be greatly appreciated. If you need more information just ask. thank you.
Role: Foreground
Parent Process: launchd [1]
Coalition:
OS Version: iPhone OS 14.4.2 (18D70)
Release Type: User
Baseband Version: 3.02.02
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001a39dba18
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1890]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libswiftCore.dylib 0x00000001a39dba18 _assertionFailure(_:_:file:line:flags:) + 492 (AssertCommon.swift:132)
1 libswiftCore.dylib 0x00000001a39dba18 _assertionFailure(_:_:file:line:flags:) + 492 (AssertCommon.swift:132)
2 GameCenterUI 0x00000001b7090f60 specialized AccessPointRootViewController.supportedInterfaceOrientations.getter + 276 (GKAccessPoint.swift:33)
3 UIKitCore 0x00000001a205e10c -[UIViewController __supportedInterfaceOrientations] + 708 (UIViewController.m:9782)
4 UIKitCore 0x00000001a204e418 -[UIViewController _preferredInterfaceOrientationGivenCurrentOrientation:] + 120 (UIViewController.m:6492)
5 UIKitCore 0x00000001a27b1470 -[UIWindow _updateToInterfaceOrientation:duration:force:] + 328 (UIWindow.m:3893)
6 CoreFoundation 0x000000019fd0e9a0 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:706)
7 CoreFoundation 0x000000019fd0e948 ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173)
8 CoreFoundation 0x000000019fd0deb0 _CFXRegistrationPost + 440 (CFNotificationCenter.c:198)
9 CoreFoundation 0x000000019fd0d870 _CFXNotificationPost + 716 (CFNotificationCenter.c:1071)
10 Foundation 0x00000001a0fd44bc -[NSNotificationCenter postNotificationName:object:userInfo:] + 64 (NSNotification.m:575)
11 UIKitCore 0x00000001a2761c54 -[UIApplication _stopDeactivatingForReason:] + 964 (UIApplication.m:1899)
12 UIKitCore 0x00000001a1dc12a0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 440 (_UISceneLifecycleMultiplexer.m:108)
13 UIKitCore 0x00000001a1dc161c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 768 (_UISceneLifecycleMultiplexer.m:548)
14 UIKitCore 0x00000001a1dc0e58 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 (_UISceneLifecycleMultiplexer.m:454)
15 UIKitCore 0x00000001a1bec1a0 -[UIScene _invalidate] + 804 (UIScene.m:683)
16 UIKitCore 0x00000001a29e5014 -[UIWindowScene _invalidate] + 52 (UIWindowScene.m:268)
17 UIKitCore 0x00000001a2769180 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:] + 208 (UIApplication.m:3725)
18 UIKitCore 0x00000001a226505c -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:] + 388 (UIApplicationSceneClientAgent.m:61)
19 FrontBoardServices 0x00000001afb1a570 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:] + 276 (FBSScene.m:452)
20 FrontBoardServices 0x00000001afb47b1c __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2 + 128 (FBSWorkspaceScenesClient.m:574)
21 FrontBoardServices 0x00000001afb294a0 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:355)
22 FrontBoardServices 0x00000001afb4796c __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke + 328 (FBSWorkspaceScenesClient.m:573)
23 libdispatch.dylib 0x000000019f9a5db0 _dispatch_client_callout + 20 (object.m:559)
24 libdispatch.dylib 0x000000019f9a9738 _dispatch_block_invoke_direct + 268 (queue.c:468)
25 FrontBoardServices 0x00000001afb6e250 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:184)
26 FrontBoardServices 0x00000001afb6dee0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 448 (FBSSerialQueue.m:227)
27 FrontBoardServices 0x00000001afb6e434 -[FBSSerialQueue _performNextFromRunLoopSource] + 32 (FBSSerialQueue.m:258)
28 CoreFoundation 0x000000019fd2d76c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1967)
29 CoreFoundation 0x000000019fd2d668 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2011)
30 CoreFoundation 0x000000019fd2c960 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2048)
31 CoreFoundation 0x000000019fd26a8c __CFRunLoopRun + 824 (CFRunLoop.c:2925)
32 CoreFoundation 0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
33 GraphicsServices 0x00000001b78f0784 GSEventRunModal + 164 (GSEvent.c:2259)
34 UIKitCore 0x00000001a2766ee8 -[UIApplication _run] + 1072 (UIApplication.m:3253)
35 UIKitCore 0x00000001a276c75c UIApplicationMain + 168 (UIApplication.m:4707)
36 libswiftUIKit.dylib 0x00000001b408b2e4 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:528)
37 Tank Fighters 0x0000000102c2e738 main + 80 (<compiler-generated>:12)
38 Tank Fighters 0x0000000102c2e738 $main + 92 (StoreViewController.swift:0)
39 Tank Fighters 0x0000000102c2e738 main + 108
40 libdyld.dylib 0x000000019f9e66b0 start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001cdcdd2d0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3 CoreFoundation 0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4 CoreFoundation 0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5 Foundation 0x00000001a0fd5df0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374)
6 Foundation 0x00000001a0fd5cbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:421)
7 UIKitCore 0x00000001a281ac48 -[UIEventFetcher threadMain] + 516 (UIEventFetcher.m:838)
8 Foundation 0x00000001a1147a34 __NSThread__start__ + 864 (NSThread.m:724)
9 libsystem_pthread.dylib 0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
10 libsystem_pthread.dylib 0x00000001eb864778 thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001cdcdd2d0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3 CoreFoundation 0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4 CoreFoundation 0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5 AudioSession 0x00000001a786f0c4 GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:91)
6 AudioSession 0x00000001a787125c CAPThread::Entry(CAPThread*) + 92 (CAPThread.cpp:321)
7 libsystem_pthread.dylib 0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
8 libsystem_pthread.dylib 0x00000001eb864778 thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001cdcdd2d0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001cdcdc660 mach_msg + 76 (mach_msg.c:103)
2 CoreFoundation 0x000000019fd2cc30 __CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641)
3 CoreFoundation 0x000000019fd26c14 __CFRunLoopRun + 1216 (CFRunLoop.c:2974)
4 CoreFoundation 0x000000019fd2621c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
5 AudioToolbox 0x00000001a8eca9fc GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:91)
6 libAudioToolboxUtility.dylib 0x00000001b555b144 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7 libsystem_pthread.dylib 0x00000001eb85bcb0 _pthread_start + 320 (pthread.c:881)
8 libsystem_pthread.dylib 0x00000001eb864778 thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x00000001eb864764 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001eb864764 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x00000001eb864764 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00000001eb864764 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001eb864764 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x80000001b727eec0 x1: 0x00000002818cca80 x2: 0x0000000000000007 x3: 0x00000001afbaacdc
x4: 0x00000000000062dc x5: 0x000000016d1d9040 x6: 0x0000000000000077 x7: 0x0000000000000001
x8: 0x000000000000007f x9: 0x0000000000000016 x10: 0x00000000000007fb x11: 0x00000000000007fd
x12: 0x0000000000000001 x13: 0x00000000b8036818 x14: 0x00000000b8237000 x15: 0x000000000000006e
x16: 0x0000000080000000 x17: 0x0000000038200000 x18: 0x00000001057f75b2 x19: 0x00000001b727f010
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000021 x23: 0x00000001b727eeb0
x24: 0x80000001b727eec0 x25: 0xd000000000000017 x26: 0x000000000000000b x27: 0x0000000000000002
x28: 0x0000000000000018 fp: 0x000000016d1d91e0 lr: 0x00000001a39dba18
sp: 0x000000016d1d9160 pc: 0x00000001a39dba18 cpsr: 0x60000000
esr: 0xf2000001 Address size fault
EOF

Related

App crashes with SIGABRT only on App Review

I have a weird problem with my app. I needed to update the metadata on App Store connect and uploaded a new build to App Store. The only thing that was changed in code is two strings with version number. Everything else is exactly the same as a version that is live on the App Store (which works fine). I got a rejection with 2.1.0 Performance: App Completeness reason, turned out my app crashes on launch on reviewers device. I thought that this maybe a one time problem and tried to upload a new build with same results. Crash report looks like this:
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 0x1aaf29288 __exceptionPreprocess + 220
1 libobjc.A.dylib 0x1c3c23744 objc_exception_throw + 60
2 Realm 0x1031d3f90 RLMAccessorContext::createObject(objc_object*, realm::CreatePolicy, bool, realm::ObjKey) + 1776
3 Realm 0x103212e1c RLMAddObjectToRealm + 264
4 RealmSwift 0x1038784e0 Realm.add(_:update:) + 279776 (__hidden#4669_:438)
5 AppName 0x10275cf5c _hidden#5641_ + 282460 (__hidden#5706_:442)
6 AppName 0x1027dcd64 _hidden#12_ + 806244 (__hidden#1380_:0)
7 AppName 0x10275d1bc _hidden#296_ + 283068 (__hidden#1380_:0)
8 RealmSwift 0x103877d78 Realm.write<A>(withoutNotifying:_:) + 277880 (__hidden#4669_:255)
9 AppName 0x10275d0f0 _hidden#5647_ + 282864 (__hidden#5706_:438)
10 AppName 0x1028374a0 _hidden#15379_ + 1176736 (__hidden#15477_:382)
11 AppName 0x102838824 _hidden#15383_ + 1181732 (__hidden#1380_:0)
12 UIKitCore 0x1ad62f72c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 340
13 UIKitCore 0x1ad816564 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3572
14 UIKitCore 0x1ad7ff118 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1180
15 UIKitCore 0x1ad65cd34 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152
16 UIKitCore 0x1ad4b73b4 _UIScenePerformActionsWithLifecycleActionMask + 104
17 UIKitCore 0x1ad5e1d90 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216
18 UIKitCore 0x1ad701aa0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248
19 UIKitCore 0x1ad940764 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 772
20 UIKitCore 0x1ad8cbd14 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340
21 UIKitCore 0x1ad4b81a0 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 196
22 UIKitCore 0x1ad5780d8 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892
23 UIKitCore 0x1ad4ba0a4 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276
24 UIKitCore 0x1ad5a4244 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384
25 UIKitCore 0x1ada28e60 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.615 + 776
26 UIKitCore 0x1ad4e8484 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256
27 UIKitCore 0x1ad52bcc4 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288
28 UIKitCore 0x1ad661b38 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 584
29 UIKitCore 0x1ad5a2508 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388
30 FrontBoardServices 0x1bd133294 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440
31 FrontBoardServices 0x1bd159090 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128
32 FrontBoardServices 0x1bd114308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
33 FrontBoardServices 0x1bd115958 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372
34 libdispatch.dylib 0x1aab90a30 _dispatch_client_callout + 20
35 libdispatch.dylib 0x1aab944e0 _dispatch_block_invoke_direct + 264
36 FrontBoardServices 0x1bd115c70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
37 FrontBoardServices 0x1bd115040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220
38 FrontBoardServices 0x1bd119700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
39 CoreFoundation 0x1aaf4b414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
40 CoreFoundation 0x1aaf5c1a0 __CFRunLoopDoSource0 + 208
41 CoreFoundation 0x1aae95694 __CFRunLoopDoSources0 + 268
42 CoreFoundation 0x1aae9b05c __CFRunLoopRun + 828
43 CoreFoundation 0x1aaeaebc8 CFRunLoopRunSpecific + 600
44 GraphicsServices 0x1c6fe2374 GSEventRunModal + 164
45 UIKitCore 0x1ad81e648 -[UIApplication _run] + 1100
46 UIKitCore 0x1ad59fd90 UIApplicationMain + 364
47 AppName 0x1027211c8 main + 37320 (__hidden#1378_:63)
48 dyld 0x102ed5ce4 start + 520
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1e2965b38 __pthread_kill + 8
1 libsystem_pthread.dylib 0x21c0963bc pthread_kill + 268
2 libsystem_c.dylib 0x1b602f524 abort + 168
3 libc++abi.dylib 0x1c3d2eb7c abort_message + 132
4 libc++abi.dylib 0x1c3d1e9c4 demangling_terminate_handler() + 336
5 libobjc.A.dylib 0x1c3c29c68 _objc_terminate() + 144
6 libc++abi.dylib 0x1c3d2df18 std::__terminate(void (*)()) + 20
7 libc++abi.dylib 0x1c3d2deb4 std::terminate() + 64
8 libdispatch.dylib 0x1aab90a44 _dispatch_client_callout + 40
9 libdispatch.dylib 0x1aab944e0 _dispatch_block_invoke_direct + 264
10 FrontBoardServices 0x1bd115c70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
11 FrontBoardServices 0x1bd115040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220
12 FrontBoardServices 0x1bd119700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
13 CoreFoundation 0x1aaf4b414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
14 CoreFoundation 0x1aaf5c1a0 __CFRunLoopDoSource0 + 208
15 CoreFoundation 0x1aae95694 __CFRunLoopDoSources0 + 268
16 CoreFoundation 0x1aae9b05c __CFRunLoopRun + 828
17 CoreFoundation 0x1aaeaebc8 CFRunLoopRunSpecific + 600
18 GraphicsServices 0x1c6fe2374 GSEventRunModal + 164
19 UIKitCore 0x1ad81e648 -[UIApplication _run] + 1100
20 UIKitCore 0x1ad59fd90 UIApplicationMain + 364
21 AppName 0x1027211c8 main + 37320 (__hidden#1378_:63)
22 dyld 0x102ed5ce4 start + 520
Thread 1:
0 libsystem_pthread.dylib 0x21c08fe54 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x21c08fe54 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x21c08fe54 start_wqthread + 0
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x1e295f4a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1e295fae4 mach_msg + 76
2 CoreFoundation 0x1aae96d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x1aae9b1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1aaeaebc8 CFRunLoopRunSpecific + 600
5 Foundation 0x1ac69d464 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6 Foundation 0x1ac6dee2c -[NSRunLoop(NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x1ad798770 -[UIEventFetcher threadMain] + 524
8 Foundation 0x1ac6ed43c __NSThread__start__ + 808
9 libsystem_pthread.dylib 0x21c0909ac _pthread_start + 148
10 libsystem_pthread.dylib 0x21c08fe68 thread_start + 8
Thread 5:
0 libsystem_pthread.dylib 0x21c08fe54 start_wqthread + 0
Thread 6 name: Dispatch queue: com.apple.UIKit.KeyboardManagement
Thread 6:
0 libsystem_kernel.dylib 0x1e2960138 __ulock_wait + 8
1 libdispatch.dylib 0x1aab91420 _dlock_wait + 56
2 libdispatch.dylib 0x1aab911d4 _dispatch_thread_event_wait_slow + 56
3 libdispatch.dylib 0x1aab9ff70 __DISPATCH_WAIT_FOR_QUEUE__ + 356
4 libdispatch.dylib 0x1aab9fb28 _dispatch_sync_f_slow + 144
5 UIKitCore 0x1ad6785ac __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 136
6 CoreFoundation 0x1aaeb1b24 __invoking___ + 148
7 CoreFoundation 0x1aaecf610 -[NSInvocation invoke] + 468
8 Foundation 0x1ac6b9938 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 24
9 Foundation 0x1ac6daf74 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 572
10 Foundation 0x1ac6b5480 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 212
11 libxpc.dylib 0x21c0c56ac _xpc_connection_reply_callout + 124
12 libxpc.dylib 0x21c0b8bcc _xpc_connection_call_reply_async + 88
13 libdispatch.dylib 0x1aab90ab0 _dispatch_client_callout3 + 20
14 libdispatch.dylib 0x1aabae214 _dispatch_mach_msg_async_reply_invoke + 340
15 libdispatch.dylib 0x1aab98000 _dispatch_lane_serial_drain + 376
16 libdispatch.dylib 0x1aab98cb4 _dispatch_lane_invoke + 444
17 libdispatch.dylib 0x1aaba3500 _dispatch_workloop_worker_thread + 648
18 libsystem_pthread.dylib 0x21c0900bc _pthread_wqthread + 288
19 libsystem_pthread.dylib 0x21c08fe5c start_wqthread + 8
Thread 7 name: AVAudioSession Notify Thread
Thread 7:
0 libsystem_kernel.dylib 0x1e295f4a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1e295fae4 mach_msg + 76
2 CoreFoundation 0x1aae96d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x1aae9b1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1aaeaebc8 CFRunLoopRunSpecific + 600
5 AudioSession 0x1b44baf04 CADeprecated::GenericRunLoopThread::Entry(void*) + 164
6 AudioSession 0x1b44c48f0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92
7 libsystem_pthread.dylib 0x21c0909ac _pthread_start + 148
8 libsystem_pthread.dylib 0x21c08fe68 thread_start + 8
Thread 8 name: Realm notification listener
Thread 8:
0 libsystem_kernel.dylib 0x1e2960e18 kevent + 8
1 Realm 0x103528db4 realm::_impl::ExternalCommitHelper::listen() + 156
2 Realm 0x103528f04 _hidden#16050_ + 52
3 libsystem_pthread.dylib 0x21c0909ac _pthread_start + 148
4 libsystem_pthread.dylib 0x21c08fe68 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x00000001c3d320f5 x5: 0x000000016d6e6310 x6: 0x000000000000006e x7: 0x0000000000000400
x8: 0x54b9f472dc7144f9 x9: 0x54b9f473de83c179 x10: 0x0000000000000200 x11: 0x000000000000000b
x12: 0x000000000000000b x13: 0x00000001ab266a9f x14: 0x00000001c3d3211b x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000102f28580 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x0000000102f28660 x22: 0x0000000000000000 x23: 0x0000000102f28660
x24: 0x00000002040a7000 x25: 0x000000016d6e6aa0 x26: 0x000000002b3100d5 x27: 0x00000002040a7000
x28: 0x00000002040a7000 fp: 0x000000016d6e6280 lr: 0x000000021c0963bc
sp: 0x000000016d6e6260 pc: 0x00000001e2965b38 cpsr: 0x40000000
far: 0x0000000201cce768 esr: 0x56000080 Address size fault
Looks like Facebook SDK(?) crashing the app? And what is about Realm?
The problem is I can't reproduce the crash anywhere. Simulator or 5 real devices do not crash. I also see that Apple now use iPhone Xr as reviewer device (it was iPad before?). Tried to run app on iPhone Xr and it doesn't crash as well. Tried different combinations of Debug/Release, setting Exception Breakpoints without any luck.
Will be really thankful for any insight on how to approach this problem or what is going on here. Thank you very much!
I am not sure 100% if this is the fix to my problem as I was not able to reproduce this crash on any of mine or tester devices. However I had ATTrackingManager.requestTrackingAuthorization in App Delegate which appears to be not the place where you should use it. I moved it to initial viewcontroller and this fixed this crash for me and app got approved. But again I am not sure if I am maybe just lucky this time because I was not able to reproduce it in anyway and the app with this function in App Delegate was in store before, but maybe it crashes sometime not sure. If anyone with more knowledge of what might happen can write in that can be helpful for future. Thanks everyone.

PHImageManager requestImage Crashing

anyone has any idea what could cause a crash in request Image. I have this symbolicated crash but no idea.
I'm just trying to get the data of a photo after using the image picker. One million thanks if you have!
The problem has been found in the review of my app but I'm not able to reproduce it :(
EDit: I have Added more information about the crash log
{"app_name":"VideoLUT","timestamp":"2020-10-12 16:50:59.00 -0700","app_version":"1.06","slice_uuid":"37a6afee-cc6e-3e64-8d33-4bac9759f096","adam_id":1532861990,"build_version":"15","platform":2,"bundleID":"com.malatok.tonebox","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 14.0.1 (18A393)","incident_id":"0DB9EFD3-B359-4587-AD4D-E8B83B1A398D","name":"VideoLUT"}
Incident Identifier: 0DB9EFD3-B359-4587-AD4D-E8B83B1A398D
CrashReporter Key: 8f4684b617f51ed34d09ed52c6b1a1160a43773c
Hardware Model: iPad11,3
Process: VideoLUT [1986]
Path: /private/var/containers/Bundle/Application/444CE516-B292-4EA9-A0AD-649F85479289/VideoLUT.app/VideoLUT
Identifier: com.videolut
Version: 15 (1.06)
AppStoreTools: 12A7207
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Date/Time: 2020-10-12 16:50:59.0271 -0700
Launch Time: 2020-10-12 13:47:32.6334 -0700
OS Version: iPhone OS 14.0.1 (18A393)
Release Type: User
Baseband Version: n/a
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 0x1938eb5ac __exceptionPreprocess + 220
1 libobjc.A.dylib 0x1a796542c objc_exception_throw + 59
2 CoreFoundation 0x1937f41b4 +[NSException raise:format:arguments:] + 99
3 Foundation 0x194b527bc -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 131
4 Photos 0x1a3fe7390 +[PHImageManagerRequestTracer registerRequestID:withAssetUUID:] + 287
5 Photos 0x1a40626cc -[PHImageManager runRequestWithContext:] + 683
6 Photos 0x1a4061900 -[PHImageManager requestImageDataAndOrientationForAsset:options:resultHandler:] + 995
7 VideoLUT 0x1009158d8 -[ProjectManager importPhoto13:dismiss:] + 465112 (ProjectManager.m:195)
8 VideoLUT 0x100914828 -[ProjectManager createProjectWithAsset:uti:] + 460840 (ProjectManager.m:0)
9 VideoLUT 0x1009d7eb4 __74-[HomeViewController imagePickerController:didFinishPickingMediaWithInfo:]_block_invoke + 1261236 (HomeViewController.m:347)
10 UIKitCore 0x1959f4df0 -[UIPresentationController transitionDidFinish:] + 1019
11 UIKitCore 0x1959ff25c -[_UICurrentContextPresentationController transitionDidFinish:] + 43
12 UIKitCore 0x1959f9540 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.528 + 211
13 UIKitCore 0x195b3477c -[_UIViewControllerTransitionContext completeTransition:] + 111
14 UIKitCore 0x1966f0260 -[UITransitionView notifyDidCompleteTransition:] + 243
15 UIKitCore 0x1966eff0c -[UITransitionView _didCompleteTransition:] + 1135
16 UIKitCore 0x196726ca8 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 723
17 UIKitCore 0x1966f9f48 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 247
18 UIKitCore 0x1966fa47c -[UIViewAnimationState animationDidStop:finished:] + 247
19 UIKitCore 0x1966fa5e0 -[UIViewAnimationState animationDidStop:finished:] + 603
20 QuartzCore 0x196c51cb4 CA::Layer::run_animation_callbacks+ 1510580 (void*) + 279
21 libdispatch.dylib 0x1934e9ac8 _dispatch_client_callout + 19
22 libdispatch.dylib 0x1934f704c _dispatch_main_queue_callback_4CF + 835
23 CoreFoundation 0x1938681e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 15
24 CoreFoundation 0x1938623b4 __CFRunLoopRun + 2507
25 CoreFoundation 0x1938614bc CFRunLoopRunSpecific + 599
26 GraphicsServices 0x1aa2e6820 GSEventRunModal + 163
27 UIKitCore 0x196205734 -[UIApplication _run] + 1071
28 UIKitCore 0x19620ae10 UIApplicationMain + 167
29 VideoLUT 0x100931674 main + 579188 (main.m:14)
30 libdyld.dylib 0x193528e60 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001bf1a998c __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001da1c3c74 pthread_kill + 272
2 libsystem_c.dylib 0x000000019c9edbb4 abort + 104
3 libc++abi.dylib 0x00000001a7a64e24 __cxxabiv1::__aligned_malloc_with_fallback+ 65060 (unsigned long) + 0
4 libc++abi.dylib 0x00000001a7a56434 demangling_unexpected_handler+ 5172 () + 0
5 libobjc.A.dylib 0x00000001a7965710 _objc_terminate+ 42768 () + 132
6 libc++abi.dylib 0x00000001a7a642a8 std::__terminate(void (*)+ 62120 ()) + 20
7 libc++abi.dylib 0x00000001a7a64234 std::terminate+ 62004 () + 44
8 libdispatch.dylib 0x00000001934e9adc _dispatch_client_callout + 40
9 libdispatch.dylib 0x00000001934f704c _dispatch_main_queue_callback_4CF + 836
10 CoreFoundation 0x00000001938681e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
11 CoreFoundation 0x00000001938623b4 __CFRunLoopRun + 2508
12 CoreFoundation 0x00000001938614bc CFRunLoopRunSpecific + 600
13 GraphicsServices 0x00000001aa2e6820 GSEventRunModal + 164
14 UIKitCore 0x0000000196205734 -[UIApplication _run] + 1072
15 UIKitCore 0x000000019620ae10 UIApplicationMain + 168
16 VideoLUT 0x0000000100931674 main + 579188 (main.m:14)
17 libdyld.dylib 0x0000000193528e60 start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x00000001bf185dd0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001bf185184 mach_msg + 76
2 CoreFoundation 0x0000000193867cf8 __CFRunLoopServiceMachPort + 380
3 CoreFoundation 0x0000000193861ea8 __CFRunLoopRun + 1216
4 CoreFoundation 0x00000001938614bc CFRunLoopRunSpecific + 600
5 Foundation 0x0000000194adee30 -[NSRunLoop+ 32304 (NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x0000000194aded08 -[NSRunLoop+ 32008 (NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x00000001962b5e94 -[UIEventFetcher threadMain] + 516
8 Foundation 0x0000000194c490f0 __NSThread__start__ + 864
9 libsystem_pthread.dylib 0x00000001da1c2ca8 _pthread_start + 320
10 libsystem_pthread.dylib 0x00000001da1cb788 thread_start + 8
Thread 2 name: AVAudioSession Notify Thread
Thread 2:
0 libsystem_kernel.dylib 0x00000001bf185dd0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001bf185184 mach_msg + 76
2 CoreFoundation 0x0000000193867cf8 __CFRunLoopServiceMachPort + 380
3 CoreFoundation 0x0000000193861ea8 __CFRunLoopRun + 1216
4 CoreFoundation 0x00000001938614bc CFRunLoopRunSpecific + 600
5 AudioSession 0x000000019b1032ac GenericRunLoopThread::Entry+ 53932 (void*) + 164
6 AudioSession 0x000000019b105390 CAPThread::Entry+ 62352 (CAPThread*) + 92
7 libsystem_pthread.dylib 0x00000001da1c2ca8 _pthread_start + 320
8 libsystem_pthread.dylib 0x00000001da1cb788 thread_start + 8
Thread 3:
0 libsystem_pthread.dylib 0x00000001da1cb774 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001da1cb774 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001da1cb774 start_wqthread + 0
Thread 6 name: Dispatch queue: com.apple.root.default-qos
Thread 6:
0 libsystem_kernel.dylib 0x00000001bf185e0c semaphore_wait_trap + 8
1 libdispatch.dylib 0x00000001934ea018 _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x00000001934ea6b0 _dispatch_semaphore_wait_slow + 132
3 UIKitCore 0x000000019661b51c __69+[_UIAsyncInvocationObserver whenInvocationsCompleteForObservers:do:]_block_invoke_2 + 72
4 libdispatch.dylib 0x00000001934e7fd0 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x00000001934e9ac8 _dispatch_client_callout + 20
6 libdispatch.dylib 0x00000001934eca10 _dispatch_queue_override_invoke + 692
7 libdispatch.dylib 0x00000001934fa104 _dispatch_root_queue_drain + 356
8 libdispatch.dylib 0x00000001934fa8e8 _dispatch_worker_thread2 + 116
9 libsystem_pthread.dylib 0x00000001da1c48cc _pthread_wqthread + 216
10 libsystem_pthread.dylib 0x00000001da1cb77c start_wqthread + 8
Thread 7:
0 libsystem_pthread.dylib 0x00000001da1cb774 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001da1cb774 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000016f559ff0 x5: 0x000000016f55a5a0 x6: 0x000000000000006e x7: 0x00000000000dab00
x8: 0x00000000000005b9 x9: 0xb08acf1d630ebb4e x10: 0x0000000000000002 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000010
x16: 0x0000000000000148 x17: 0x00000001010c38c0 x18: 0x00000001070ad630 x19: 0x0000000000000006
x20: 0x0000000000000407 x21: 0x00000001010c39a0 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000002ffffff x25: 0x00000001010c39a0 x26: 0x00000000000020ff x27: 0x0000000000000104
x28: 0x0000000283a0cf00 fp: 0x000000016f55a500 lr: 0x00000001da1c3c74
sp: 0x000000016f55a4e0 pc: 0x00000001bf1a998c cpsr: 0x40000000
esr: 0x56000080 Address size fault

App runs only when running via Xcode, it doesn’t work when I try to run it on device disconnected from Mac

I use Xcode 11 beta and running with iPadOS.
The app works perfectly when running via Xcode, but once it’s disconnected from my Mac and I try to open it on I the iPad the app crashes immediately. What should I do to prevent that? Is it possible that this is a beta bug?
I already try to change the run scheme to release in order to catch the error but the app still worked perfectly fine when it was connected to my Mac, and it still crashes when I try to open it on the iPad.
The crash log:
Incident Identifier: A2B40D37-80CB-44EC-BDF8-31218AE57CB0
CrashReporter Key: 94955e0a5779727fdfd5897c9de1267cd96a2c20
Hardware Model: iPad8,5
Process: ExampleApp [15367]
Path: /private/var/containers/Bundle/Application/3B7A07E6-AA57-435B-BCF9-DBBAD9BC0276/ExampleApp.app/ExampleApp
Identifier: com.matanm.ExampleApp
Version: 1 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.matanm.ExampleApp [6447]
Date/Time: 2019-07-01 19:02:41.8674 +0300
Launch Time: 2019-07-01 19:02:41.8078 +0300
OS Version: iPhone OS 13.0 (17A5508m)
Release Type: Beta
Baseband Version: n/a
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 0x1b2706dcc __exceptionPreprocess + 224
1 libobjc.A.dylib 0x1b2c27688 objc_exception_throw + 59
2 CoreFoundation 0x1b25f76c4 +[NSException raise:format:] + 111
3 UIFoundation 0x1b9a07b5c UINibDecoderDecodeObjectForValue + 411
4 UIFoundation 0x1b9a07ed0 UINibDecoderDecodeObjectForValue + 1295
5 UIFoundation 0x1b99a2d7c -[UINibDecoder decodeObjectForKey:] + 319
6 UIKitCore 0x1ba9c6b14 -[UIView initWithCoder:] + 671
7 UIFoundation 0x1b9a07c9c UINibDecoderDecodeObjectForValue + 731
8 UIFoundation 0x1b99a2d7c -[UINibDecoder decodeObjectForKey:] + 319
9 UIKitCore 0x1ba1fbbd4 -[UIRuntimeConnection initWithCoder:] + 175
10 UIFoundation 0x1b9a07c9c UINibDecoderDecodeObjectForValue + 731
11 UIFoundation 0x1b9a07ed0 UINibDecoderDecodeObjectForValue + 1295
12 UIFoundation 0x1b99a2d7c -[UINibDecoder decodeObjectForKey:] + 319
13 UIKitCore 0x1ba1f6ad4 -[NSCoder+ 6904532 (UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:forKey:] + 491
14 UIKitCore 0x1ba1f970c -[UINib instantiateWithOwner:options:] + 1115
15 UIKitCore 0x1b9f35e88 -[UIViewController _loadViewFromNibNamed:bundle:] + 367
16 UIKitCore 0x1b9f36930 -[UIViewController loadView] + 179
17 UIKitCore 0x1b9f36c00 -[UIViewController loadViewIfRequired] + 187
18 UIKitCore 0x1b9f372e8 -[UIViewController view] + 31
19 UIKitCore 0x1b9eb2924 -[UINavigationController preferredContentSize] + 171
20 UIKitCore 0x1b9e5b53c -[UIPresentationController preferredContentSizeDidChangeForChildContentContainer:] + 71
21 UIKitCore 0x1b9e57754 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 159
22 UIKitCore 0x1b9e5d688 +[UIPresentationController _scheduleTransition:] + 103
23 UIKitCore 0x1b9e5751c -[UIPresentationController runTransitionForCurrentState] + 1539
24 UIKitCore 0x1b9e54e3c -[UIPresentationController _presentWithAnimationController:interactionController:target:didEndSelector:] + 983
25 UIKitCore 0x1ba598868 -[UIWindow addRootViewControllerViewIfPossible] + 399
26 UIKitCore 0x1ba598df0 -[UIWindow _setHidden:forced:] + 319
27 UIKitCore 0x1ba5a964c -[UIWindow _mainQueue_makeKeyAndVisible] + 51
28 UIKitCore 0x1ba78dd84 -[UIWindowScene _loadWindowWithStoryboardIfNeeded:] + 643
29 UIKitCore 0x1ba78dad4 -[UIWindowScene _readySceneForConnection] + 151
30 UIKitCore 0x1b9ba0d4c +[UIScene _sceneForFBSScene:create:withSession:connectionOptions:] + 959
31 UIKitCore 0x1ba55d5f8 -[UIApplication _connectUISceneFromFBSScene:transitionContext:] + 991
32 UIKitCore 0x1ba55d988 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 339
33 UIKitCore 0x1ba10d990 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 375
34 FrontBoardServices 0x1b4e17b00 -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 451
35 FrontBoardServices 0x1b4e4078c __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.174 + 115
36 FrontBoardServices 0x1b4e22fbc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 239
37 FrontBoardServices 0x1b4e40420 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 343
38 libdispatch.dylib 0x1b2ef0114 _dispatch_client_callout + 19
39 libdispatch.dylib 0x1b2ef2e44 _dispatch_block_invoke_direct + 251
40 FrontBoardServices 0x1b4e681b8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 47
41 FrontBoardServices 0x1b4e67e64 -[FBSSerialQueue _performNext] + 419
42 FrontBoardServices 0x1b4e683e4 -[FBSSerialQueue _performNextFromRunLoopSource] + 51
43 CoreFoundation 0x1b26821f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 27
44 CoreFoundation 0x1b268217c __CFRunLoopDoSource0 + 91
45 CoreFoundation 0x1b26818dc __CFRunLoopDoSources0 + 183
46 CoreFoundation 0x1b267c7d0 __CFRunLoopRun + 1067
47 CoreFoundation 0x1b267c07c CFRunLoopRunSpecific + 479
48 GraphicsServices 0x1b184c37c GSEventRunModal + 107
49 UIKitCore 0x1ba56174c UIApplicationMain + 1939
50 ExampleApp 0x102cea760 0x102cdc000 + 59232
51 libdyld.dylib 0x1b2be6964 start + 3
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b2d54f04 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001b2f2cc20 pthread_kill + 224
2 libsystem_c.dylib 0x00000001b2dd4af4 abort + 104
3 libc++abi.dylib 0x00000001b2ed13c8 __cxa_bad_cast + 0
4 libc++abi.dylib 0x00000001b2ed15c0 demangling_unexpected_handler+ 5568 () + 0
5 libobjc.A.dylib 0x00000001b2c27968 _objc_terminate+ 22888 () + 124
6 libc++abi.dylib 0x00000001b2ede634 std::__terminate(void (*)+ 58932 ()) + 20
7 libc++abi.dylib 0x00000001b2ede5c0 std::terminate+ 58816 () + 44
8 libdispatch.dylib 0x00000001b2ef0128 _dispatch_client_callout + 40
9 libdispatch.dylib 0x00000001b2ef2e44 _dispatch_block_invoke_direct + 252
10 FrontBoardServices 0x00000001b4e681b8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
11 FrontBoardServices 0x00000001b4e67e64 -[FBSSerialQueue _performNext] + 420
12 FrontBoardServices 0x00000001b4e683e4 -[FBSSerialQueue _performNextFromRunLoopSource] + 52
13 CoreFoundation 0x00000001b26821f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
14 CoreFoundation 0x00000001b268217c __CFRunLoopDoSource0 + 92
15 CoreFoundation 0x00000001b26818dc __CFRunLoopDoSources0 + 184
16 CoreFoundation 0x00000001b267c7d0 __CFRunLoopRun + 1068
17 CoreFoundation 0x00000001b267c07c CFRunLoopRunSpecific + 480
18 GraphicsServices 0x00000001b184c37c GSEventRunModal + 108
19 UIKitCore 0x00000001ba56174c UIApplicationMain + 1940
20 ExampleApp 0x0000000102cea760 0x102cdc000 + 59232
21 libdyld.dylib 0x00000001b2be6964 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001b2f33c3c start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001b2f33c3c start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001b2f33c3c start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001b2f33c3c start_wqthread + 0
Thread 5 name: com.apple.uikit.eventfetch-thread
Thread 5:
0 libsystem_kernel.dylib 0x00000001b2d32bc0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b2d31fdc mach_msg + 76
2 CoreFoundation 0x00000001b2681a78 __CFRunLoopServiceMachPort + 220
3 CoreFoundation 0x00000001b267c938 __CFRunLoopRun + 1428
4 CoreFoundation 0x00000001b267c07c CFRunLoopRunSpecific + 480
5 Foundation 0x00000001b21ea774 -[NSRunLoop+ 34676 (NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x00000001b21ea64c -[NSRunLoop+ 34380 (NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x00000001ba5f97d4 -[UIEventFetcher threadMain] + 156
8 Foundation 0x00000001b21e9404 -[NSThread main] + 40
9 Foundation 0x00000001b2323488 __NSThread__start__ + 852
10 libsystem_pthread.dylib 0x00000001b2f2bc4c _pthread_start + 132
11 libsystem_pthread.dylib 0x00000001b2f33c50 thread_start + 8
Thread 6:
0 libsystem_pthread.dylib 0x00000001b2f33c3c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000002809fcdb7
x4: 0x00000001b2ee17a8 x5: 0x000000016d1224f0 x6: 0x000000000000006e x7: 0x0000000000000500
x8: 0x0000000000000800 x9: 0x0000000000000407 x10: 0x0000000000000002 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x000000000000001e x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x00000001dca022f0 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000103015840 x21: 0x0000000000000407 x22: 0x0000000103015920 x23: 0x0000000103015920
x24: 0x0000000000001f03 x25: 0x0000000000000000 x26: 0x000000016d122cb0 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x000000016d122450 lr: 0x00000001b2f2cc20
sp: 0x000000016d122420 pc: 0x00000001b2d54f04 cpsr: 0x00000000
esr: 0x56000080 Address size fault

Can't determine cause from this crash log

I had an app in the App Store with lots of crashes, but I can't reproduce it myself.
I have lots of crash logs but they don't contain a backtrace making it difficult to diagnose the issue.
The crash logs show CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER which possibly could be caused by a notification being sent to a deallocated observer according to other questions on SO.
However the app only runs on iOS 10+, and according to Apple its not necessary to de-register observers from iOS 9 onwards unless they are block observers. Which my app doesn't use so that can't be the cause as far as my own apps notifications are concerned.
Incident Identifier: 77AB1312-9C1F-4BC1-957E-B742856DC635
CrashReporter Key: 6ad59ac64c53d2fc92208e8df23d4ddc8fed39fd
Hardware Model: iPhone10,3
Process: My App [378]
Path: /private/var/containers/Bundle/Application/99C2E2C8-9655-4D07-9608-870B5DD17C21/My app.app/My app
Identifier: com.myapp
OS Version: iPhone OS 10.3.2 (14F89)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.myapp[498]
Date/Time: 2018-06-06 00:18:34.2085 -0700
Launch Time: 2018-06-06 00:17:39.1406 -0700
Baseband Version: 2.03.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000018ec4d014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018ed17264 pthread_kill + 112 (pthread.c:1366)
2 libsystem_c.dylib 0x000000018ebc19c4 abort + 140 (abort.c:91)
3 libswiftCore.dylib 0x0000000100ad976c 0x1007ec000 + 3069804
4 libswiftCore.dylib 0x0000000100b0614c 0x1007ec000 + 3252556
5 CoreFoundation 0x000000018fc56f54 ___forwarding___ + 916 (NSForwarding.m:3126)
6 CoreFoundation 0x000000018fb52d4c _CF_forwarding_prep_0 + 92
7 CoreFoundation 0x000000018fbed5f4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20 (CFNotificationCenter.c:650)
8 CoreFoundation 0x000000018fbecd08 _CFXRegistrationPost + 400 (CFNotificationCenter.c:164)
9 CoreFoundation 0x000000018fbeca84 ___CFXNotificationPost_block_invoke + 60 (CFNotificationCenter.c:1031)
10 CoreFoundation 0x000000018fc5b7a8 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1412 (CFXNotificationRegistrar.m:163)
11 CoreFoundation 0x000000018fb3095c _CFXNotificationPost + 376 (CFNotificationCenter.c:1028)
12 Foundation 0x0000000190642930 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 (NSNotification.m:482)
13 UIKit 0x0000000195e07ea8 -[UIApplication _stopDeactivatingForReason:] + 1124 (UIApplication.m:1534)
14 UIKit 0x0000000196005b4c __62-[UIApplication _sceneSettingsPostLifecycleEventDiffInspector]_block_invoke.1259 + 124 (UIApplication.m:3247)
15 FrontBoardServices 0x00000001917e4be8 __52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke.27 + 204 (FBSSettingsDiffInspector.m:46)
16 Foundation 0x00000001906fc7fc __NSIndexSetEnumerate + 724 (NSIndexSet.m:1347)
17 BaseBoard 0x0000000191757510 -[BSSettingsDiff inspectChangesWithBlock:] + 104 (BSSettingsDiff.m:187)
18 FrontBoardServices 0x00000001917dece4 -[FBSSettingsDiff inspectOtherChangesWithBlock:] + 88 (FBSSettingsDiff.m:65)
19 FrontBoardServices 0x00000001917e49bc -[FBSSettingsDiffInspector inspectDiff:withContext:] + 280 (FBSSettingsDiffInspector.m:44)
20 UIKit 0x00000001960064d4 __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 196 (UIApplication.m:3346)
21 UIKit 0x0000000196006124 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 892 (UIApplication.m:3357)
22 UIKit 0x00000001963407c8 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 464 (UIApplicationSceneClientAgent.m:74)
23 FrontBoardServices 0x00000001917ce22c __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.376 + 208 (FBSSceneImpl.m:598)
24 FrontBoardServices 0x00000001917fb884 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:158)
25 FrontBoardServices 0x00000001917fb6f0 -[FBSSerialQueue _performNext] + 176 (FBSSerialQueue.m:177)
26 FrontBoardServices 0x00000001917fbaa0 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:206)
27 CoreFoundation 0x000000018fc0142c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1943)
28 CoreFoundation 0x000000018fc00d9c __CFRunLoopDoSources0 + 540 (CFRunLoop.c:1989)
29 CoreFoundation 0x000000018fbfe9a8 __CFRunLoopRun + 744 (CFRunLoop.c:2821)
30 CoreFoundation 0x000000018fb2eda4 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3113)
31 GraphicsServices 0x0000000191598074 GSEventRunModal + 100 (GSEvent.c:2245)
32 UIKit 0x0000000195de9058 UIApplicationMain + 208 (UIApplication.m:4089)
33 My App 0x00000001000be2e4 main + 56 (MyFile.swift:17)
34 libdyld.dylib 0x000000018eb3d59c start + 4
hread 1:
0 libsystem_pthread.dylib 0x0000000220f92064 start_wqthread + 0
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x0000000220ef6ac8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000220ef6940 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x000000022131d2f0 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x000000022131af80 __CFRunLoopRun + 1404 (CFRunLoop.c:2971)
4 CoreFoundation 0x0000000221254abc CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 Foundation 0x0000000221cd0544 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300 (NSRunLoop.m:367)
6 Foundation 0x0000000221cd03f0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 148 (NSRunLoop.m:411)
7 UIKitCore 0x000000024c433a7c -[UIEventFetcher threadMain] + 136 (UIEventFetcher.m:524)
8 Foundation 0x0000000221de0a94 __NSThread__start__ + 1040 (NSThread.m:1175)
9 libsystem_pthread.dylib 0x0000000220f931e4 _pthread_body + 128 (pthread.c:804)
10 libsystem_pthread.dylib 0x0000000220f93164 _pthread_start + 40 (pthread.c:827)
11 libsystem_pthread.dylib 0x0000000220f92070 thread_start + 4
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x0000000220ef6ac8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000220ef6940 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x000000022131d2f0 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x000000022131af80 __CFRunLoopRun + 1404 (CFRunLoop.c:2971)
4 CoreFoundation 0x0000000221254abc CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 CFNetwork 0x0000000221b5fc8c -[__CoreSchedulingSetRunnable runForever] + 212 (CoreSchedulingSet.mm:1365)
6 Foundation 0x0000000221de0a94 __NSThread__start__ + 1040 (NSThread.m:1175)
7 libsystem_pthread.dylib 0x0000000220f931e4 _pthread_body + 128 (pthread.c:804)
8 libsystem_pthread.dylib 0x0000000220f93164 _pthread_start + 40 (pthread.c:827)
9 libsystem_pthread.dylib 0x0000000220f92070 thread_start + 4
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x0000000220f184ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000220f9a638 _pthread_cond_wait$VARIANT$armv81 + 620 (pthread_cond.c:578)
2 libc++.1.dylib 0x00000002205b2e28 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24 (__threading_support:278)
3 JavaScriptCore 0x0000000228f44524 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 104 (condition_variable:204)
4 JavaScriptCore 0x0000000228f48300 bmalloc::Scavenger::threadRunLoop() + 172 (condition_variable:213)
5 JavaScriptCore 0x0000000228f47ac4 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 12 (Scavenger.cpp:352)
6 JavaScriptCore 0x0000000228f494b8 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 44 (type_traits:4428)
7 libsystem_pthread.dylib 0x0000000220f931e4 _pthread_body + 128 (pthread.c:804)
8 libsystem_pthread.dylib 0x0000000220f93164 _pthread_start + 40 (pthread.c:827)
9 libsystem_pthread.dylib 0x0000000220f92070 thread_start + 4
Thread 5 name:
Thread 5:
0 libsystem_kernel.dylib 0x0000000220efb088 kevent + 8
1 Realm 0x00000001025f112c realm::_impl::ExternalCommitHelper::listen() + 212 (external_commit_helper.cpp:202)
2 Realm 0x00000001025f1d20 std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0>::operator()() + 28 (external_commit_helper.cpp:159)
3 Realm 0x00000001025f1ca8 std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >::__execute() + 28 (future:1039)
4 Realm 0x00000001025f1e58 std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >::*)(), std::__1::__async_assoc_state<void, std::__1::__async_func<realm::_impl::ExternalCommitHelper::ExternalCommitHelper(realm::_impl::RealmCoordinator&)::$_0> >*> >(void*, void*) + 64 (type_traits:4232)
5 libsystem_pthread.dylib 0x0000000220f931e4 _pthread_body + 128 (pthread.c:804)
6 libsystem_pthread.dylib 0x0000000220f93164 _pthread_start + 40 (pthread.c:827)
7 libsystem_pthread.dylib 0x0000000220f92070 thread_start + 4
Thread 6 name:
Thread 6:
0 libsystem_kernel.dylib 0x0000000220ef6ac8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x0000000220ef6940 mach_msg + 72 (mach_msg.c:103)
2 CoreFoundation 0x000000022131d2f0 __CFRunLoopServiceMachPort + 236 (CFRunLoop.c:2615)
3 CoreFoundation 0x000000022131af80 __CFRunLoopRun + 1404 (CFRunLoop.c:2971)
4 CoreFoundation 0x0000000221254abc CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
5 AVFAudio 0x0000000227a31cd0 GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:92)
6 AVFAudio 0x0000000227a5ce94 CAPThread::Entry(CAPThread*) + 88
7 libsystem_pthread.dylib 0x0000000220f931e4 _pthread_body + 128 (pthread.c:804)
8 libsystem_pthread.dylib 0x0000000220f93164 _pthread_start + 40 (pthread.c:827)
9 libsystem_pthread.dylib 0x0000000220f92070 thread_start + 4
Thread 7:
0 libsystem_pthread.dylib 0x0000000220f92064 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x0000000220f92064 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x0000000220f92064 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000282a1a766
x4: 0x0000000103938280 x5: 0x0000000000000020 x6: 0x0046000004210103 x7: 0x00000000ffba0038
x8: 0x0000000000000800 x9: 0x0000000220f98b44 x10: 0x0000000220f9408c x11: 0x000000025b529562
x12: 0x000000025b529562 x13: 0x0000000000000018 x14: 0x0000000000000001 x15: 0x0000000000000881
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000259099100 x21: 0x000000000000002d x22: 0x0000000000000303 x23: 0x00000002590991e0
x24: 0x0000000000000000 x25: 0x000000024d2a3912 x26: 0x0000000102eec200 x27: 0x000000025909cf10
x28: 0x0000000000000001 fp: 0x000000016ddd9960 lr: 0x0000000220f98c70
sp: 0x000000016ddd9930 pc: 0x0000000220f186a4 cpsr: 0x00000000
FYI Line 17 of MyFile.swift is just this:
#objc class RealmDatabase : NSObject
{
var configuration:Realm.Configuration? = nil // Line 17
Thats just a declaration of an optional, so I don't see how that could cause any problems.
Are there any other clues as to what the problem could be?
Just a wild stab in the dark:
One reason that this error can happen is due to ARC and weak references.
A common pattern in iOS is the delegate pattern, where a separate object is constructed to handle the messages of another object. These references are often weak, so that you don't get a memory cycle, where two objects own a strong reference to each other.
Now, it could be, somewhere in your code, that you are generating a RealmDatabase instance somewhere, and handing it off to another object as a weak reference. If this is the case, then it will be destroyed by ARC as soon as all the strong references to it are gone: for example, if it is being referenced by a Realm connection instance of some sort, and the connection is dropped.
This is just a wild guess, but if you are dynamically creating RealmDatabase instances when certain events happen, store references to those objects in a stored property on some object, as an optional, to keep them from being destroyed by ARC.
Good luck, and I hope you solve this for your users.

IOS Device Logs

I recently made some changes to my app that was already on the app store, and a couple days later, I find that my new version gets rejected for crashing on launch. Which is strange because I tested it n an ipad air, and iphone 6 and an iphone 5 and it worked on all 3. I got the following crash log from apple and I was wondering if anyone could help me decipher where the error is, as this is my first time having such a nasty error.
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000101380a1c
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 resumeToolkit 0x0000000101380a1c 0x10136c000 + 84508
1 resumeToolkit 0x0000000101380a64 0x10136c000 + 84580
2 UIKit 0x000000018cf15a00 -[UIViewController loadViewIfRequired] + 1040
3 UIKit 0x000000018cf155d8 -[UIViewController view] + 28
4 resumeToolkit 0x000000010138aef4 0x10136c000 + 126708
5 resumeToolkit 0x000000010138a5a0 0x10136c000 + 124320
6 resumeToolkit 0x000000010138a664 0x10136c000 + 124516
7 UIKit 0x000000018cf15a00 -[UIViewController loadViewIfRequired] + 1040
8 UIKit 0x000000018cf155d8 -[UIViewController view] + 28
9 UIKit 0x000000018cf1c1a4 -[UIWindow addRootViewControllerViewIfPossible] + 136
10 UIKit 0x000000018cf19404 -[UIWindow _setHidden:forced:] + 272
11 UIKit 0x000000018cf882e8 -[UIWindow makeKeyAndVisible] + 48
12 resumeToolkit 0x000000010139f4d0 0x10136c000 + 210128
13 resumeToolkit 0x000000010139b464 0x10136c000 + 193636
14 UIKit 0x000000018cf842c4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 384
15 UIKit 0x000000018d175bc4 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3436
16 UIKit 0x000000018d17aa14 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1712
17 UIKit 0x000000018d4162a8 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 800
18 UIKit 0x000000018d6ee100 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
19 UIKit 0x000000018d415f0c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 252
20 UIKit 0x000000018d41676c -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 732
21 UIKit 0x000000018db9b7c0 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 260
22 UIKit 0x000000018db9b664 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 448
23 UIKit 0x000000018d9092cc __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
24 UIKit 0x000000018daa23cc _performActionsWithDelayForTransitionContext + 112
25 UIKit 0x000000018d90917c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 252
26 UIKit 0x000000018d6ed760 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 364
27 UIKit 0x000000018d179158 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
28 UIKit 0x000000018d58edbc -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
29 FrontBoardServices 0x000000018601e1f0 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364
30 FrontBoardServices 0x0000000186026af8 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224
31 libdispatch.dylib 0x00000001832daa14 _dispatch_client_callout + 16
32 libdispatch.dylib 0x00000001832e2200 _dispatch_block_invoke_direct$VARIANT$mp + 288
33 FrontBoardServices 0x00000001860527f8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36
34 FrontBoardServices 0x000000018605249c -[FBSSerialQueue _performNext] + 404
35 FrontBoardServices 0x0000000186052a38 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
36 CoreFoundation 0x000000018390377c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
37 CoreFoundation 0x00000001839036fc __CFRunLoopDoSource0 + 88
38 CoreFoundation 0x0000000183902f84 __CFRunLoopDoSources0 + 204
39 CoreFoundation 0x0000000183900b5c __CFRunLoopRun + 1048
40 CoreFoundation 0x0000000183820c58 CFRunLoopRunSpecific + 436
41 GraphicsServices 0x00000001856ccf84 GSEventRunModal + 100
42 UIKit 0x000000018cf795c4 UIApplicationMain + 236
43 resumeToolkit 0x00000001013750b4 0x10136c000 + 37044
44 libdyld.dylib 0x000000018334056c start + 4
Thread 1:
0 libsystem_kernel.dylib 0x0000000183470d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183582eec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000183582b6c start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x0000000183470d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183582eec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000183582b6c start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x0000000183470d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183582eec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000183582b6c start_wqthread + 4
Thread 4 name: com.apple.uikit.eventfetch-thread
Thread 4:
0 libsystem_kernel.dylib 0x000000018344f568 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018344f3e0 mach_msg + 72
2 CoreFoundation 0x0000000183903108 __CFRunLoopServiceMachPort + 196
3 CoreFoundation 0x0000000183900cd4 __CFRunLoopRun + 1424
4 CoreFoundation 0x0000000183820c58 CFRunLoopRunSpecific + 436
5 Foundation 0x0000000184255594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001842749ac -[NSRunLoop+ 178604 (NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018dae37a8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001843570f4 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x00000001835842b4 _pthread_body + 308
10 libsystem_pthread.dylib 0x0000000183584180 _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000183582b74 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x0000000183470d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183582eec _pthread_wqthread + 884
2 libsystem_pthread.dylib 0x0000000183582b6c start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x000000018344f5bc semaphore_timedwait_trap + 8
1 libdispatch.dylib 0x00000001832dd000 _dispatch_sema4_timedwait$VARIANT$mp + 84
2 libdispatch.dylib 0x00000001832dd870 _dispatch_semaphore_wait_slow + 72
3 libdispatch.dylib 0x00000001832e91d8 _dispatch_worker_thread + 256
4 libsystem_pthread.dylib 0x00000001835842b4 _pthread_body + 308
5 libsystem_pthread.dylib 0x0000000183584180 _pthread_body + 0
6 libsystem_pthread.dylib 0x0000000183582b74 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x00000001834700f0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000183586ce4 _pthread_cond_wait$VARIANT$mp + 640
2 libc++.1.dylib 0x0000000182b26f34 std::__1::condition_variable::__do_timed_wait+ 32564 (std::__1::unique_lock&, std::__1::chrono::time_point > >) + 96
3 JavaScriptCore 0x000000018acc9168 std::__1::cv_status std::__1::condition_variable::wait_until > >+ 10133864 (std::__1::unique_lock&, std::__1::chrono::time_point > > const&) + 124
4 JavaScriptCore 0x000000018acc903c std::__1::cv_status std::__1::condition_variable_any::wait_until, std::__1::chrono::steady_clock, std::__1::chrono::duration > >+ 10133564 (std::__1::unique_lock&, std::__1::chrono::time_point > > const&) + 108
5 JavaScriptCore 0x000000018acc8ec0 bmalloc::AsyncTask::threadRunLoop+ 10133184 () + 280
6 JavaScriptCore 0x000000018acc91b8 void* std::__1::__thread_proxy >, void (*)(bmalloc::AsyncTask*), bmalloc::AsyncTask*> >+ 10133944 (void*) + 44
7 libsystem_pthread.dylib 0x00000001835842b4 _pthread_body + 308
8 libsystem_pthread.dylib 0x0000000183584180 _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183582b74 thread_start + 4
Thread 8 name: WebThread
Thread 8:
0 libsystem_kernel.dylib 0x0000000183470138 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x0000000183587660 _pthread_mutex_lock_wait + 96
2 libsystem_pthread.dylib 0x00000001835875a4 _pthread_mutex_lock_slow$VARIANT$mp + 264
3 WebCore 0x000000018b797f4c _WebTryThreadLock+ 278348 (bool) + 128
4 WebCore 0x000000018b797eac WebRunLoopLock+ 278188 (__CFRunLoopObserver*, unsigned long, void*) + 44
5 CoreFoundation 0x0000000183902cdc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
6 CoreFoundation 0x0000000183900694 __CFRunLoopDoObservers + 412
7 CoreFoundation 0x0000000183900e38 __CFRunLoopRun + 1780
8 CoreFoundation 0x0000000183820c58 CFRunLoopRunSpecific + 436
9 WebCore 0x000000018b79584c RunWebThread+ 268364 (void*) + 560
10 libsystem_pthread.dylib 0x00000001835842b4 _pthread_body + 308
11 libsystem_pthread.dylib 0x0000000183584180 _pthread_body + 0
12 libsystem_pthread.dylib 0x0000000183582b74 thread_start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x000000018dca8460 x2: 0x0000000000000303 x3: 0x000000016ea90b68
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x000000016ea90fc8
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000010c000001ff
x12: 0x0000000149019000 x13: 0x000005a1b47f9c4f x14: 0xfffffffeb82c60bf x15: 0x000000000000001c
x16: 0x0000000101a3f138 x17: 0x000000018d8ffce0 x18: 0xfffffff01449925c x19: 0x0000000000000000
x20: 0x0000000147d39f40 x21: 0x00000001014f6000 x22: 0x00000001c41e6100 x23: 0x0000000000000001
x24: 0x0000000000000000 x25: 0x00000001c00df170 x26: 0x00000000000003c8 x27: 0x0000000148059978
x28: 0x0000000000000350 fp: 0x000000016ea911c0 lr: 0x0000000101380788
sp: 0x000000016ea91090 pc: 0x0000000101380a1c cpsr: 0x40000000
For anyone still struggling with this, the way I resolved this was by going to window -> organizer and then downloaded the DSYM of the version from which the crash logs were from. My problem was that for some reason the proper DSYM was not being used to symbolicate the code.

Resources