Skip to content

Conversation

dhavalts1989
Copy link
Collaborator

Previously, MTE crashes were incorrectly reported as UNKNOWN. The existing ANDROID_SEGV_REGEX matches MTE SEGV traces but sets new_type=UNKNOWN, causing misclassification. This change adds an explicit check for 'SEGV_MTESERR' in the crash trace line and updates crash_type to "Segmentation fault" with the correct access type (e.g., "(read)" or "(write)").

The update ensures that crashes involving MTE faults are parsed correctly, filed under the appropriate crash type, and test cases now verify the correct behavior.

Previously, MTE crashes were incorrectly reported as UNKNOWN. The existing
ANDROID_SEGV_REGEX matches MTE SEGV traces but sets new_type=UNKNOWN, causing
misclassification. This change adds an explicit check for 'SEGV_MTESERR' in
the crash trace line and updates crash_type to "Segmentation fault" with the
correct access type (e.g., "(read)" or "(write)").

The update ensures that crashes involving MTE faults are parsed correctly,
filed under the appropriate crash type, and test cases now verify the
correct behavior.
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.

1 participant