Skip to content

Conversation

twometresteve
Copy link
Contributor

@twometresteve twometresteve commented Sep 4, 2025

Goal

Resolve a common flake caused by incorrect detection of out of project frames.

Design

If a ! is present in the stackframe file, symbolicate was only passing everything after it to is_out_of_project?. But that function expects to receive the whole path to detect out of project frames correctly. This was causing the Stack buffer overflow scenario to flake. Sometimes the frame is provided as:

/apex/com.android.runtime/lib64/bionic/libc.so

and sometimes (the flaky case) it is:

/apex/com.android.runtime/lib64/bionic/libc.so!libc.so

Changeset

I've also fixed a few style errors highlighted by my IDE.

Testing

Covered by a full CI run.

@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1892.41 1634.12
arm64_v8a 704.77 442.63
armeabi_v7a 643.34 385.29
x86 774.38 516.34
x86_64 749.82 487.67

Generated by 🚫 Danger

@twometresteve twometresteve marked this pull request as ready for review September 4, 2025 17:12
@twometresteve twometresteve requested a review from lemnik September 4, 2025 17:33
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.

2 participants