-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Native crash SIGSEGV: Segfault __kernel_rt_sigreturn #34745
Comments
There is nothing we can without a reproducer sadly. |
|
Don't you mind opening an issue here https://github.com/getsentry/sentry-react-native/issues and link against this one? |
@cortinico I'm sorry for the wrong information I gave (didn't do it intentionally). As a matter of the fact, it wasn't |
Facing the same native crash on some Samsung devices running on android 12. |
I also facing this issue with my project, I'm not sure which kind of details might relate. Basic most native libs of my project are: And so far very common properties of my crashes are: They're always the first or second screen of my app(LandingPage, WelcomePage) and all the error origin phones are using Android12 |
I got this issue fixed by enabling Hermes. Earlier, hermes in my project was disabled because of some reason so had to turn it on to avoid these crashes. Now the app works fine on Android 12. |
i got same problem, in samsung device |
I am also seeing those issues with latest Expo SDK 47, didn't happen before so it is connected to React Native 0.70.5+ 🤔 |
I'm also noticing quite a number of this error. But don't have Hermes enabled and I'm wondering if the issue was resolved for you after enabling Hermes @kumarparth380 ! |
Did not see this error again since I switched to Hermes on Android: https://docs.expo.dev/guides/using-hermes/#switch-javascript-engine-on-a-specific-platform |
I'm still having this issue on Android 13 RN v0.67.5. Is there a possible solution @ToniNikolaev23 ?? I have enabled Hermes but nothing works. |
I'm receiving this crash a lot. Any insights would be much appreciated:
|
Also getting this crash as well |
Here it also started showing up heavily in sentry and crashlytics, my app crashes sometimes randomly. It started to appear after RN 0.71.* |
@RalissonMattias Are you using react-native-screens, if yes then which version secondly you are able to reproduce this crash locally? |
@MianSaad705 Yes, I'm using |
@RalissonMattias according to my understanding it's a crash on a fresh install and occur only one time, facing the same issue. |
@MianSaad705 Yes, the same thing happens here. In your application hermes is true or false? |
@RalissonMattias hermes is false in my app. |
@MianSaad705 That must be it then, in my tests with hermes turned off, the app always closes the first time I download and enter the app. With enabled hermes this is not happening. I used to leave hermes enabled in my app, but it caused a performance drop in some situations, with it disabled the app works better |
Same here but only on samsung devices, first time the app start after booting the device, it crashes, after the crash, I relaunch the app and then it works fine. Hermes is false. |
I can confirm that after enabling Hermes on Android, we're no longer getting this crash. |
I've commented on what appears to be linked issues: I see this same behavior with samsung devices on first launch with JSC. I saw this when migrating to RN 0.70.6 (and persisted when trying to go to latest 0.71.3).
|
I'm facing the same issue, any luck? |
enabling hermes is solving issue |
Any solution in sight for this issue? |
We are having the same sentry reports, I haven't tried enabling Hermes yet, I'll test that soon |
Enabling Hermes isn't an option for many of us, so long as it doesn't support Intl (and thus breaks dayjs-timezone and several other packages). See: iamkun/dayjs#1377 |
Disabling minification is solving the issue |
Would you please clarify that ? |
I'm facing the same issue. Any updates on this one? |
This crash report/issue for jsc-android matches my earlier comment and the description of this bug. I commented on this issue that I managed to create a JS bundle that does and does not exhibit the crash. I'm at a loss for how to set up a test harness to actually begin debugging JSC to begin to patch the actual issue. I'm open to suggestions! |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Bump because this is still happening to me regularly... seeing about .1% of users crash on the first app load with this issue - Possibly worth noting that all of the device that I've seen have tis issue are android 12 or below, but not sure if that is a necessary condition or just circumstantial |
Hi. I have the same issue on samsung devices. |
Same, this is giving me a headache. |
We are getting the same issue in crashanalytics |
We definitley get this error on all Android versions including 14. We see it a lot Samsung, but also on all others (e.g. many different Pixels or Redmi). |
I'm encountering same crashes in my React Native app (version 0.72.7) with Hermes enabled. I've analyzed the memory graph for a video component in my app, which has raised concerns about potential memory leaks. I'm seeking guidance on the following: What is considered ideal or normal memory consumption for a React Native app? I'd appreciate insights from the community on how to approach these performance issues and optimize my app's memory management. If additional information is needed, such as specific crash logs or detailed memory usage data, please let me know, and I'll provide them promptly. |
|
Description
Hello everyone, today i saw in our Sentry that we have some unhandled issues. I will post screenshot from Sentry.
Version
0.64.3
Output of
npx react-native info
System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Max
Memory: 3.62 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.6.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.13.2 - /opt/homebrew/bin/npm
Watchman: 2022.07.04.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
I dont know how to reproduce.When i test with android studio, sometimes after launch app emulator just crash and 2nd launch is good. Maybe in real device is the same.
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: