react-native icon indicating copy to clipboard operation
react-native copied to clipboard

SIGABRT Crash on Huawei devices

Open punksta opened this issue 3 years ago • 7 comments

Description

I am experiencing a lot of SIGABRT crashes mostly on Huawei. I am using (not indexed) ram bundle.

Crashlog

OS Version: Android 10 (POT-LX1 10.0.0.238(C431E3R4P1))
Report Version: 104

Exception Type: Unknown (SIGABRT)

Application Specific Information:
Abort

Thread 0 Crashed:
0   libc.so                         0x7325dc45ac        abort
1   libc.so                         0x7325e24c80        pthread_once
2   libc.so                         0x7325e243b4        <unknown> + 494556824500
3   libc.so                         0x7325e24218        pthread_mutex_lock
4   libc++.so                       0x732a7b3bf4        std::__1::mutex::lock
5   libandroid.so                   0x729d1e606c        AAssetManager_open
6   libreactnativejni.so            0x721f782c54        facebook::react::JniJSModulesUnbundle::getModule
7   libjscexecutor.so               0x721fa86d7c        facebook::react::RAMBundleRegistry::getModule
8   libjscexecutor.so               0x721fa74c74        facebook::react::JSIExecutor::nativeRequire
9   libjscexecutor.so               0x721fa805b8        <unknown> + 490157376952
10  libjsc.so                       0x721c7e5bd4        <unknown> + 490104314836
11  libjsc.so                       0x721c99bef8        <unknown> + 490106109688
12  libjsc.so                       0x721c99b818        <unknown> + 490106107928
13  <unknown>                       0x71fdbf6904        <unknown>

Devices

CLT-L29 5.7k
MAR-LX1A 5.1k
EML-L09 2.7k
CLT-L09 2.6k
JKM-LX 31.1k
MAR-LX3Bm1 k
SNE-LX3 1k
STK-LX3 1k
SNE-LX1 754
CLT-L04 751

android

Android 10 26k
Android 9 3.3k

React Native version:

"react-native": "0.63.4" Ram bundle, JSC.

Steps To Reproduce

I couldn't reproduce it.

Snack, code example, screenshot, or link to a repository:

https://play.google.com/store/apps/details?id=com.dietdoctor.EatApp - the app.

punksta avatar Mar 25 '21 08:03 punksta

Hi, this might be caused by Google's new update on Webview https://www.xda-developers.com/google-confirms-webview-issue-crashing-android-apps/

michtnt avatar Mar 25 '21 22:03 michtnt

@tanoto-the-explorer do you have any evidence that the reported crash is related to the webview issue? A client of mine is reporting an issue with the same stack trace

Edit: I went and installed com.google.android.webview_89.0.4389.90 (supposedly the release one prior to the fix for webview) and installed OP's app and the app crashed 100% of the time on launch. I then went to Android Apps > Android System WebView > Uninstall updates and relaunched OP's app and the issue was fixed. Same goes when accessing a specific web view in my clients app (though the one on launch doesn't crash the app).

jaredwideman avatar Mar 26 '21 17:03 jaredwideman

@jaredwideman this is based from my research, the stack trace is similar to react-native-webview crash. Here is some of the stuff i read: https://github.com/react-native-webview/react-native-webview/issues/429 https://github.com/facebook/react-native/issues/29978 https://stackoverflow.com/questions/66361472/app-crashed-with-base-apklibmonochrome-so https://stackoverflow.com/questions/60365897/native-crash-peak-on-samsung-devices I found this from searching the keyword SIGABRT and libmonochrome.co based on the stack trace. But, you don't need to worry, I checked the crash report from Firebase this morning it has decreased. I think Google fixed it. My clients also doesn't report anything about crashes anymore. Crash report: Screen Shot 2021-03-27 at 11 28 10 am

michtnt avatar Mar 27 '21 00:03 michtnt

According to sentry this crash occurs mostly on Huawei devices (see device list). It's not the case for the webview crash.

punksta avatar Mar 27 '21 17:03 punksta

@punksta I haven’t checked Sentry but this is what Firebase shows. C96E9513-F698-4316-81E0-7ED68191C89E

michtnt avatar Mar 27 '21 23:03 michtnt

Has this problem been solved? I met the same problem

uikiu avatar Nov 25 '21 02:11 uikiu

any news?

gurbela avatar Jan 13 '23 15:01 gurbela

Hey, We're cleaning up the React Native issue tracker to make sure we focus on the most important issues first.

I'm closing this one because it's stale and related to a version of React Native we no longer support. If the issue persists on the latest version, please re-open a new issue and reference this one.

Moreover, we generally can't fix issues just by looking at a stacktrace reported from your crash reporting platform. Please provide a reproducer in your future reports.

Thank you.

cortinico avatar Dec 04 '23 12:12 cortinico