test(agc): agc_driver_pipelined_dispatch_item fails in about 1 of 70 Windows runs when VirtualAlloc puts its two targets in different 4 GiB regions #9680
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 boykopovar/AnyPS5. Originally posted by gdols on 2026-10-22T08:11:40Z.
What happens
agc_driver_pipelined_dispatch_itemsometimes stops before it submits anything:pipelined dispatch: the two targets do not share their high address dword.Title, test or build step
agc_driver_pipelined_dispatch_item(agc_driver_pipelined_dispatch_tests.exe)AnyPS5 commit
maind6eafa54dSystem
Windows 11 Pro 26300, GeForce RTX 3080 (NVIDIA 616.92), WinLibs GCC 15.2.0 r7, Release
Steps to reproduce
Run the test on its own many times, each run in its own ctest call (under a second each):
Log
What was checked
maind6eafa54dit failed 2 of 100 runs, and 1 of 40 in another batch, always with this message. It also failed once in a parallel^agc_run with #8998 applied (1 of 20 in isolation there); that PR touches neither this test nor its allocations.NewBlockreserves each 64 KiB block with its ownVirtualAlloc. The table rounds alternate betweenTargetAandTargetB, andTableFillsswitches the table's buffer descriptor by rewriting only its low dword, so the test needs both targets in the same 4 GiB region and checks that atPipelinedDispatch.cpp:176.fprintfof the six block addresses (not committed), 3 of 279 runs failed. In each,TargetBlands in the next 4 GiB region after a gap, not next toTargetA: In the three passing runs I printed, the six blocks are consecutive, for exampleInput=000001d792500000toTargetB=000001d792550000.git grep); it came with #1747.VirtualAllocof three blocks and use two neighbours that don't cross a 4 GiB boundary.NewBlockusesaligned_alloc.AI-assisted: yes