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

com.facebook.jni.UnknownCppException on Huawei devices and Android 9 #26779

Closed
gbalduzzi opened this issue Oct 9, 2019 · 3 comments
Closed
Labels
Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@gbalduzzi
Copy link

gbalduzzi commented Oct 9, 2019

React Native version: 0.59.10

We recently distributed our react native app using bugsnag as crash reporting system. We are experiencing a lot of the following exception:

com.facebook.jni.UnknownCppException · Unknown
NativeRunnable.java:-2 com.facebook.react.bridge.queue.NativeRunnable.run	
Handler.java:907 android.os.Handler.handleCallback	
Handler.java:105 android.os.Handler.dispatchMessage	
MessageQueueThreadHandler.java:29 com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage	
Looper.java:216 android.os.Looper.loop	
MessageQueueThreadImpl.java:232 com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run	
Thread.java:784 java.lang.Thread.run

The bug is only reported on Huawei (and Honor) devices running android 9 and EMUI 9.1. Here is a list of the devices experiencing the crash:

VTR-L09
CLT-L09
ANE-LX1
EML-L09
MHA-L29
SNE-LX1
BLA-L29
CLT-L29
MAR-LX1A
POT-LX1
STF-L09
VKY-L09
BND-L21
COR-L29
DUK-L09
HMA-L09
LYA-L09
STK-LX1
VOG-L29

Oddly enough, we are unable to reproduce the bug on our Huawei P20 Lite (ANE-LX1) running android 9.

@gbalduzzi gbalduzzi added the Bug label Oct 9, 2019
@react-native-bot react-native-bot added the Platform: Android Android applications. label Oct 9, 2019
@gbalduzzi
Copy link
Author

Some additional info

  • the error is reported from the mqt_js thread, not from the main thread
  • The error happens at startup, just after the MainActivity onResume() lifecycle event

@stale
Copy link

stale bot commented Jan 7, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 7, 2020
@stale
Copy link

stale bot commented Jan 14, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jan 14, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Jan 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants