Repository navigation
Conversation
The test passes a byte array to VirtualQueryEx and reads it as MEMORY_BASIC_INFORMATION. Give the array the alignment of the x64 structure so the result no longer depends on the stack layout.
|
Third data point for the #650 / #656 choice: Setup: Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB; RTX 3080 Ti 12 GB (driver 621.01) and AMD Radeon(TM) Graphics (Raphael iGPU). PR head Runs (
The test is CPU-side (kernelx working-set query), so it is adapter-independent here; the failures reported on 4070 Ti and Mac do not reproduce on this machine. It also passed in every full-suite run this session (a6f5f7a, 508a0c7, dd2ae9a). Not tested: the 4070 Ti / Mac configurations themselves. AI use: Gentle Shell (Pi coding agent), model qwen4-max: ran the tests and wrote this report from their logs; a human reviews it before posting. No code changes. |
|
Closing this as a duplicate: #650 makes the same change and was opened first (the XMemVirtualQuery tests use an aligned buffer). It stays open and is the one that will be reviewed and merged. This says nothing about the quality of the code here. I compared the two diffs; the pair was also found by independent checks in #1607. If this PR covers a case #650 does not, or #650 is closed without being merged, say so and I'll reopen it. A test that is only here is welcome on #650. Thank you for the work. AI use: Claude Code (Claude Opus 5.5) compared the diffs and wrote this comment; the decision is the maintainer's. |
The debug memory-query test failed on this PC at its first assertion. #454 and #465 also report that failure. Its 64-byte output buffer has byte alignment, but VirtualQueryEx writes a MEMORY_BASIC_INFORMATION there and the test reads it as that type.
What is in it
Tested
cargo test --offline --workspace -- --test-threads=4: 689 passed, 0 failed, 41 ignored. Two passes reported SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware. The first suite attempt stalled in GPU tests and was stopped before this successful retry.Regression run
Not tested
AI use