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

App crash in debug on RN 0.62-rc.3 (Hermes 0.4.0) #189

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

App crash in debug on RN 0.62-rc.3 (Hermes 0.4.0) #189

robertying opened this issue Feb 26, 2020 · 1 comment

Comments

@robertying
Copy link

robertying commented Feb 26, 2020

I'm using react-native-navigation with Hermes.

I only got a one-line error and it's very hard to figure out what went wrong on the Hermes side. Any idea how I can debug this? Thanks!

Also, it only happens in Debug.

Below are more details:

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)

Steps to Reproduce / Code Snippets / Screenshots

  1. New RN 0.62-rc.3 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.3
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Emulator, Android 10, Debug
@robertying robertying changed the title App crash with Hermes engine on RN 0.62-rc.3 (Hermes 0.4.0) App crash in debug on RN 0.62-rc.3 (Hermes 0.4.0) Feb 28, 2020
@robertying
Copy link
Author

Seems like it is a RN issue. Close for now.

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

1 participant