How would I diagnose a SIGSEGV error that appears to only occur on testflight builds on keep-awake module?

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): ios

I can at least tell from the crashlog that it failed on thread 7.
Looking at it I can’t seem to find what exactly would have caused the issue or which library except for may be KeepAwake

0   CrcheConnectUAT               	0x0000000104e77bf0 specialized Set._Variant.remove(_:) + 44 (<compiler-generated>:0)
1   CrcheConnectUAT               	0x0000000104e76b8c partial apply for implicit closure #4 in implicit closure #3 in KeepAwakeModule.definition() + 72 (<compiler-generated>:0)

Code wise it looks simple enough

   ...
      if (this.preventSleepWhenSyncing) {
        activateKeepAwake('syncing');
      }
      await bigAsyncOperation();
    } catch (e) {
      console.error('Error processing syncToServer, e:' + e);
    } finally {
      transaction.finish();
      this.syncInProgress = false;
      if (this.preventSleepWhenSyncing) {
        deactivateKeepAwake('syncing');
      }
    }

The thing that bothers me is this one

Exception Subtype: KERN_INVALID_ADDRESS at 0x8000000000000028 -> 0x0000000000000028 (possible pointer authentication failure)

The memory address looks conspicuously small.

Here’s the crashlog file output

Incident Identifier: 0FFC7A86-3D15-42C2-8A83-7B48DB1AB1D7
Hardware Model:      iPad11,6
Process:             CrcheConnectUAT [320]
Path:                /private/var/containers/Bundle/Application/FF7B22AF-5509-4E3E-AC46-02174A9263C2/CrcheConnectUAT.app/CrcheConnectUAT
Identifier:          com.devhaus.pnbuat
Version:             1.20220805.2 (20220805.2)
AppStoreTools:       13F100
AppVariant:          1:iPad11,6:15
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.devhaus.pnbuat [486]

Date/Time:           2022-08-05 13:00:20.3756 -0400
Launch Time:         2022-08-05 12:59:16.0809 -0400
OS Version:          iPhone OS 15.5 (19F77)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8000000000000028 -> 0x0000000000000028 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x8000000000000028
VM Region Info: 0x28 is not in any region.  Bytes before following region: 4376690648
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   104df0000-104df4000 [   16K] r-x/r-x SM=COW  ...cheConnectUAT
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [320]

Triggered by Thread:  7


