Skip to content

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

@gbalduzzi

Description

@gbalduzzi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: AndroidAndroid applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions