tests: open the unified_buffer_paths section heap from a mapped view (#2234) #2295
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2295
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2295/head"
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?
@tedin7 on GitHub · 2026-11-25 10:41 UTC · original
tedin7:x2w-w4-2234-heap-from-address→main· +15 −8 · 2 files · 1 commits · merged 2026-11-25 11:48 UTCPart 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.
@tedin7 on GitHub · 2026-11-25 10:59 UTC · original
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.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 10:59 UTC · original · edited 2026-11-25 11:01 UTC
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.