-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
SIGSEGV During Android init
registerDefaultNetworkCallback
#4186
Comments
Thank you @Charlie-dineoneone for the message, based on the stack trace it looks like the crash happens after Sentry calls
@romtsn @markushi @stefanosiano Have you encountered this in |
init
registerDefaultNetworkCallback
Based on internal discussion, the error is caused by OS/Hardware issue which the SDK can't prevent. The code is already executed in try catch but the crash happens outside of the JVM in native code which can't be caught. The Android Network Breadcrumbs can be disabled using Manual Native SDK initialization and setting |
What React Native libraries do you use?
Expo Router, Expo Application Services (EAS), Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
5.31.1
How does your development environment look like?
Sentry.init()
Steps to Reproduce
Additionally, a card reader connected to Stripe and the Stripe package (@stripe/stripe-terminal-react-native) is used.
This is a POS app that runs for about eight hours a day. Crashes may occur during any user action or behavior. Currently, crashes happen on average once a day.
Expected Result
The app runs normally without crashing.
Actual Result
Sentry
Logcat
I'm not sure if this is an issue with Sentry, but I saw an error related to Sentry in Logcat.
The text was updated successfully, but these errors were encountered: