Skip to content

IOS - Crash when reloading app using RNN with new Architecture #8092

@snaerth

Description

@snaerth

What happened?

When using React Native Navigation (RNN 8.3.0) with RN 0.77.3 arch enabled on IOS, quickly reloading the app (pressing Reload multiple times in rapid succession) can cause a native crash (see log) with a simplest app possible

Screen.Recording.2025-08-18.at.11.37.54.AM.mov

However on an more complex app like this one, this happens every time I reload and also often the app crashes even in production.

The crash occurs in Fabric’s SurfaceHandler during unregisterSurface, typically triggered by Navigation.setRoot being called before the previous root has fully torn down I assume.

Can someone please take a look at this. Thank you for your contribution

What was the expected behaviour?

App should just reload like normally

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!

Test Repo

In what environment did this happen?

React Native Navigation version: 8.3.0
React Native version: 0.77.3
Has Fabric (React Native's new rendering system) enabled: yes
Node version: v20.19.0
Device model:
iOS version: 18.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions