Skip to content

EXC_BAD_ACCESS, KERN_INVALID_ADDRESS iOS crash from dismissModal #7976

Closed
@antpuleo-es

Description

@antpuleo-es

What happened?

We can see many thousands of a crash on iOS in Production. Although I've not been able to reproduce the crash, the App Store report in Xcode points to modal dismissal as the cause.

Crash report:

Date/Time:           2025-03-04 18:37:28.5705 +0100
Launch Time:         2025-03-04 16:18:41.7807 +0100
OS Version:          iPhone OS 17.5.1 (21F90)
Release Type:        User
Baseband Version:    5.00.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000096d23f6a5d20 -> 0x000000523f6a5d20 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x000096d23f6a5d20
VM Region Info: 0x523f6a5d20 is in 0x1000000000-0x7000000000;  bytes after start: 284531776800  bytes before end: 127785083615
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      commpage (reserved)      fc0000000-1000000000 [  1.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
--->  GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL  reserved VM address space (unallocated)
      UNUSED SPACE AT END
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [84001]

Triggered by Thread:  0


Thread 0 name:
Thread 0 Crashed:
0   libobjc.A.dylib               	0x000000018f9f7020 objc_msgSend + 32 (:-1)
1   Production                    	0x0000000100ed3810 -[SentryUIViewControllerPerformanceTracker createTimeToDisplay:] + 136 (SentryUIViewControllerPerformanceTracker.m:139)
2   Production                    	0x0000000100ed3318 __84-[SentryUIViewControllerPerformanceTracker viewControllerLoadView:callbackToOrigin:]_block_invoke + 264 (SentryUIViewControllerPerformanceTracker.m:78)
3   Production                    	0x0000000100ed475c -[SentryUIViewControllerPerformanceTracker limitOverride:target:callbackToOrigin:block:] + 208 (SentryUIViewControllerPerformanceTracker.m:385)
4   Production                    	0x0000000100ed30e8 -[SentryUIViewControllerPerformanceTracker viewControllerLoadView:callbackToOrigin:] + 220 (SentryUIViewControllerPerformanceTracker.m:72)
5   Production                    	0x0000000100ed6894 __51-[SentryUIViewControllerSwizzling swizzleLoadView:]_block_invoke_2 + 132 (SentryUIViewControllerSwizzling.m:365)
6   UIKitCore                     	0x0000000199dafb3c -[UIViewController loadViewIfRequired] + 156 (UIViewController.m:4704)
7   UIKitCore                     	0x0000000199dafa80 -[UIViewController view] + 24 (UIViewController.m:4776)
8   Production                    	0x0000000100e22fc4 __58-[RNNModalManager removePendingNextModalIfOnTop:animated:]_block_invoke + 36 (RNNModalManager.m:145)
9   UIKitCore                     	0x000000019a00a2e4 -[UIPresentationController transitionDidFinish:] + 1096 (UIPresentationController.m:651)
10  UIKitCore                     	0x000000019a5a4554 -[_UICurrentContextPresentationController transitionDidFinish:] + 44 (_UICurrentContextPresentationController.m:74)
11  UIKitCore                     	0x000000019a009d88 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.114 + 320 (UIPresentationController.m:1390)
12  UIKitCore                     	0x000000019a0639ac -[_UIViewControllerTransitionContext completeTransition:] + 116 (UIViewControllerTransitioning.m:304)
13  UIKitCore                     	0x000000019a107e30 -[UITransitionView notifyDidCompleteTransition:] + 180 (UITransitionView.m:280)
14  UIKitCore                     	0x000000019a107ab4 -[UITransitionView _didCompleteTransition:] + 832 (UITransitionView.m:249)
15  UIKitCore                     	0x0000000199de291c __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 36 (UIView.m:16396)
16  UIKitCore                     	0x0000000199de2800 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 624 (UIView.m:16429)
17  UIKitCore                     	0x0000000199de1518 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 436 (UIView.m:0)
18  UIKitCore                     	0x0000000199deeb14 -[UIViewAnimationState animationDidStop:finished:] + 192 (UIView.m:2400)
19  UIKitCore                     	0x0000000199deeb84 -[UIViewAnimationState animationDidStop:finished:] + 304 (UIView.m:2422)
20  QuartzCore                    	0x0000000199190c50 run_animation_callbacks(void*) + 132 (CALayer.mm:7714)
21  libdispatch.dylib             	0x000000019f9f9dd4 _dispatch_client_callout + 20 (object.m:576)
22  libdispatch.dylib             	0x000000019fa085a4 _dispatch_main_queue_drain + 988 (queue.c:7898)
23  libdispatch.dylib             	0x000000019fa081b8 _dispatch_main_queue_callback_4CF + 44 (queue.c:8058)
24  CoreFoundation                	0x0000000197b27710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
25  CoreFoundation                	0x0000000197b24914 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
26  CoreFoundation                	0x0000000197b23cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
27  GraphicsServices              	0x00000001dc9d41a8 GSEventRunModal + 164 (GSEvent.c:2196)
28  UIKitCore                     	0x000000019a15c90c -[UIApplication _run] + 888 (UIApplication.m:3713)
29  UIKitCore                     	0x000000019a2109d0 UIApplicationMain + 340 (UIApplication.m:5303)
30  Production                    	0x0000000100025cf4 main + 80 (main.m:15)
31  dyld                          	0x00000001bb1d5e4c start + 2240 (dyldMain.cpp:1298)

Thread 1:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib        	0x00000001e0c04808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0c08008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0c07f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0c07d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000197b24f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000197b24600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000197b23cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   Foundation                    	0x0000000196a44e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                    	0x0000000196a44c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                     	0x000000019a170640 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)
10  Foundation                    	0x0000000196a5b718 __NSThread__start__ + 732 (NSThread.m:991)
11  libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
12  libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 3:
0   libsystem_kernel.dylib        	0x00000001e0c0a3ec __semwait_signal + 8 (:-1)
1   libsystem_c.dylib             	0x000000019fa535f0 nanosleep + 220 (nanosleep.c:104)
2   libsystem_c.dylib             	0x000000019fab072c sleep + 52 (sleep.c:62)
3   Production                    	0x0000000100e5d62c monitorCachedData + 660 (SentryCrashCachedData.c:146)
4   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
5   libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib        	0x00000001e0c04808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0c08008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0c07f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0c07d60 mach_msg + 24 (mach_msg.c:323)
4   Production                    	0x0000000100e67ed0 handleExceptions + 172 (SentryCrashMonitor_MachException.c:313)
5   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib        	0x00000001e0c04808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0c08008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0c07f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0c07d60 mach_msg + 24 (mach_msg.c:323)
4   Production                    	0x0000000100e6813c handleExceptions + 792 (SentryCrashMonitor_MachException.c:401)
5   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib        	0x00000001e0c0a3ec __semwait_signal + 8 (:-1)
1   libsystem_c.dylib             	0x000000019fa535f0 nanosleep + 220 (nanosleep.c:104)
2   Foundation                    	0x0000000196b97714 +[NSThread sleepForTimeInterval:] + 160 (NSThread.m:527)
3   Production                    	0x0000000100e48034 -[SentryANRTracker detectANRs] + 556 (SentryANRTracker.m:105)
4   Foundation                    	0x0000000196a5b718 __NSThread__start__ + 732 (NSThread.m:991)
5   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
6   libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 7 name:
Thread 7:
0   Production                    	0x0000000100dcf470 facebook::jsi::(anonymous namespace)::valueFromDynamicShallow(facebook::jsi::Runtime&, std::__1::vector<facebook::jsi::(anonymous namespace)::FromDynamic, std::__1::allocator<facebook::jsi::(anonym... + 88 (JSIDynamic.cpp:40)
1   Production                    	0x0000000100dcf134 facebook::jsi::valueFromDynamic(facebook::jsi::Runtime&, folly::dynamic const&) + 56 (JSIDynamic.cpp:68)
2   Production                    	0x0000000100dd4864 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std... + 24 (JSIExecutor.cpp:238)
3   Production                    	0x0000000100dd4864 decltype(std::declval<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::... + 24 (invoke.h:340)
4   Production                    	0x0000000100dd4864 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocato... + 24 (invoke.h:415)
5   Production                    	0x0000000100dd4864 std::__1::__function::__alloc_func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<cha... + 24 (function.h:193)
6   Production                    	0x0000000100dd4864 std::__1::__function::__func<facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std... + 56 (function.h:364)
7   Production                    	0x0000000100beb930 decltype(std::declval<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>()(std::declval<std:... + 32 (invoke.h:340)
8   Production                    	0x0000000100beb930 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<void (*&)(std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<cha... + 72 (invoke.h:415)
9   Production                    	0x0000000100dd2288 std::__1::__function::__value_func<void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator(... + 32 (function.h:518)
10  Production                    	0x0000000100dd2288 std::__1::function<void (std::__1::function<void ()> const&, std::__1::function<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> ()>)>::operator()(std::__1::func... + 32 (function.h:1169)
11  Production                    	0x0000000100dd2288 facebook::react::JSIExecutor::callFunction(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std... + 440 (JSIExecutor.cpp:232)
12  Production                    	0x0000000100dbad64 std::__1::__function::__value_func<void (facebook::react::JSExecutor*)>::operator()[abi:ue170006](facebook::react::JSExecutor*&&) const + 24 (function.h:518)
13  Production                    	0x0000000100dbad64 std::__1::function<void (facebook::react::JSExecutor*)>::operator()(facebook::react::JSExecutor*) const + 24 (function.h:1169)
14  Production                    	0x0000000100dbad64 facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_8::operator()() const + 48 (NativeToJsBridge.cpp:308)
15  Production                    	0x0000000100dbad64 decltype(std::declval<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_8&>()()) std::__1::__invoke[abi:ue170006]<facebook::react::... + 48 (invoke.h:340)
16  Production                    	0x0000000100dbad64 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_8&>... + 48 (invoke.h:415)
17  Production                    	0x0000000100dbad64 std::__1::__function::__alloc_func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_8, std::__1::allocator<facebook::react::Native... + 48 (function.h:193)
18  Production                    	0x0000000100dbad64 std::__1::__function::__func<facebook::react::NativeToJsBridge::runOnExecutorQueue(std::__1::function<void (facebook::react::JSExecutor*)>&&)::$_8, std::__1::allocator<facebook::react::NativeToJsBr... + 60 (function.h:364)
19  Production                    	0x0000000100bee718 std::__1::__function::__value_func<void ()>::operator()[abi:ue170006]() const + 20 (function.h:518)
20  Production                    	0x0000000100bee718 std::__1::function<void ()>::operator()() const + 20 (function.h:1169)
21  Production                    	0x0000000100bee718 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 32 (RCTCxxUtils.mm:73)
22  Production                    	0x0000000100bfb2a8 facebook::react::RCTMessageThread::tryFunc(std::__1::function<void ()> const&) + 24 (RCTMessageThread.mm:68)
23  Production                    	0x0000000100bfb0b4 std::__1::__function::__value_func<void ()>::operator()[abi:ue170006]() const + 20 (function.h:518)
24  Production                    	0x0000000100bfb0b4 std::__1::function<void ()>::operator()() const + 20 (function.h:1169)
25  Production                    	0x0000000100bfb0b4 invocation function for block in facebook::react::RCTMessageThread::runAsync(std::__1::function<void ()>) + 44 (RCTMessageThread.mm:44)
26  CoreFoundation                	0x0000000197b36c9c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 (CFRunLoop.c:1805)
27  CoreFoundation                	0x0000000197b24dec __CFRunLoopDoBlocks + 356 (CFRunLoop.c:1847)
28  CoreFoundation                	0x0000000197b24ad0 __CFRunLoopRun + 2440 (CFRunLoop.c:3203)
29  CoreFoundation                	0x0000000197b23cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
30  Production                    	0x0000000100be413c +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:326)
31  Foundation                    	0x0000000196a5b718 __NSThread__start__ + 732 (NSThread.m:991)
32  libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
33  libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib        	0x00000001e0c0a1cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f49aa6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001a7f0a504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3   hermes                        	0x00000001027bfeac void std::__1::condition_variable::wait<hermes::vm::HadesGC::Executor::worker()::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, hermes::vm::HadesGC::Executor::worker()::'lambda'()) + 28 (__mutex_base:400)
4   hermes                        	0x00000001027bfeac hermes::vm::HadesGC::Executor::worker() + 116 (HadesGC.cpp:1066)
5   hermes                        	0x00000001027bfe14 hermes::vm::HadesGC::Executor::Executor()::'lambda'()::operator()() const + 4 (HadesGC.cpp:1033)
6   hermes                        	0x00000001027bfe14 decltype(std::declval<hermes::vm::HadesGC::Executor::Executor()::'lambda'()>()()) std::__1::__invoke[abi:v160006]<hermes::vm::HadesGC::Executor::Executor()::'lambda'()>(hermes::vm::HadesGC::Executo... + 4 (invoke.h:394)
7   hermes                        	0x00000001027bfe14 void std::__1::__thread_execute[abi:v160006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda... + 4 (thread:288)
8   hermes                        	0x00000001027bfe14 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Exec... + 44 (thread:299)
9   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
10  libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 9:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)

Thread 10:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib        	0x00000001e0c04808 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib        	0x00000001e0c08008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib        	0x00000001e0c07f20 mach_msg_overwrite + 436 (mach_msg.c:0)
3   libsystem_kernel.dylib        	0x00000001e0c07d60 mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                	0x0000000197b24f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5   CoreFoundation                	0x0000000197b24600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6   CoreFoundation                	0x0000000197b23cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7   CFNetwork                     	0x0000000198d04c90 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1473)
8   Foundation                    	0x0000000196a5b718 __NSThread__start__ + 732 (NSThread.m:991)
9   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
10  libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib        	0x00000001e0c0a1cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f49aa6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   libc++.1.dylib                	0x00000001a7f0a504 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:45)
3   hermes                        	0x00000001027bfeac void std::__1::condition_variable::wait<hermes::vm::HadesGC::Executor::worker()::'lambda'()>(std::__1::unique_lock<std::__1::mutex>&, hermes::vm::HadesGC::Executor::worker()::'lambda'()) + 28 (__mutex_base:400)
4   hermes                        	0x00000001027bfeac hermes::vm::HadesGC::Executor::worker() + 116 (HadesGC.cpp:1066)
5   hermes                        	0x00000001027bfe14 hermes::vm::HadesGC::Executor::Executor()::'lambda'()::operator()() const + 4 (HadesGC.cpp:1033)
6   hermes                        	0x00000001027bfe14 decltype(std::declval<hermes::vm::HadesGC::Executor::Executor()::'lambda'()>()()) std::__1::__invoke[abi:v160006]<hermes::vm::HadesGC::Executor::Executor()::'lambda'()>(hermes::vm::HadesGC::Executo... + 4 (invoke.h:394)
7   hermes                        	0x00000001027bfe14 void std::__1::__thread_execute[abi:v160006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Executor()::'lambda... + 4 (thread:288)
8   hermes                        	0x00000001027bfe14 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, hermes::vm::HadesGC::Executor::Exec... + 44 (thread:299)
9   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
10  libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 13:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib        	0x00000001e0c0a1cc __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib       	0x00000001f49aa6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2   JavaScriptCore                	0x00000001af1d70a4 scavenger_thread_main + 1512 (pas_scavenger.c:347)
3   libsystem_pthread.dylib       	0x00000001f49ad06c _pthread_start + 136 (pthread.c:931)
4   libsystem_pthread.dylib       	0x00000001f49a80d8 thread_start + 8 (:-1)

Thread 15:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)

Thread 16:
0   libsystem_pthread.dylib       	0x00000001f49a80c4 start_wqthread + 0 (:-1)


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000003001a5d10   x1: 0x0000000191cd30f2   x2: 0x000000016fdddc38   x3: 0x00000000000000ff
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x3232313439313931   x7: 0x0000000000000010
    x8: 0x00000001f884bfa0   x9: 0x0000000000000103  x10: 0x6ae10003001a5d10  x11: 0x0000000000000018
   x12: 0x000000000000000f  x13: 0x0000000000000008  x14: 0x000096d23f6a5d10  x15: 0x000096d23f6a5d10
   x16: 0x000096d23f6a5d10  x17: 0xaa1703e2aa1503e1  x18: 0x0000000000000000  x19: 0x0000000157533740
   x20: 0x000000030002d830  x21: 0x000000015d3e0140  x22: 0x000000010176c758  x23: 0x0000000000000001
   x24: 0x0000000000000020  x25: 0x0000000156211a00  x26: 0x000000015804a400  x27: 0x000000030156fb80
   x28: 0x0000000000000001   fp: 0x000000016fdddcb0   lr: 0x0000000100ed3810
    sp: 0x000000016fdddc80   pc: 0x000000018f9f7020 cpsr: 0x20000000
   esr: 0x92000004 (Data Abort) byte read Translation fault


Binary Images:
        0x100020000 -         0x101593fff Production arm64  <13491906746e32f8a4d925d2006d1bbd> /private/var/containers/Bundle/Application/893B87A7-8CA6-4793-BBD6-1D92AD3551A0/Production.app/Production
        0x101b88000 -         0x101b93fff libobjc-trampolines.dylib arm64e  <2e2c05f8377a30899ad91926d284dd03> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
        0x101ce8000 -         0x101d53fff Adyen3DS2 arm64  <6c57d47151e432f38e784156bb4f8b2c> /private/var/containers/Bundle/Application/893B87A7-8CA6-4793-BBD6-1D92AD3551A0/Production.app/Frameworks/Adyen3DS2.framework/Adyen3DS2
        0x1026f4000 -         0x1028c7fff hermes arm64  <ac17b9b8390c31268c482aa79cd779b7> /private/var/containers/Bundle/Application/893B87A7-8CA6-4793-BBD6-1D92AD3551A0/Production.app/Frameworks/hermes.framework/hermes
        0x18f9f4000 -         0x18fa41f43 libobjc.A.dylib arm64e  <53115e1fe35330d99e8a4e6e73489f05> /usr/lib/libobjc.A.dylib
        0x19697d000 -         0x1974f2fff Foundation arm64e  <3d3a12e3f5e9361fb00a4a5e8861aa55> /System/Library/Frameworks/Foundation.framework/Foundation
        0x197ad1000 -         0x197ffefff CoreFoundation arm64e  <00e76a98210c3cb5930bf236807ff24c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
        0x198c07000 -         0x198fe3fff CFNetwork arm64e  <a5124019e235371686c7e75cf0163945> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
        0x199143000 -         0x1994d0fff QuartzCore arm64e  <a4b65b359eeb38e49d4f7146aae1e28c> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
        0x199d52000 -         0x19b872fff UIKitCore arm64e  <1741fa374e53371e8daed611aab0043d> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
        0x19f9f6000 -         0x19fa3cfff libdispatch.dylib arm64e  <81d355df266a3010bab8113b76a206c1> /usr/lib/system/libdispatch.dylib
        0x19fa3d000 -         0x19fabaff3 libsystem_c.dylib arm64e  <b122f07fa15637f3a22d64627c0c4b24> /usr/lib/system/libsystem_c.dylib
        0x1a7efd000 -         0x1a7f86fff libc++.1.dylib arm64e  <badf6383449432f297ef716ea17420f6> /usr/lib/libc++.1.dylib
        0x1adc7c000 -         0x1af3acf3f JavaScriptCore arm64e  <52d2aba5f8113d4fb077afae7e6f44cc> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
        0x1bb199000 -         0x1bb225ef7 dyld arm64e  <71846eacee653697bf7d790b6a07dcdb> /usr/lib/dyld
        0x1dc9d3000 -         0x1dc9dbfff GraphicsServices arm64e  <c19b2aeb6aa83f998a53f76c7a0d98fe> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
        0x1e0c03000 -         0x1e0c3cfef libsystem_kernel.dylib arm64e  <13b5134e819c3baab3004856112114cb> /usr/lib/system/libsystem_kernel.dylib
        0x1f49a7000 -         0x1f49b3ff3 libsystem_pthread.dylib arm64e  <1196b6c3333d3450818ff3663484b8eb> /usr/lib/system/libsystem_pthread.dylib

EOF

Xcode points to RNNModalManager:

if (modalToDismiss.view) {
    [self dismissedModal:modalToDismiss];
}

What was the expected behaviour?

App shouldn't crash.

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

I'm unable to reproduce it.

In what environment did this happen?

React Native Navigation version: 7.40.1
React Native version: 0.74.6
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version:
Device model: iPhone 11
iOS version: 17.5.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions