Description
What happened?
We are seeing the following crash appearing 100s of times in our Sentry logs after updating react-native and react-native-navigation to the following versions:
RN: 0.73.11
RNN: 7.40.3
I can't seem to reproduce it on my own iPhone (13 Pro max). There is no clear pattern of iOS device / software version causing the bug.
Incident Identifier: AC2FDAB6-AEF6-43F3-97DB-35AE09D781F6
Distributor ID: com.apple.AppStore
Hardware Model: iPad11,6
Process: basenetapp [4380]
Path: /private/var/containers/Bundle/Application/03ECE529-895D-48E1-A7D3-E58BEA85F3D2/basenetapp.app/basenetapp
Identifier: REDACTED
Version: REDACTED
AppStoreTools: 16B39
AppVariant: 1:iPad11,6:15
Code Type: ARM-64 (Native)
Role: Background
Parent Process: launchd [1]
Coalition: REDACTED
Date/Time: 2024-12-09 18:11:58.7740 +0100
Launch Time: 2024-12-09 18:10:35.2681 +0100
OS Version: iPhone OS 18.1.1 (22B91)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: *** -[__NSFrozenArrayM objectAtIndexedSubscript:]: index 9223372036854775807 beyond bounds [0 .. 4]
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: basenetapp [4380]
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1960c87cc __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x19339b2e4 objc_exception_throw + 88 (objc-exception.mm:356)
2 CoreFoundation 0x1960881ec -[__NSFrozenArrayM objectAtIndexedSubscript:] + 540 (NSArrayM.m:564)
3 basenetapp 0x1025c48cc -[RNNBottomTabsController selectedViewController] + 80 (RNNBottomTabsController.m:132)
4 basenetapp 0x1025fb324 -[UIViewController(LayoutProtocol) resolveOptions] + 56 (UIViewController+LayoutProtocol.m:42)
5 basenetapp 0x1025c2b6c -[RNNBasePresenter hidesBottomBarWhenPushed] + 60 (RNNBasePresenter.m:157)
6 basenetapp 0x1025d22d0 -[RNNComponentViewController hidesBottomBarWhenPushed] + 32 (RNNComponentViewController.m:239)
7 UIKitCore 0x198a10a90 -[UINavigationController _shouldBottomBarBeHidden] + 188 (UINavigationController.m:8542)
8 UIKitCore 0x198a10634 -[UINavigationController _hideOrShowBottomBarIfNeededWithTransition:] + 48 (UINavigationController.m:8593)
9 UIKitCore 0x1992b4728 -[UINavigationController _immediatelyApplyViewControllers:transition:animated:operation:] + 3212 (UINavigationController.m:1940)
10 UIKitCore 0x1992b3924 __94-[UINavigationController _applyViewControllers:transition:animated:operation:rescheduleBlock:]_block_invoke + 100 (UINavigationController.m:1455)
11 UIKitCore 0x1992b36f0 -[UINavigationController _applyViewControllers:transition:animated:operation:rescheduleBlock:] + 776 (UINavigationController.m:1532)
12 UIKitCore 0x198bb8350 -[UINavigationController _setViewControllers:transition:animated:operation:] + 364 (UINavigationController.m:1408)
13 UIKitCore 0x198bb64b4 __54-[UINavigationController setViewControllers:animated:]_block_invoke + 768 (UINavigationController.m:1161)
14 UIKitCore 0x198ceb02c -[UINavigationController setViewControllers:animated:] + 956 (UINavigationController.m:1222)
15 UIKitCore 0x198ceac20 -[UIMoreNavigationController setDisplayedViewController:] + 156 (UIMoreNavigationController.m:139)
16 UIKitCore 0x198c1b46c -[UITabBarController _setSelectedViewController:performUpdates:] + 388 (UITabBarController.m:2441)
17 UIKitCore 0x198c1aab8 -[UITabBarController setSelectedViewController:] + 84 (UITabBarController.m:2403)
18 basenetapp 0x1025c4988 -[RNNBottomTabsController setSelectedViewController:] + 132 (RNNBottomTabsController.m:138)
19 UIKitCore 0x1988abf30 +[UIView(Animation) performWithoutAnimation:] + 76 (UIView.m:16214)
20 UIKitCore 0x198c061b4 -[UITabBarController _setViewControllers:animated:] + 2460 (UITabBarController.m:2256)
21 UIKitCore 0x198c1acd0 -[UITabBarController _updateLayoutForTraitCollection:] + 168 (UITabBarController.m:1233)
22 UIKitCore 0x1993483ac __UIVIEWCONTROLLERTRANSITIONCOORDINATOR_IS_EXECUTING_ALONGSIDE_ANIMATION_BLOCK__ + 36 (UIViewControllerTransitioning.m:1282)
23 UIKitCore 0x198b0f648 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] + 124 (UIViewControllerTransitioning.m:1299)
24 UIKitCore 0x198b0f518 -[_UIViewControllerTransitionContext __runAlongsideAnimations] + 272 (UIViewControllerTransitioning.m:491)
25 UIKitCore 0x19935d310 -[_UIWindowAnimationController animateTransition:] + 288 (_UIWindowAnimationController.m:144)
26 UIKitCore 0x198d45a50 -[UIWindow _adjustSizeClassesAndResizeWindowToFrame:] + 616 (UIWindow.m:4689)
27 UIKitCore 0x1989a2e40 -[UIWindow _resizeWindowFrameToSceneBoundsIfNecessary] + 204 (UIWindow.m:7736)
28 UIKitCore 0x1989a2308 -[UIWindow _sceneBoundsDidChange] + 68 (UIWindow.m:7755)
29 UIKitCore 0x198b8ccec -[_UIScenefbsSceneBasedMetricsCalculator _updateMetricsOnWindows:animated:] + 960 (_UISceneMetricsCalculating.m:184)
30 UIKitCore 0x198b8c904 -[UIWindowScene _computeMetricsForWindows:animated:] + 88 (UIWindowScene.m:2236)
31 UIKitCore 0x198a0334c __55-[UIWindowScene _computeMetrics:withTransitionContext:]_block_invoke + 104 (UIWindowScene.m:2199)
32 UIKitCore 0x198c38378 -[UIWindowScene _computeTraitCollectionAndCoordinateSpaceForcingDelegateCallback:withAction:] + 296 (UIWindowScene.m:2216)
33 UIKitCore 0x198c38cd0 -[UIWindowScene _computeMetrics:withTransitionContext:] + 104 (UIWindowScene.m:2198)
34 UIKitCore 0x1990571e0 ___UIWindowHostingScenePerformUpdateWithEffectiveSettings_block_invoke_2 + 96 (UIScene.m:1869)
35 UIKitCore 0x198bb80ac +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 140 (UIViewController.m:8959)
36 UIKitCore 0x199057160 ___UIWindowHostingScenePerformUpdateWithEffectiveSettings_block_invoke + 136 (UIScene.m:1866)
37 UIKitCore 0x1988abf30 +[UIView(Animation) performWithoutAnimation:] + 76 (UIView.m:16214)
38 UIKitCore 0x19905620c _UIWindowHostingScenePerformUpdateWithEffectiveSettings + 148 (UIScene.m:1865)
39 UIKitCore 0x1990560fc -[UIScene _guardedSetOverrideSettings:] + 124 (UIScene.m:1892)
40 UIKitCore 0x199056340 -[UIScene _applyOverrideSettings:forActions:] + 64 (UIScene.m:1910)
41 UIKitCore 0x199b7fc64 -[UIWindowScene _applySnapshotSettings:forActions:] + 44 (UIWindowScene.m:2664)
42 UIKitCore 0x19996f414 -[UIApplication _createSnapshotContextForScene:withName:performLayoutWithSettings:] + 320 (UIApplication.m:8443)
43 UIKitCore 0x199970610 __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke_3 + 96 (UIApplication.m:8633)
44 FrontBoardServices 0x1af6c3088 -[FBSSceneSnapshotAction _executeNextRequest] + 192 (FBSSceneSnapshotAction.m:152)
45 FrontBoardServices 0x1af6c30a4 -[FBSSceneSnapshotAction _executeNextRequest] + 220 (FBSSceneSnapshotAction.m:158)
46 FrontBoardServices 0x1af6c2b1c -[FBSSceneSnapshotAction executeRequestsWithHandler:completionHandler:expirationHandler:] + 256 (FBSSceneSnapshotAction.m:91)
47 UIKitCore 0x199970560 __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke_2 + 292 (UIApplication.m:8631)
48 UIKitCore 0x19996fe00 -[UIApplication _beginSnapshotSessionForScene:withSnapshotBlock:] + 860 (UIApplication.m:8579)
49 UIKitCore 0x199970410 __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke + 156 (UIApplication.m:8629)
50 UIKitCore 0x199056278 -[UIScene _enableOverrideSettingsForActions:] + 64 (UIScene.m:1898)
51 UIKitCore 0x199056490 -[UIScene _performSystemSnapshotWithActions:] + 88 (UIScene.m:1923)
52 UIKitCore 0x19997028c -[UIApplication _performSnapshotsWithAction:forScene:completion:] + 252 (UIApplication.m:8628)
53 UIKitCore 0x199e33954 __98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_3 + 180 (_UISceneSnapshotBSActionsHandler.m:54)
54 UIKitCore 0x199e337d0 __98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_2 + 460 (_UISceneSnapshotBSActionsHandler.m:70)
55 UIKitCore 0x198a42190 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 580 (UIScene.m:1786)
56 UIKitCore 0x198b01824 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 (UIScene.m:2065)
57 UIKitCore 0x198b01404 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 (UIApplicationSceneClientAgent.m:86)
58 FrontBoardServices 0x1af6881bc __76-[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.193 + 244 (FBSScene.m:962)
59 FrontBoardServices 0x1af687d6c -[FBSScene _callOutQueue_coalesceClientSettingsUpdates:] + 68 (FBSScene.m:759)
60 FrontBoardServices 0x1af6573c8 -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 796 (FBSScene.m:951)
61 FrontBoardServices 0x1af665db8 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 148 (FBSWorkspaceScenesClient.m:923)
62 FrontBoardServices 0x1af665c44 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 (FBSWorkspace.m:445)
63 FrontBoardServices 0x1af66a114 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 340 (FBSWorkspaceScenesClient.m:922)
64 libdispatch.dylib 0x19dd9e0d0 _dispatch_client_callout + 20 (object.m:576)
65 libdispatch.dylib 0x19dda1b14 _dispatch_block_invoke_direct + 284 (queue.c:515)
66 FrontBoardServices 0x1af667300 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 (FBSSerialQueue.m:285)
67 FrontBoardServices 0x1af667280 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 (FBSSerialQueue.m:309)
68 FrontBoardServices 0x1af667158 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:322)
69 CoreFoundation 0x19609c328 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1970)
70 CoreFoundation 0x19609c2bc __CFRunLoopDoSource0 + 176 (CFRunLoop.c:2014)
71 CoreFoundation 0x196099dc0 __CFRunLoopDoSources0 + 244 (CFRunLoop.c:2051)
72 CoreFoundation 0x196098fbc __CFRunLoopRun + 840 (CFRunLoop.c:2969)
73 CoreFoundation 0x196098830 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
74 GraphicsServices 0x1e20781c4 GSEventRunModal + 164 (GSEvent.c:2196)
75 UIKitCore 0x198bfeeb0 -[UIApplication _run] + 816 (UIApplication.m:3844)
76 UIKitCore 0x198cad5b4 UIApplicationMain + 340 (UIApplication.m:5496)
77 basenetapp 0x10203818c main + 80 (main.m:8)
78 dyld 0x1bba86ec8 start + 2724 (dyldMain.cpp:1334)
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001e64651d4 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000021e4c6ef8 pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x000000019de57ad8 abort + 128 (abort.c:122)
3 libc++abi.dylib 0x000000021e2d55b8 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000021e2c3bac demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
5 libobjc.A.dylib 0x00000001933b6e14 _objc_terminate() + 156 (objc-exception.mm:496)
6 basenetapp 0x0000000102771ca4 sentrycrashcm_cppexception_callOriginalTerminationHandler + 16 (SentryCrashMonitor_CPPException.cpp:127)
7 basenetapp 0x0000000102771ca4 CPPExceptionTerminate() + 408 (SentryCrashMonitor_CPPException.cpp:209)
8 libc++abi.dylib 0x000000021e2d487c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
9 libc++abi.dylib 0x000000021e2d4820 std::terminate() + 108 (cxa_handlers.cpp:88)
10 libdispatch.dylib 0x000000019dd9e0e4 _dispatch_client_callout + 40 (object.m:579)
11 libdispatch.dylib 0x000000019dda1b14 _dispatch_block_invoke_direct + 284 (queue.c:515)
12 FrontBoardServices 0x00000001af667300 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 (FBSSerialQueue.m:285)
13 FrontBoardServices 0x00000001af667280 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 (FBSSerialQueue.m:309)
14 FrontBoardServices 0x00000001af667158 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:322)
15 CoreFoundation 0x000000019609c328 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1970)
16 CoreFoundation 0x000000019609c2bc __CFRunLoopDoSource0 + 176 (CFRunLoop.c:2014)
17 CoreFoundation 0x0000000196099dc0 __CFRunLoopDoSources0 + 244 (CFRunLoop.c:2051)
18 CoreFoundation 0x0000000196098fbc __CFRunLoopRun + 840 (CFRunLoop.c:2969)
19 CoreFoundation 0x0000000196098830 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
20 GraphicsServices 0x00000001e20781c4 GSEventRunModal + 164 (GSEvent.c:2196)
21 UIKitCore 0x0000000198bfeeb0 -[UIApplication _run] + 816 (UIApplication.m:3844)
22 UIKitCore 0x0000000198cad5b4 UIApplicationMain + 340 (UIApplication.m:5496)
23 basenetapp 0x000000010203818c main + 80 (main.m:8)
24 dyld 0x00000001bba86ec8 start + 2724 (dyldMain.cpp:1334)
Thread 1:
0 libsystem_kernel.dylib 0x00000001e645a688 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001e645dd98 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e645dcb0 mach_msg_overwrite + 424 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e645dafc mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x0000000196099a84 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)
5 CoreFoundation 0x0000000196099130 __CFRunLoopRun + 1212 (CFRunLoop.c:3021)
6 CoreFoundation 0x0000000196098830 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
7 Foundation 0x0000000194d40500 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8 Foundation 0x0000000194d40350 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9 UIKitCore 0x0000000198c12358 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1241)
10 Foundation 0x0000000194d516c8 __NSThread__start__ + 724 (NSThread.m:991)
11 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
12 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 2:
0 libsystem_kernel.dylib 0x00000001e645a688 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001e645dd98 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e645dcb0 mach_msg_overwrite + 424 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e645dafc mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x0000000196099a84 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)
5 CoreFoundation 0x0000000196099130 __CFRunLoopRun + 1212 (CFRunLoop.c:3021)
6 CoreFoundation 0x0000000196098830 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
7 basenetapp 0x0000000102552d58 +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:332)
8 Foundation 0x0000000194d516c8 __NSThread__start__ + 724 (NSThread.m:991)
9 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 3:
0 libsystem_kernel.dylib 0x00000001e645ff90 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x000000021e4c2a50 _pthread_cond_wait + 1204 (pthread_cond.c:862)
2 libc++.1.dylib 0x00000001a666b584 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 (condition_variable.cpp:30)
3 hermes 0x0000000103058d04 0x102f8c000 + 838916
4 hermes 0x0000000103058ba4 0x102f8c000 + 838564
5 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 4:
0 libsystem_kernel.dylib 0x00000001e64613cc kevent + 8
1 basenetapp 0x0000000102060628 realm::_impl::ExternalCommitHelper::listen() + 156
2 basenetapp 0x000000010206077c void* std::__1::__thread_proxy[abi:ue170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, realm::_impl::ExternalCommitHelper... + 56
3 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
4 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 5:
0 libsystem_kernel.dylib 0x00000001e64601b0 __semwait_signal + 8
1 libsystem_c.dylib 0x000000019ddf7a78 nanosleep + 220 (nanosleep.c:104)
2 libsystem_c.dylib 0x000000019de55550 sleep + 52 (sleep.c:62)
3 basenetapp 0x0000000102767ad8 monitorCachedData + 660 (SentryCrashCachedData.c:146)
4 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 6:
0 libsystem_kernel.dylib 0x00000001e645a688 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001e645dd98 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e645bbfc thread_suspend + 108 (thread_actUser.c:1036)
3 basenetapp 0x0000000102772354 handleExceptions + 124 (SentryCrashMonitor_MachException.c:305)
4 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 7:
0 libsystem_kernel.dylib 0x00000001e645a688 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001e645dd98 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e645dcb0 mach_msg_overwrite + 424 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e645dafc mach_msg + 24 (mach_msg.c:323)
4 basenetapp 0x0000000102772380 handleExceptions + 168 (SentryCrashMonitor_MachException.c:313)
5 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 8:
0 libsystem_kernel.dylib 0x00000001e64601b0 __semwait_signal + 8
1 libsystem_c.dylib 0x000000019ddf7a78 nanosleep + 220 (nanosleep.c:104)
2 Foundation 0x0000000194e57af8 +[NSThread sleepForTimeInterval:] + 160 (NSThread.m:527)
3 basenetapp 0x000000010275248c -[SentryANRTracker detectANRs] + 556 (SentryANRTracker.m:105)
4 Foundation 0x0000000194d516c8 __NSThread__start__ + 724 (NSThread.m:991)
5 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 9:
0 libsystem_kernel.dylib 0x00000001e645a688 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x00000001e645dd98 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001e645dcb0 mach_msg_overwrite + 424 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001e645dafc mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x0000000196099a84 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2637)
5 CoreFoundation 0x0000000196099130 __CFRunLoopRun + 1212 (CFRunLoop.c:3021)
6 CoreFoundation 0x0000000196098830 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
7 CFNetwork 0x0000000197614ee0 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473)
8 Foundation 0x0000000194d516c8 __NSThread__start__ + 724 (NSThread.m:991)
9 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 10:
0 libsystem_kernel.dylib 0x00000001e645a604 semaphore_wait_trap + 8
1 libdispatch.dylib 0x000000019dd9e66c _dispatch_sema4_wait + 28 (lock.c:139)
2 libdispatch.dylib 0x000000019dd9ed20 _dispatch_semaphore_wait_slow + 132 (semaphore.c:132)
3 UIKitCore 0x0000000198fdbdac closure #2 in InProcessAnimationManager.startAdvancing(_:) + 180 (InProcessAnimationManager.swift:901)
4 UIKitCore 0x0000000198ae8118 thunk for @escaping @callee_guaranteed @Sendable () -> () + 36 (<compiler-generated>:0)
5 Foundation 0x0000000194d516c8 __NSThread__start__ + 724 (NSThread.m:991)
6 libsystem_pthread.dylib 0x000000021e4c537c _pthread_start + 136 (pthread.c:931)
7 libsystem_pthread.dylib 0x000000021e4c0494 thread_start + 8
Thread 11:
0 libsystem_pthread.dylib 0x000000021e4c0480 start_wqthread + 0
Thread 12:
0 libsystem_pthread.dylib 0x000000021e4c0480 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x000000021e4c0480 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x000000021e4c0480 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000021e2d9f3b x5: 0x000000016ddce200 x6: 0x000000000000006e x7: 0x0000000000000000
x8: 0x7df2f4e94ed1d61a x9: 0x7df2f4e8b732b21a x10: 0x0000000000000051 x11: 0x000000000000000b
x12: 0x000000000000000b x13: 0x00000001964f2bbc x14: 0x00000000001ff800 x15: 0x00000000000007fb
x16: 0x0000000000000148 x17: 0x00000001f9e36400 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001f9e364e0 x22: 0x0000000000000000 x23: 0x00000001f9e364e0
x24: 0x000000010340b890 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x00000000211200d5 fp: 0x000000016ddce170 lr: 0x000000021e4c6ef8
sp: 0x000000016ddce150 pc: 0x00000001e64651d4 cpsr: 0x40000000
esr: 0x56000080 Address size fault
Binary Images:
0x102030000 - 0x102a9ffff basenetapp arm64 <cd674b8062b031248da4c25854577f37> /private/var/containers/Bundle/Application/03ECE529-895D-48E1-A7D3-E58BEA85F3D2/basenetapp.app/basenetapp
0x102eec000 - 0x102ef7fff libobjc-trampolines.dylib arm64e <35a44678195b39c2bdd7072893564b45> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
0x102f8c000 - 0x10315bfff hermes arm64 <0e6a90009ec93a34a925509903ef6a1e> /private/var/containers/Bundle/Application/03ECE529-895D-48E1-A7D3-E58BEA85F3D2/basenetapp.app/Frameworks/hermes.framework/hermes
0x193384000 - 0x1933d4d5f libobjc.A.dylib arm64e <1608892e67db3f949fc291492b86c95f> /usr/lib/libobjc.A.dylib
0x194c89000 - 0x195996fff Foundation arm64e <6d0212cc3b9e32c9be2072989ce3acb8> /System/Library/Frameworks/Foundation.framework/Foundation
0x196046000 - 0x196588fff CoreFoundation arm64e <1532d3d89b3b3f2fb35f55a20ddf411b> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x197517000 - 0x1978d9fff CFNetwork arm64e <999c659afc7d351fa477e97bbf2d8081> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x19882c000 - 0x19a6fffff UIKitCore arm64e <575e5140fa6a37c2b00ba4eacedfda53> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x19dd9a000 - 0x19dddffff libdispatch.dylib arm64e <7de7ec03cfb7349d9b9e8782b38f231d> /usr/lib/system/libdispatch.dylib
0x19dde0000 - 0x19de5fff3 libsystem_c.dylib arm64e <0150f750db0a3f54b23ad21c55af8824> /usr/lib/system/libsystem_c.dylib
0x1a664a000 - 0x1a66d7ffb libc++.1.dylib arm64e <491f481bd014381c904eaed69c09f984> /usr/lib/libc++.1.dylib
0x1af651000 - 0x1af723fff FrontBoardServices arm64e <d627737b3c6c3308a90cad705542c2b3> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
0x1bba53000 - 0x1bbad699f dyld arm64e <3060d36a16ce3c3a92583881459f5714> /usr/lib/dyld
0x1e2077000 - 0x1e207ffff GraphicsServices arm64e <8425ea11000e3e5e8abcbddf3ff3fa32> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1e6459000 - 0x1e6492ff3 libsystem_kernel.dylib arm64e <b9618c71c0cb31b6825f92a4737c890e> /usr/lib/system/libsystem_kernel.dylib
0x21e2c2000 - 0x21e2dcfff libc++abi.dylib arm64e <5e1a37143fad3ad7a23d61c4be170233> /usr/lib/libc++abi.dylib
0x21e4bf000 - 0x21e4cbff3 libsystem_pthread.dylib arm64e <3ca98e388eee3c269862c5f66aad93c0> /usr/lib/system/libsystem_pthread.dylib
EOF
What was the expected behaviour?
App should not 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!
Can't reproduce locally. There is no clear pattern when looking at the crash reports regarding iOS device/software version.
Our layout is a tad bit complex:
It's a 5 bottom tab application where some of the tabs use the sidemenu. Pseudo code:
root: { bottomTabs: { children: [stackLayout, sidemenuLayout, sidemenuLayout, stackLayout, stackLayout] }
In what environment did this happen?
React Native Navigation version: 7.40.3
React Native version: 0.73.11
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 20.18.2
Device model: Happens on all models iPad + iPhone
iOS version: Seems to happen on all iOS versions.