Repository navigation
test(e2e): disable GWP-ASan in AndroidApp to avoid Hermes x86_64 crash - #504
Merged
hurali97 merged 1 commit intoOct 19, 2026
Merged
Conversation
Expo E2E jobs sometimes crash with SIGSEGV inside GWP-ASan's frame-pointer walker (android_unsafe_frame_pointer_chase) while Hermes frees memory on a fiber stack. This is a known Hermes V1 issue on x86_64 (facebook/hermes#1873, facebook/hermes#2225), not a memory bug in the app. The upstream fix (73f9af39) is in Hermes 260318099.x, but Expo 58 already ships 260318099.0.3 and still crashed, so disable GWP-ASan for the example app. Refs callstack#499
KisaneNeko
marked this pull request as ready for review
October 19, 2026 08:23
hurali97
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #499
Problem
The Android Expo E2E jobs sometimes crash with a native SIGSEGV. Over the last week this happened in 2 of 36 completed Expo jobs, and the failure shows up as "Detox can't connect to the app". Both crashes have the same stack:
This is a known Hermes V1 issue on x86_64: facebook/hermes#1873 and facebook/hermes#2225. GWP-ASan samples a
free()that runs on a Hermes fiber stack. Its stack walker then follows a bad frame pointer into unmapped memory and crashes. It isn't a memory bug in the app.The upstream fix (facebook/hermes@73f9af39) is in Hermes
260318099.x. Our Expo 58 build already ships260318099.0.3(I matched the Build ID from the crash log) and still crashed, so upgrading Hermes isn't enough.Change
Set
android:gwpAsanMode="never"on the AndroidApp<application>, with a comment linking the Hermes issues. This only turns off GWP-ASan sampling for the example app.Notes
260318099.x.