Skip to content

App crashes with EXC_CRASH (SIGABRT) when reloading on iOS #3895

Open
@ansh

Description

Description

A video of the crash happening
https://user-images.githubusercontent.com/8207733/210131053-51c7ff0a-d9ee-4b10-80a0-1f10c0e273b7.mp4

The error I get after the crash
CleanShot 2022-12-31 at 14 23 42@2x
CleanShot 2022-12-31 at 14 24 00@2x
Full error text: https://textbin.net/apakzpco91

I have tried 3.0.0-rc.9 and rc.8 and they kind of reduce the probability of issue but they do not fix it. Also, they introduce another bug shown below. So basically, they just make the crash non-deterministic.
CleanShot 2022-12-31 at 14 02 12@2x

Steps to reproduce

  1. Use npx create-expo-app to create a new Expo app
  2. Install reanimated + expo-dev-client
  3. Build using EAS or npx expo prebuild + npx expo run:ios
  4. Open the app
  5. Press the "R" key rapidly in quick succession on the keyboard a couple of times
  6. You will most definitely experience a crash

Snack or a link to a repository

https://github.com/ansh/reanimated-reload-crash

Reanimated version

2.12.0

React Native version

0.70.5

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

iOS simulator

Device model

No response

Acknowledgements

Yes

Metadata

Assignees

No one assigned

    Labels

    Needs reviewIssue is ready to be reviewed by a maintainerPlatform: iOSThis issue is specific to iOSRepro providedA reproduction with a snippet of code, snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions