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

Report signal codes on native crashes #2135

Conversation

YYChen01988
Copy link
Contributor

@YYChen01988 YYChen01988 commented Jan 27, 2025

Goal

Show corresponding signal code for native crashes

Changeset

Added a table of signal code descriptions for error messages, covering all of the defined signal codes. Having all of the messages pre-generated (via a macro) we avoid possible overflows and undefined behaviour that could occur when generating the error message from within the signal handler.

Testing

Existing e2e tests

@YYChen01988 YYChen01988 requested a review from lemnik as a code owner January 27, 2025 19:30
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Jan 27, 2025

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1872.0 1675.18
arm64_v8a 651.52 450.82
armeabi_v7a 585.99 385.29
x86 725.23 528.62
x86_64 696.57 495.86

Generated by 🚫 Danger

@lemnik lemnik changed the title native crashe report with corresponding code Report signal codes on native crashes Jan 28, 2025
@YYChen01988 YYChen01988 force-pushed the PLAT-13378/Report-native-crashes-with-their-corresponding-code branch 16 times, most recently from 6f64902 to 21ac005 Compare January 29, 2025 09:51
@YYChen01988 YYChen01988 requested a review from lemnik January 29, 2025 10:06
@lemnik lemnik force-pushed the PLAT-13378/Report-native-crashes-with-their-corresponding-code branch 3 times, most recently from 23f1dcc to a655d1c Compare January 29, 2025 16:59
lemnik
lemnik previously approved these changes Jan 29, 2025
Copy link
Contributor

@lemnik lemnik left a comment

Choose a reason for hiding this comment

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

LGTM

@lemnik lemnik force-pushed the PLAT-13378/Report-native-crashes-with-their-corresponding-code branch from a655d1c to 3d56381 Compare January 29, 2025 17:23
@YYChen01988 YYChen01988 enabled auto-merge (squash) January 29, 2025 18:28
@YYChen01988 YYChen01988 disabled auto-merge January 29, 2025 20:26
@YYChen01988 YYChen01988 enabled auto-merge (squash) January 29, 2025 20:26
@YYChen01988 YYChen01988 requested a review from lemnik January 29, 2025 20:27
@lemnik lemnik requested a review from tomlongridge January 30, 2025 08:29
@YYChen01988 YYChen01988 merged commit fe862d0 into next Jan 30, 2025
57 checks passed
@YYChen01988 YYChen01988 deleted the PLAT-13378/Report-native-crashes-with-their-corresponding-code branch January 30, 2025 11:03
@YYChen01988 YYChen01988 mentioned this pull request Feb 11, 2025
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.

4 participants