Thread 0 name:
Thread 0:
0   libsystem_kernel.dylib        	0x00000001b7b0c4a0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001b7b0cae4 mach_msg + 76 (mach_msg.c:119)
2   libdispatch.dylib             	0x0000000180980408 _dispatch_mach_msg_send + 656 (mach.c:1143)
3   libdispatch.dylib             	0x000000018097fccc _dispatch_mach_send_drain + 348 (mach.c:1336)
4   libdispatch.dylib             	0x000000018097c2c0 _dispatch_mach_send_msg + 364 (mach.c:1844)
5   libdispatch.dylib             	0x000000018097c3b8 dispatch_mach_send_with_result + 52 (mach.c:1880)
6   libxpc.dylib                  	0x00000001f0c9aea0 _xpc_connection_enqueue + 152 (connection.c:939)
7   libxpc.dylib                  	0x00000001f0c9bc10 xpc_connection_send_message + 132 (connection.c:3821)
8   BoardServices                 	0x000000019f2122d4 -[BSXPCServiceConnectionMessage _sendSynchronously:] + 420 (BSXPCServiceConnectionMessage.m:128)
9   BoardServices                 	0x000000019f220404 __80+[BSXPCServiceConnectionProxy createImplementationOfProtocol:forClass:withName:]_block_invoke + 1972 (BSXPCServiceConnectionProxy.m:428)
10  FrontBoardServices            	0x0000000192ef0c88 __85-[FBSWorkspaceScenesClient scene:didUpdateClientSettings:withDiff:transitionContext:]_block_invoke + 188 (FBSWorkspaceScenesClient.m:265)
11  libdispatch.dylib             	0x0000000180961a30 _dispatch_client_callout + 20 (object.m:560)
12  libdispatch.dylib             	0x0000000180970c90 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1028)
13  FrontBoardServices            	0x0000000192f06048 -[FBSWorkspaceScenesClient scene:didUpdateClientSettings:withDiff:transitionContext:] + 276 (FBSWorkspaceScenesClient.m:261)
14  FrontBoardServices            	0x0000000192edd304 __81-[FBSScene _calloutQueue_comsumeLock_updateClientSettings:withTransitionContext:]_block_invoke + 220 (FBSScene.m:325)
15  FrontBoardServices            	0x0000000192efb194 -[FBSBasicSceneAgent scene:reviewEvent:withCompletion:] + 144 (FBSBasicSceneAgent.m:36)
16  FrontBoardServices            	0x0000000192ef9c10 -[FBSScene _calloutQueue_comsumeLock_updateClientSettings:withTransitionContext:] + 504 (FBSScene.m:314)
17  FrontBoardServices            	0x0000000192eecec4 -[FBSScene updateClientSettings:withTransitionContext:] + 168 (FBSScene.m:116)
18  FrontBoardServices            	0x0000000192ef702c -[FBSScene updateClientSettingsWithTransitionBlock:] + 160 (FBSScene.m:131)
19  FrontBoardServices            	0x0000000192ee59ac -[FBSScene updateClientSettingsWithBlock:] + 140 (FBSScene.m:121)
20  UIKitCore                     	0x00000001832d1968 -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 184 (FBSScene+UIApp.m:46)
21  UIKitCore                     	0x00000001834fe134 -[UIApplication _setIdleTimerDisabled:forReason:] + 236 (UIApplication.m:1751)
22  CrcheConnectUAT               	0x0000000104e770d8 partial apply for closure #1 in setActivated(_:) + 68 (KeepAwakeModule.swift:52)
23  CrcheConnectUAT               	0x0000000104e19624 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
24  libdispatch.dylib             	0x000000018095fe6c _dispatch_call_block_and_release + 32 (init.c:1517)
25  libdispatch.dylib             	0x0000000180961a30 _dispatch_client_callout + 20 (object.m:560)
26  libdispatch.dylib             	0x000000018096ff48 _dispatch_main_queue_drain + 928 (inline_internal.h:2622)
27  libdispatch.dylib             	0x000000018096fb98 _dispatch_main_queue_callback_4CF + 44 (queue.c:7770)
28  CoreFoundation                	0x0000000180cb2800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795)
29  CoreFoundation                	0x0000000180c6c704 __CFRunLoopRun + 2532 (CFRunLoop.c:3144)
30  CoreFoundation                	0x0000000180c7fbc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
31  GraphicsServices              	0x000000019cdb3374 GSEventRunModal + 164 (GSEvent.c:2200)
32  UIKitCore                     	0x00000001835ef648 -[UIApplication _run] + 1100 (UIApplication.m:3511)
33  UIKitCore                     	0x0000000183370d90 UIApplicationMain + 364 (UIApplication.m:5064)
34  CrcheConnectUAT               	0x0000000104df7998 main + 88 (main.m:7)
35  dyld                          	0x00000001056adce4 start + 520 (dyldMain.cpp:879)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib        	0x00000001b7b0c4a0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001b7b0cae4 mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                	0x0000000180c67d30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                	0x0000000180c6c1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4   CoreFoundation                	0x0000000180c7fbc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   Foundation                    	0x000000018246e464 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6   Foundation                    	0x00000001824afe2c -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7   UIKitCore                     	0x0000000183569770 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8   Foundation                    	0x00000001824be43c __NSThread__start__ + 808 (NSThread.m:972)
9   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
10  libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001b7b0c4a0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001b7b0cae4 mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                	0x0000000180c67d30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                	0x0000000180c6c1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4   CoreFoundation                	0x0000000180c7fbc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   AudioSession                  	0x000000018a28bf04 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
6   AudioSession                  	0x000000018a2958f0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 3 name:
Thread 3:
0   CrcheConnectUAT               	0x0000000104ec7834 get_nothrow<double> + 0 (dynamic-inl.h:1017)
1   CrcheConnectUAT               	0x0000000104ec7834 get_nothrow<double> + 0 (dynamic-inl.h:1026)
2   CrcheConnectUAT               	0x0000000104ec7834 long long folly::dynamic::asImpl<long long>() const + 260 (dynamic-inl.h:1000)
3   CrcheConnectUAT               	0x000000010503e7e8 asInt + 4 (dynamic-inl.h:495)
4   CrcheConnectUAT               	0x000000010503e7e8 facebook::react::parseMethodCalls(folly::dynamic&&) + 320 (MethodCall.cpp:63)
5   CrcheConnectUAT               	0x0000000105042ebc facebook::react::JsToNativeBridge::callNativeModules(facebook::react::JSExecutor&, folly::dynamic&&, bool) + 116 (NativeToJsBridge.cpp:63)
6   CrcheConnectUAT               	0x000000010505147c facebook::react::JSIExecutor::callNativeModules(facebook::jsi::Value const&, bool) + 108 (JSIExecutor.cpp:419)
7   CrcheConnectUAT               	0x0000000105051624 facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&) + 276 (JSIExecutor.cpp:291)
8   CrcheConnectUAT               	0x000000010504414c 0x104df0000 + 2441548
9   CrcheConnectUAT               	0x0000000104f8e82c operator() + 20 (function.h:505)
10  CrcheConnectUAT               	0x0000000104f8e82c operator() + 20 (function.h:1182)
11  CrcheConnectUAT               	0x0000000104f8e82c facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 32 (RCTCxxUtils.mm:74)
12  CrcheConnectUAT               	0x0000000104f9ad10 facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 24 (RCTMessageThread.mm:69)
13  CrcheConnectUAT               	0x0000000104f9aac4 operator() + 20 (function.h:505)
14  CrcheConnectUAT               	0x0000000104f9aac4 operator() + 20 (function.h:1182)
15  CrcheConnectUAT               	0x0000000104f9aac4 invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 44 (RCTMessageThread.mm:45)
16  CoreFoundation                	0x0000000180cd35a4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 (CFRunLoop.c:1820)
17  CoreFoundation                	0x0000000180cd4500 __CFRunLoopDoBlocks + 412 (CFRunLoop.c:1862)
18  CoreFoundation                	0x0000000180c6c048 __CFRunLoopRun + 808 (CFRunLoop.c:2949)
19  CoreFoundation                	0x0000000180c7fbc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
20  CrcheConnectUAT               	0x0000000104f83e64 +[RCTCxxBridge runRunLoop] + 264 (RCTCxxBridge.mm:378)
21  Foundation                    	0x00000001824be43c __NSThread__start__ + 808 (NSThread.m:972)
22  libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
23  libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bfa0278 scavenger_thread_main + 1232 (pas_scavenger.c:135)
3   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
4   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib        	0x00000001b7b0c4a0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	0x00000001b7b0cae4 mach_msg + 76 (mach_msg.c:119)
2   CoreFoundation                	0x0000000180c67d30 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3   CoreFoundation                	0x0000000180c6c1bc __CFRunLoopRun + 1180 (CFRunLoop.c:3000)
4   CoreFoundation                	0x0000000180c7fbc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5   CFNetwork                     	0x00000001816f823c +[__CFN_CoreSchedulingSetRunnable _run:] + 472 (CoreSchedulingSet.mm:1372)
6   Foundation                    	0x00000001824be43c __NSThread__start__ + 808 (NSThread.m:972)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 6:
0   libsystem_pthread.dylib       	0x00000001f0c73e54 start_wqthread + 0

Thread 7 name:
Thread 7 Crashed:
0   CrcheConnectUAT               	0x0000000104e77bf0 specialized Set._Variant.remove(_:) + 44 (<compiler-generated>:0)
1   CrcheConnectUAT               	0x0000000104e76b8c partial apply for implicit closure #4 in implicit closure #3 in KeepAwakeModule.definition() + 72 (<compiler-generated>:0)
2   CrcheConnectUAT               	0x0000000104e76b2c partial apply for thunk for @escaping @callee_guaranteed (@guaranteed String) -> (@unowned Bool, @error @owned Error) + 32 (<compiler-generated>:0)
3   CrcheConnectUAT               	0x0000000104e77f1c thunk for @escaping @callee_guaranteed (@guaranteed String) -> (@unowned Bool, @error @owned Error)partial apply + 12
4   CrcheConnectUAT               	0x0000000104e9aa84 ConcreteFunction.call(args:promise:) + 504 (ConcreteFunction.swift:54)
5   CrcheConnectUAT               	0x0000000104e9b8a8 protocol witness for AnyFunction.call(args:promise:) in conformance ConcreteFunction<A, B> + 20 (<compiler-generated>:0)
6   CrcheConnectUAT               	0x0000000104eb61b8 partial apply for closure #1 in ModuleHolder.call(function:args:promise:) + 92 (ModuleHolder.swift:81)
7   CrcheConnectUAT               	0x0000000104e19624 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
8   libdispatch.dylib             	0x000000018095fe6c _dispatch_call_block_and_release + 32 (init.c:1517)
9   libdispatch.dylib             	0x0000000180961a30 _dispatch_client_callout + 20 (object.m:560)
10  libdispatch.dylib             	0x0000000180964b44 _dispatch_queue_override_invoke + 784 (inline_internal.h:2622)
11  libdispatch.dylib             	0x0000000180973164 _dispatch_root_queue_drain + 396 (inline_internal.h:0)
12  libdispatch.dylib             	0x000000018097396c _dispatch_worker_thread2 + 164 (queue.c:6935)
13  libsystem_pthread.dylib       	0x00000001f0c74080 _pthread_wqthread + 228 (pthread.c:2612)
14  libsystem_pthread.dylib       	0x00000001f0c73e5c start_wqthread + 8

