Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v6][Android] App crash with Hermes engine on RN 0.62-rc.2 #5964

Closed
robertying opened this issue Feb 25, 2020 · 1 comment
Closed

[v6][Android] App crash with Hermes engine on RN 0.62-rc.2 #5964

robertying opened this issue Feb 25, 2020 · 1 comment

Comments

@robertying
Copy link

robertying commented Feb 25, 2020

Issue Description

Change build.gradle to enable Hermes

project.ext.react = [
    enableHermes: true, 
]

App crashes on startup with error:

2020-02-25 16:25:43.233 9101-9158/com.rn062 I/ReactNativeJS: Running "navigation.playground.WelcomeScreen" with {"initialProps":{"componentId":"Component1"},"rootTag":11}
2020-02-25 16:25:43.258 9101-9158/com.rn062 A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9158 (mqt_js), pid 9101 (com.rn062)

v5 and v6 both are causing crashes.
v4 with RN 0.61 is fine.

Steps to Reproduce / Code Snippets / Screenshots

  1. New RN 0.62-rc.2 template
  2. Add react-native-navigation
  3. Change necessary files according to the newest doc
  4. Enable hermes
  5. Build and see the crash

Environment

  • React Native Navigation version: 6.0.1
  • React Native version: 0.62-rc.2
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Emulator, Android 10, Debug
@guyca
Copy link
Collaborator

guyca commented Feb 25, 2020

Hey @robertying This is a Hermes issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants