Repository navigation
test(agc): map the GCN color target test memory below the ASan shadow gap - #16020
Merged
adriadam10 merged 1 commit intoNov 10, 2026
Merged
Conversation
… gap Under ASan the range from 4 GiB to 1 TiB lies in the shadow gap, so the test could not map its memory there and failed in the sanitizer run. Start the search at 0x60000000 in ASan builds, as the flat store test does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.
AI-assisted: yes. |
Contributor
✅ NVIDIA GPU test: passedPR head
Failing on main too (1, not counted against this PR)Validation IDs already present on main (9 IDs in 466 tests)Skipped (4)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
12 tasks done
Collaborator
|
Checked the ASan path ( |
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.
What
agc_gcn_color_target, added tomainwith #9892, fails in the ASan and UBSan run:cannot allocate test memory below 1 TiB. On Linux the test maps its memory withMAP_FIXED_NOREPLACEat 4 GiB steps from 4 GiB up to 1 TiB, and under ASan on x86_64 that whole range lies in the shadow gap (0x8fff7000to0x2008fff6fff), so every mapping fails. In ASan builds the search now starts at0x60000000, below the low shadow, astests/execution/FlatStore.cppalready does for its guest window. Other builds and Windows are unchanged.Tested
Ubuntu 24.04 under WSL2, GCC 13.3.0, configured as
sanitizers.ymldoes (Release,ANYPS5_ENABLE_ASAN=ON,-fsanitize=undefined -fno-sanitize=vptr, sameASAN_OPTIONSandUBSAN_OPTIONS),ctest -R '^agc_gcn_color_target$':main1e24993fa3: failed 3 of 3 runs withcannot allocate test memory below 1 TiB.main: passed 3 of 3 runs.tools/check_conventions.py --base upstream/mainpasses.Overlap: all 1827 open pull requests were checked on 2026-11-05 at 09:28 UTC against
main7ad9749ed0; two changeGcnColorTarget.cpp(#15700, #12315). #15700 merges with and without this change without a conflict; #12315 already conflicts withmainwithout it, and this change adds no conflict. Neither touches the memory search.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)AI-assisted (Claude Code).
🤖 Generated with Claude Code