-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
libc.so Crash report by firebase crashlytics in android app #33083
Comments
I can confirm that I too got the same crash report. Here's a similar thread on this issue. Furthermore, in my case, this issue was seen on A12 Samsung devices when the app was launched with wifi on, and then it crashed when the wifi was turned off. I found a thread on this exact issue here |
Has there been any update on this? |
I also met this issues. Is there any solution for this? |
I also have the same issue, 200 crashes and 75% due to Samsung devices such as:
|
Similar issues on RN 0.67.3
|
I am also having the issue. Any update, please? |
same issue :/ any update? |
We're also facing the same issue with Samsung immediately after the first screen in the app gets mounted |
I have got rid of this issue by enabling Hermes |
Hey Hysham! Were you facing lots of crashes prior to enabling Hermes or just a few? I'm just trying to understand if that would really solve the root cause of the issue |
It was a silent native crash on initial rendering after installation, I found the error on logcat as follows "libc.so SIGSEGV 0x0000000000000048 crash" I understood it might be something messed with jsc engine. I hope this post would be helpful : https://stackoverflow.com/questions/65418985/react-native-crashedthread-sigsegv-libjsc-so |
hi, we faced similar crashes on firebase and google play console too: (only on android 11)
|
We're also facing the same issue |
Just a small heads up: without a reproducer this can't be fixed. |
|
I was able to solve the issue was by upgrading React Native version to 0.65.2. My old react native version on which this issue was seen was 0.62.2 |
I have the save issue (react-native: 0.67.1) only on Android 12: |
Had same problem. Hermes was always enabled so that wasn't the issue. It was the WebView, found some solutions here
|
In your case, app was getting crashed when webview was opened? Do you think this might help when the app is crashing on the launch of first activity? |
In our case we were having this same crash on Android with error log: We found out that this was due to a compatibility issues of two dependencies: We have decided to remove realm from the project and we are not experiencing this crash anymore. |
Is there any way to reproduce this issue in development mode? This issue only exists in production mode. |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
Ok |
Add compileOptions with JavaVersion 1.8 like this under your app level build.gradle android block: compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
} This fixed my issue in RN 0.71 |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
Fixed in RN 0.66.5 by enabling hermes. 0 new occurrences reported. |
We are still facing this issue majorly on xiaomi and Samsung device after upgrading from react native 0.67.4 to 0.69.9 with hermes enabled. This is the stack trace. Can anyone please provide solution for this? |
I have switched to v8 on android and my user-perceived crash rate went from 8% to below 1% eliminatiing libc.so crash entirely. No performance drawbacks or any other issues discovered for more than 6 months of usage. |
We still have this issue with |
We still have this issue with this attempt. |
This shouldn't be closed! |
Also experiencing this issue with react-native "0.72.6" |
Same issue with react-native "0.73.4" |
having same issue |
having same issue in react-native@0.74.3 and expo@51.0.18 with hermes enabled |
I do not know why this issue is closed. This is clearly an issue. |
This error is too serious and there is still no solution? |
Guys, give a shot to v8. I've been using it ever since I posted the comment above and quite happy with current crash rate being under 1%. Besides the more users will switch the more prominent it will become for RN maintainers. |
@serjek I am using version 0.70 but v8 integration crashes after opening the app. |
did you follow installation steps corretly though? Specifically this one: |
@serjek sure, because integration is simple |
Well in that case you shouldn't be observing |
@serjek @2ducanhpham @tamarabernad @rahulpunchh @cnx-caiobarroso @100sarthak100 Hi , Did you find anything related to this issue causing Sigbart Crash in abundance on start of the application and which is not reproducible happens in release ? |
I have not found the cause and solution yet. |
Description
libc.so
Crashed: Thread #1
SIGSEGV 0x0000000000000020
We can not reproduce crash in some device so this issue device specific or not ?
Please Give me solution for this crash asap.
open this link to check device list to crash
Crash device list by firebase crashlytics
> HUAWEI (86% )
> Samsung (6%)
> Xiaomi (3%)
> Realme (2%)
> INFINIX MOBILITY LIMITED (1%)
Version
0.63.4
Output of
npx react-native info
System:
OS: macOS 12.1
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 36.70 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.14.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.7.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 23, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.3
System Images: android-29 | Android TV Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7199119
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_282 - /usr/bin/javac
Python: 2.7.18 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.63.4 => 0.63.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
We can check multiple devices , but we can not reproduce this crash
we can not reproduce this Crash from below device list
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: