bugsnag / bugsnag-android

BugSnag crash monitoring and reporting tool for Android apps
https://www.bugsnag.com/platforms/android/
Other
1.19k stars 205 forks source link

Identify the error reporting thread in native crashes #2087

Closed lemnik closed 1 month ago

lemnik commented 1 month ago

Goal

Identify the error reporting thread in native crashes

Design

Introduced the error reporting thread boolean marker to the bsg_thread structure, and attempt to match the TID with the currently running thread (within the signal handler & C++ exception handler).

Testing

Additional steps added to the existing native smoke test

bugsnagbot commented 1 month ago

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1854.0 1674.71
arm64_v8a 631.04 450.82
armeabi_v7a 565.51 385.29
x86 708.85 528.62
x86_64 676.09 495.86

Generated by :no_entry_sign: Danger