Skip to content
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

Disable the NDK by default #3903

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Disable the NDK by default #3903

wants to merge 3 commits into from

Conversation

jamescrosswell
Copy link
Collaborator

See #3902:

This PR disables the NDK, by default, on Android and recommends users do not enable this until we can find a permanent resolution to the issues above.

@jamescrosswell jamescrosswell marked this pull request as ready for review January 19, 2025 20:42
Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite unfortunate since now users will be blind of native crashes.

@@ -2,6 +2,9 @@

## Unreleased

### Significant change in behavior
- The NDK is now disabled by default on Android, to prevent SIGSEGV errors resulting from managed NullReferenceExceptions ([#3903](https://github.com/getsentry/sentry-dotnet/pull/3903))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Crash detection in native code (NDK) is now disabled..."

@bruno-garcia
Copy link
Member

@filipnavara any chance you can think of a better way?

@filipnavara
Copy link
Contributor

@filipnavara any chance you can think of a better way?

I'll think about it. That said, I observed it and never really considered it a bug... NRE in .NET is almost never intentional, so this essentially just caused double reporting. Depending on .NET runtime used (NativeAOT vs MonoVM) this may contain some useful information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants