-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Android Crash: SIGSEGV 0x0000000000000000 - libc.so | Crashed: null pointer dereference #4075
Comments
Hi @vinayak-bm-ai, thank you for the message. Did the spike happen without any changes on your side, no new version...? Linking the possibly related issue from sentry-java |
@markushi I don't have context of the original Android issue, could you take a look? |
Yes @krystofwoldrich , we haven’t made any changes to the codebase, no new version |
@vinayak-bm-ai thanks for sharing all the details! I took a look at the attached stacktrace, and there's no sentry symbol involved in the crashing thread. Why do you think this is caused by sentry? On top of that could you share your sentry config options with us? |
Hey @markushi We're unable to reproduce this crash as it suddenly spiked out of nowhere. After researching, we found that sentry-java had a similar issue before, and since sentry-android uses it, the fix for this issue has been added to sentry-react-native. (https://github.com/getsentry/sentry-java/releases/tag/7.0.0-rc.2 here) can you also check this once? |
|
@vinayak-bm-ai Thank you for the init options, we will investigate it. |
Any new updates ? app keep crashing in production now |
@vinayak-bm-ai thanks for sharing all the details. Unfortunately I still don't see how this issue is related to sentry.
The root cause of the issue suddenly appearing out of nowhere could be the same though: a Google Play System update. So maybe it's worth checking which versions are installed on the affected devices. Having said that, we've seen Profiling (the Android System Profiler used by the Android SDK) causing native crashes, if possible you could try to release a version with |
We managed to temporary fix the issue removing profilesSampleRate as @markushi suggests. |
Glad to hear this helped! It's worth mentioning that we've opened several bug reports and PRs to AOSP, to get this fixed in the long run, see this issue for more details. If you can get hold of a detailed crash report, a tombstone or similar please share them with us, as this helps us tremendously! |
Just to double check: @krystofwoldrich there's no known issue around native crashes due to RN profiling, right? |
Quick update: This issue is actually a duplicate of getsentry/sentry-java#3653 The good news: The underlying Android issue was fixed already. The bad news: Unfortunately we don't know when/how Google will roll it out. In the meantime we recommend disabling the Android native platform profiling, a feature we shipped in version 5.33.0 of the Sentry RN SDK: import * as Sentry from '@sentry/react-native';
Sentry.init({
integrations: [
Sentry.hermesProfilingIntegration({ platformProfilers: false }),
],
}); We're keeping this issue open and will share any updates about the rollout. |
Correct, there are no known crashes due to RN (Hermes) profiling. |
🛑 Blocked by getsentry/sentry-java#3653
Description
We've observed that this crash spiked on 7th Sep. We've seen that [sentry-java](https://github.com/getsentry/sentry-java/releases/tag/7.0.0-rc.2 here) provided the fix for these issues. but we're still seeing this error with the sentry SDK versions mentioned below.
React Native Version: 0.71.13 with Hermes enabled
After investigating the statistics in Firebase Crashlytics, I found
Steps to reproduce
Not able to reproduce this issue as this has been occurring randomly on Android devices.
React Native Version
0.71.13
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
NA
Screenshots and Videos
com.brightcapital.app_issue_f4e23ef0af3b92e13a709b01f249ecfd_crash_session_66dea84e0283000168d5d19a075ad28a_DNE_0_v2_stacktrace (1).txt
The text was updated successfully, but these errors were encountered: