gpu: keep the alias registry test independent of bottom-up ASLR #1104
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1111"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by archielcqp-a11y on 2026-11-24T01:10:19Z.
Change
check_gpu_alias_registryneeds a free 64 KB block below its first graphics allocation. With bottom-up ASLR off,VirtualAlloc(nullptr, ...)places allocations first-fit from the bottom, no block remained below, and bothgpu_alias_registrytests failed in setup ("region below the first allocation"). The block is now committed before the first allocation, which first-fit placement then puts above it; when randomized placement puts it higher, the test releases it and searches below as before. Independent problem; no issue.Verification
Commit
4921f15on upstream31f9ebb, Windows 10 build 19045, RTX 3080 and WARP, debug layer enabled.Bottom-up ASLR off (Windows Security → Exploit protection, after a restart), 10 runs of
ctest --test-dir <build> --no-tests=error -R '^gpu_alias_registry_'per build, original and fixed source each rebuilt (measured on the original based2ac415; on31f9ebbsee the stacked run below):With bottom-up ASLR on: 10/10 passed in all three builds.
Also tested on upstream
31f9ebbwith all five rebased changes stacked (620 tests, Agility SDK 1.620.2 + WARP 1.0.22 build, bottom-up ASLR off):gpu_alias_registry_hardware/_warp,cpu_shim_shadow_warp,cpu_shim_chain_warpand bothwave64_emulatetests pass. The remaining failures also fail on plain31f9ebb:bvh_wave64_warp,wave_shuffle_warp(#145),cpu_archive_texture_gpu_warp,cpu_native_load_config_callback,pe_package_import_closure.Evidence and follow-up
No new fixture.
docs/experiments.mdgains a paragraph after the existing note on the interior block's search.Checklist
This change was AI-assisted.
🤖 Generated with Claude Code