Closed Vannevelj closed 2 years ago
Of course, right after I created this issue I might have found a solution..
Bumping react-native-reanimated from v2.1.0 to v2.2.2 seems to be doing the trick. Detox tests are currently running but they're actually passing whereas previously they wouldn't start at all.
I'm on reanimated 2.2.2 and still getting the issue above ^
This is not in release mode btw
The crash happens when i "Open Debugger"
Bug Description
I have an iPad-only React Native app. Initially I saw some "Signal 6" crashes in my CI environment when about 10% of the Detox tests failed. I left it for a little while and now I bumped the app to RN65 with Hermes enabled. This resulted in the app crashing 100% of the time in Release builds, although Debug builds work perfectly fine (all CI passes). I can also run Debug builds in an Xcode simulator.
I don't have much to go on since the Detox tests crash with a fairly short stacktrace:
Running the app as a Release build on my physical device just crashes the app straight away - the splash screen doesn't even show. If I run the Release build in Xcode I can see the following stacktrace:
It fails on line 324 in RCTCxxBridge.mm:
Below is a list of our app's dependencies:
At this point I'm not really sure where to look. Is this helpful? What other information can I provide?
gradle clean
and confirmed this bug does not occur with JSCHermes version: 0.8.1 React Native version (if any): 0.65.1 OS version (if any): Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64, arm-v7
Steps To Reproduce
No repro steps as of now but I hope to narrow this down with some help.
The Expected Behavior
Enabling Hermes does not crash the app in Release mode.