Repository navigation
Conversation
A game folder on a mapped network drive (or given as \server\share\...) canonicalizes to \?\UNC\server\share\...; resolve_location and config_root cut only the leading \?\, which leaves the relative path UNC\server\share\... . is_dir() then fails on it, the folder is taken for an exe, and the title's process does not start: xcl: failed to start the game process: CreateProcessW: error 267 Both now go through vfs::strip_verbatim, which already turns \?\UNC\server\share back into \server\share for the VFS roots. Seen with a retail title on a NAS share mapped as W:. The new test runs a folder through the machine's administrative share (\localhost\C$) and fails without the change.
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Note: the full |
|
Verified on Windows 11, NVIDIA GeForce RTX 5070 Ti 16 GB, Rust 1.100 MSVC, release. Same title and package as #695, This PR's head
Not tested
|
|
Two contributors checked independently and found that #887 solves the same problem (for #695) in a different way: #1607, group D83. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
|
NVIDIA test report for
AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run. |
Stacked on #579. Fixes #723. Fixes #695.
In retail game, the GameThread packet stream (96 KiB) fills up during the first-run account prompt because nothing on PC drains it. Once full (
capacity - cursor < requested), the title hits an unconditionalint 3assert attitle+0x4dcbc9d(0x80000003), terminating the process within ~30 s.What is in it
crates/xcl/src/eh.rs:handle_thread_stream_assert: handles0x8000_0003in VEH whenrip & 0xFFF == 0xC9Dwithin the main module pointing to0xCC(int 3).read_unaligned/write_unaligned) to avoid faults on unaligned slot pointers.(capacity * 8).max(1 MiB).min(16 MiB)), allocates a new buffer viaVirtualAlloc, copies active cursor data, updatesdataBaseandcapacity, and rewindsRipto the capacity check re-entry point at(rip & !0xFFF) | 0xC47so the enqueue completes normally without dropped packets.XCL_GROW_THREAD_STREAM=0), when memory allocation fails, or when the 16 MiB ceiling is reached, advancesRip += 1to land on+0xC9E(jmp +0xC8A, the title's own packet-dropped branch), continuing execution smoothly without crashing.eh::tests::thread_stream_assert_growth_ceiling_and_unaligned_slotcovering initial 4 KiB -> 1 MiB expansion with cursor preservation, retry jump to+0xC47, 16 MiB ceiling boundary enforcement, and unaligned slot pointer handling.Tested
cargo test -p xcl --lib eh::tests: 7 passed, 0 failedpython -m unittest discover -s scripts -v: 9 passed, 0 failedRegression run
main:
PR:
Not tested
AI use