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

Capture build id for NDK stackframes #16

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

fractalwrench
Copy link
Contributor

Goal

Captures the build id (.note.gnu.build.id) when unwinding the stack during crashes. This functionality is enabled in newer versions of libunwindstack & will simplify the logic required to symbolicate on our backend. This is serialized under the key fr[0].build_id of the base 64 encoded crash message.

Testing

Intercepted JSON to confirm that the build_id field is set in the payload, and verified native crashes are displayed in the dashboard.

with_build_id.json

@fractalwrench fractalwrench changed the title [WIP] Capture build id for NDK stackframes Capture build id for NDK stackframes Oct 24, 2023
@fractalwrench fractalwrench marked this pull request as ready for review October 24, 2023 14:34
@fractalwrench fractalwrench requested a review from a team as a code owner October 24, 2023 14:34
@fractalwrench fractalwrench merged commit e7f5bd5 into master Oct 27, 2023
@fractalwrench fractalwrench deleted the ndk-unwind-debugging branch October 27, 2023 10:27
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