Skip to content

fix: Android SIGABORT due to detaching from JNI#2212

Closed
bitsandfoxes wants to merge 10 commits intomainfrom
fix/android-attach-detach
Closed

fix: Android SIGABORT due to detaching from JNI#2212
bitsandfoxes wants to merge 10 commits intomainfrom
fix/android-attach-detach

Conversation

@bitsandfoxes
Copy link
Copy Markdown
Contributor

Fixes #2164

We're making use of the fact that AndroidJni.GetVersion() returns 0 if the current thread is not attached.

@bitsandfoxes bitsandfoxes changed the title fix: fix: Android SIGABORT due to detaching from JNI Jun 24, 2025
Comment thread src/Sentry.Unity.Android/SentryJava.cs Outdated
@bitsandfoxes
Copy link
Copy Markdown
Contributor Author

Superseded by #2215
See PR description for why this approach does not work.

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.

SIGABORT in Android NDK in version 3.2.0

3 participants