tests: open the unified_buffer_paths section heap from a mapped view (#2234) #2287
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2295"
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 tedin7 on 2026-11-25T10:41:01Z.
Part of #2234
What this unblocks: the ordinary test suite stops opening the
unified_buffer_pathsheap withOpenExistingHeapFromFileMapping, the path that leaks Windows commit on the affected build.Changes:
tests/unified_buffer_paths_check.cpp: the section pool keeps one whole-pool mapped view and opens its shared heap withOpenExistingHeapFromAddresson it. Same bytes, cross-queue and reuse controls are unchanged. The view is unmapped after the heap is released. The refusal probes that go through aFILE_MAP_READhandle still run, since they fail and open no heap.docs/experiments.md: thesharerow names the address path.Not done here: the baseline vs post-exit commit measurement and a separate manual
FromFileMappingchild. Those need the affected Windows build.vm_copy_queueandvm_translationare left as separate follow-ups, as discussed on the issue. The issue stays open for other Windows builds.Verification:
git diff --check: clean.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T10:59:23Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207, D3D12 WARP) at
d5cbfbc3b91af13f48067a3dfad987c138261024:python3 /root/.local/state/xbox2windows/pipeline/x2w_pipe.py win2025 2295 --force(default 3-slot pool), exit 0.--preset dev):unified_buffer_paths_checkbuilt,ctest -R '^unified_buffer_paths_'4/4 passed (unified_buffer_paths_warp,_skip_refresh_control,_skip_copy_back_control,_reuse_early_control).--preset release): same build andctest, 4/4 passed.gh pr checks 2295: all pass (Linux Python checks, Build and test on Windows, gfx1013 fixtures); the /O2 and coverage jobs are skipped by the workflow.unified_buffer_pathsplus thedocs/experiments.mdrow, per the issue.vm_copy_queueandvm_translationstay as separate follow-ups.FromFileMappingchild. They need the affected Windows build.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T10:59:35Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
d5cbfbcℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.