sentry-java
sentry-java copied to clipboard
Parse native threads from AppExitInfo for native crashes
Description
We can enrich native crashes even further by parsing traceInputStream when the reason was REASON_CRASH_NATIVE
Bugsnag prior art https://github.com/bugsnag/bugsnag-android/tree/next/bugsnag-plugin-android-exitinfo/src/main/java/com/bugsnag/android
FYI: This is related with the investigation here: https://github.com/getsentry/sentry-native/issues/743#issuecomment-1279098537
However, tombstones won't necessarily decode what caused the SIGABRT
. There is a good chance that the SIGABRT
was an unhandled C++ exception, which would require a terminate handler to decode what happened.
Let's still enrich the native envelopes with matching AppExitInfo, as we already have all the necessary parts ready.