No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1233
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1233"
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?
@Lum7nt on GitHub · 2026-11-24 13:27 UTC · original
Lum7nt:fix/retail-thread-stream-assert→main· +137 −3 · 3 files · 2 commits · openStacked 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
@DavidM1911 on GitHub · 2026-11-24 13:47 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:Note: the full
d3d12xlib filter currently aborts with 0xc0000005 on unmodifiedmaintoo (pre-existing, unrelated to this PR); the PR's own tests were run by name and pass.@NWProgramming00 on GitHub · 2026-11-25 13:53 UTC · original
Verified on Windows 11, NVIDIA GeForce RTX 5070 Ti 16 GB, Rust 1.100 MSVC, release. Same title and package as #695,
XCL_NETWORK=0.This PR's head
488feb4merges cleanly onto currentmain1a0bbe3(merge commitebff0e1, local only).cargo test --release -p xcl --lib eh::testson the merged tree: 7 passed, 0 failed, includingthread_stream_assert_growth_ceiling_and_unaligned_slot.scripts/smoke.ps1 -Seconds 60, same title, same card. Onmainthe run ends with the0x80000003assert at the address from #695, as every run on this machine has since yesterday. With this PR merged, it reaches the end:main1a0bbe3:main+ this PR (ebff0e1):Not tested
@throny on GitHub · 2026-11-25 16:35 UTC · original
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.
@upipibi on GitHub · 2026-11-25 21:03 UTC · original
NVIDIA test report for
488feb4(head as is, base47efa2e), for #1607's "one more test report" list. RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug, aftercargo build --workspace:cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2: 734 passed, 0 failed, 41 ignored. The end-to-end title tests pass.hle::xaudio2, because its tests fail or hang on this machine onmaintoo. The PR doesn't touch it.no wave64on this card.AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run.
@DavidM1911 on GitHub · 2026-11-26 04:17 UTC · original
Re-verification on RTX 3060 Ti (Windows 11), new head merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.Thanks!
— Devin
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.