Thread 8:
0   libsystem_pthread.dylib       	0x00000001f0c73e54 start_wqthread + 0

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 10 name:
Thread 10:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib        	0x00000001b7b0cf24 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	0x00000001f0c7b298 _pthread_cond_wait + 1236 (pthread_cond.c:636)
2   JavaScriptCore                	0x000000018bf01314 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1844 (ThreadingPOSIX.cpp:622)
3   JavaScriptCore                	0x000000018bec6448 bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 308 (ParkingLot.h:82)
4   JavaScriptCore                	0x000000018bec68d0 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 260 (Condition.h:77)
5   JavaScriptCore                	0x000000018bf224b8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                	0x000000018bf247c4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib       	0x00000001f0c749ac _pthread_start + 148 (pthread.c:891)
8   libsystem_pthread.dylib       	0x00000001f0c73e68 thread_start + 8

Thread 15:
0   libsystem_pthread.dylib       	0x00000001f0c73e54 start_wqthread + 0


Thread 7 crashed with ARM Thread State (64-bit):
    x0: 0x00676e69636e7973   x1: 0xe700000000000000   x2: 0x0000000104e76b7c   x3: 0x0000000283577bb8
    x4: 0x0000000000000021   x5: 0x000000016b7b2b50   x6: 0x0000000000000001   x7: 0x0000000000000001
    x8: 0x0000000000000001   x9: 0x0000000000000000  x10: 0x0000000001000000  x11: 0x00000000000007fd
   x12: 0x0000000000000055  x13: 0x00000000ade6505a  x14: 0x00000000ae065800  x15: 0x00000000000000cb
   x16: 0x0000000185ac3bf0  x17: 0x48d80001daf6f9f0  x18: 0x0000000000000000  x19: 0x0000000283577bb8
   x20: 0x0000000283577bb8  x21: 0x00676e69636e7973  x22: 0x8000000000000000  x23: 0xe700000000000000
   x24: 0x00676e69636e7973  x25: 0x00000001daf6bf80  x26: 0x000000016b7b2bb0  x27: 0x0000000281640190
   x28: 0x00000001daf6fa30   fp: 0x000000016b7b2b10   lr: 0x0000000104e76b8c
    sp: 0x000000016b7b2a80   pc: 0x0000000104e77bf0 cpsr: 0x20000000
   esr: 0x92000006 (Data Abort) byte read Translation fault


Binary Images:
0x104df0000 - 0x1052b7fff CrcheConnectUAT arm64  <d94dbfcf041a32ec80c9d1f80fba6339> /private/var/containers/Bundle/Application/FF7B22AF-5509-4E3E-AC46-02174A9263C2/CrcheConnectUAT.app/CrcheConnectUAT
0x105694000 - 0x1056ebfff dyld arm64e  <7c9c7851823738a7b1eb9cd2deb4b746> /usr/lib/dyld
0x18095e000 - 0x1809a3fff libdispatch.dylib arm64e  <355accf439173730bc55ef7003887abe> /usr/lib/system/libdispatch.dylib
0x180c61000 - 0x1810b6fff CoreFoundation arm64e  <5198fb5756453b34a49ff32b52256cf3> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x181480000 - 0x181941fff CFNetwork arm64e  <7072273c58d23dc29e98a6ed768544d8> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x182455000 - 0x18275ffff Foundation arm64e  <ac6ad2f3c7b138aa858857036a663180> /System/Library/Frameworks/Foundation.framework/Foundation
0x1830db000 - 0x184976fff UIKitCore arm64e  <3ed35565456d33cbb5546c567fa81585> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x18a285000 - 0x18a2affff AudioSession arm64e  <517338a283153b61b47f5cb914d4fcec> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x18beb8000 - 0x18d337fff JavaScriptCore arm64e  <62eb08d23ec033a397891fc94458f203> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x192edb000 - 0x192f87fff FrontBoardServices arm64e  <8d4d34db2d963e20b4199e756760d079> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
0x19cdb2000 - 0x19cdbafff GraphicsServices arm64e  <260f066ec5de3844967e483985448f21> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x19f210000 - 0x19f263fff BoardServices arm64e  <3ba970a8ff4a3a1c9cd792d26d37994a> /System/Library/PrivateFrameworks/BoardServices.framework/BoardServices
0x1b7b0b000 - 0x1b7b40fff libsystem_kernel.dylib arm64e  <1db00c916ad8384085030c6fbffa8e0b> /usr/lib/system/libsystem_kernel.dylib
0x1f0c73000 - 0x1f0c7efff libsystem_pthread.dylib arm64e  <1026e3a4d3c03b0da552f185d6772a29> /usr/lib/system/libsystem_pthread.dylib
0x1f0c8e000 - 0x1f0ccafff libxpc.dylib arm64e  <267da60eb413307fbf47c71b78244a25> /usr/lib/system/libxpc.dylib

EOF

Apparently this is a known issue [expo-keep-awake][ios] Constant crashes / EXC_BAD_ACCESS / NSInvalidArgumentException · Issue #18292 · expo/expo (github.com)

Yes, it looks like something that is supposed to be a pointer to a struct and the code tried to reference something at offset 0x28 in the struct, but instead of a valid pointer it was NULL.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.