-
-
Notifications
You must be signed in to change notification settings - Fork 174
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 NDK Segfault crash related to sentry_value_set_by_key_n
#974
Comments
Hi @aaronjosephsonos, thanks for the report.
Whenever you add breadcrumbs to your Android application, a call will be made to You might do this directly via any Interface providing an
I understand you currently cannot reproduce this locally, but any additional context (like a logcat output or a tombstone) will be helpful for me. Do you get these reports via Sentry? If so, could you provide a link to one of our employees, [email protected], for one such event? This is the second report from Android, in which a freshly created In any case, I will investigate.
Does this issue appear only with recent updates? |
Thanks for the response @supervacuus!
Ahh thats good to know. We are calling addBreadcumbs pretty often in our code, basically anytime we log something we are calling addBreadcrumbs. So potentially some log message that occasionally occurs may be causing this bug to pop up.
Yes, we get these reports in Sentry. My workplace has a Slack channel with Sentry reps. I will share the events in that channel with them, and hopefully they will be able to forward them to you. I'll keep you posted with that correspondance.
The first crash was reported on February 16, at that time we were on Sentry Android version |
I hope it is not a particular log message (although that would make the case easy). The breadcrumbs are a pretty beaten path, especially on mobile, and if the error were in that code, I would be surprised that we're not getting many more reports. But it is hard to say at this point.
Thanks! |
Our internal crash reporting indicates that this was related/caused by a specific app release and most likely not by an SDK issue - we're keeping this open for a bit for further input |
We also see this issue reported in Google Play. There aren't that many cases, and they seem random. The stack trace points to
|
We're also seeing this crash in our app. The first crash was on Feb 5 with
|
In a recent investigation concerning this issue, we stress-tested the bread-crumb and We will continue to monitor the issue, but the currently available stack traces, while pointing to a common execution path, do not provide any insight into the causes. Users with stable reproduction are welcome to contact us at [email protected]. |
We have not seen this issue in our apps since upgrading to |
Description
Our Android project has seen crashes related to a Segfault in Sentry native code. There are no places in our code that are directly calling nativeAddBreadcrumb, so thinking something under the hood in Sentry library is making the call. Still, there seems to be a Segfault bug in sentry native code
sentry_value.c's
file. Thanks in advance for taking a look, and please let me know if there is additional information I can help provide.When does the problem happen
Environment
Subset of Sentry options enabled
Steps To Reproduce
I myself have not run into this issue and have not found a reliable way to reproduce. Our project has seen the crash approximately 43 times in the past 30 days across 32 users.
Log output
The text was updated successfully, but these errors were encountered: