Retail title 1.0.2.1: assert 0x80000003 at +0x4dcbc9d on the account prompt – a 96 KiB stream full (RTX 4060 Ti 8 GB, Windows 10) #695
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#695
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Placebola on GitHub · 2026-11-24 03:37 UTC · original
Game and package version
1.0.2.1, unpacked
What happens
The title reaches its first menu, the account prompt (shown at ~6 s), presents at ~24 fps, then traps on its own
int3at ~31–34 s. It is the same in every run: same address, same registers, and 8,741[SHADER]lines in the log before it. Pressing A changes nothing: withXCL_PRESS_A_AT=12,20the log hasGameInput: gamepad buttons 0x4 pressed for the first timeat 20.0 s and the trap follows at 30.9 s.What the code does there (static read of the retail exe with
dumpbin /disasm, RVAs):+0x4dcbc40appendsnbytes to a stream:remaining = [s+0x10] - [s+0x18];remaining < n→int3at+0x4dcbc9d, elsememcpyand advance[s+0x18]. At the trapremaining= 0x50 (rbx) andn= 0x6c0 (rsi,r8);rax= 0x17fb0 is the position, so the stream holds 0x18000 bytes (96 KiB).+0x4e52a40takes a lock at[slot]+8, pads the shared stream to 16 bytes with a packet (+0x4dcae80writes header0x1000007with the padding count in bits 22–25), then appends a scope's own buffer ([obj+8], length[obj+0x18]) to it.+0x4e529a0calls it when a scope ends, the shared stream found from[obj+0x28]by+0x4dcbc10.So a shared stream of 96 KiB that the title fills with packets is not emptied before it is full. Which part of the title empties it, and what it waits for, I did not find.
Ruled out on this machine:
UMA: … under 17408 MBwarning). With a system-managed page file and a reboot the warning is gone (4095 MB coherent window); the trap is unchanged.ID3D12CommandAllocator::#9(stub, ~650 calls per run), for whoever looks at it: at+0x1884eethe title passesrdx=+0x555df10andr8= a context.+0x555df10takes a size (4th argument) and an alignment (5th,1 << nbelow 16), allocates a block from the title's allocator, frees the previous block kept atcontext+0x12798and returns the new one – a callback that hands out memory blocks. I found nothing linking it to the stream above; this is not a claim that #9 causes the trap.Also in the same runs, before the trap: 39 mesh pipelines refused (
MS … in the AS slot), and at ~17–19 s five graphics PSOs rejected, two with0x80070057(topology type 3, 1 render targets, DSV format 0) and three with0x8007000e.Not #598: without the Agility SDK (inbox D3D12, SM 6.5) my first run ended at +0xb5a5f8 (read at 0x68) as in #598; with the Agility SDK loaded the title gets past it and stops at +0x4dcbc9d instead. Not #298 / #173 either (other addresses).
AI use: Claude Code with Claude Opus 5.5 read the logs, disassembled the exe with dumpbin, and drafted this report; the runs are mine, on the hardware above.
XCL version
dd2ae9a(main), release build.mainis at91f9a5enow (README, a DXC blob cache), not rerun.GPU and driver version
NVIDIA GeForce RTX 4060 Ti 8 GB (32-lane waves), driver 616.64. Intel Core i7-7700 (the title's
monitorx/mwaitxare emulated), 32 GB RAM.Windows version
Windows 10 Home 22H2, build 19045.6466. D3D12 Agility SDK 1.620.2 next to xcl.exe (
XCL_D3D12_DIR; the log hasD3D12: Agility SDK v620). DXC 1.9.2602.17 (Windows SDK 10.0.26100.0). NoSystem32\xgameruntime.dll(Gaming Services not installed). Launched withXCL_NETWORK=0,XCL_D3D12_DIR=<xcl>\target\release\D3D12,XCL_RUN_SECONDS=90,XCL_PRESS_A_AT=12,20, thenxcl.exe run <game folder>.report.json and xcl.log
report.json
xcl.log
Console output
github-bot referenced this issue2026-11-26 04:47:57 +00:00
@Placebola on GitHub · 2026-11-24 04:42 UTC · original
Found the cause: this PC has no active audio output. With one enabled, the same build and command run the whole 90 s timer with no trap. The 96 KiB stream is the title's audio command stream, and the audio thread is stuck on a lock the title never releases.
The chain (retail exe 1.0.2.1, RVAs; static read with
dumpbin, checked withXCL_PROBEand a local diagnostic onf4ce27c):Unknown(disconnected); only microphones areOK. XCL's own tests on this PC logXAudio2: CreateMasteringVoice failed (0x80070490) – no audio device?. The exe holds the IIDs ofIMMDeviceEnumerator,IMMNotificationClient,ISpatialAudioClientandISpatialAudioObjectRenderStream: it plays its own mix through Windows audio.+0x1e7f9d9(after the setup's HRESULT checks) and on+0x43aefe0(allocates the output buffers and sets the count at[obj+0x52c]) are never hit. The count stays 0.+0x5267720takes the lock of that object (call +0x4b40) and, when[obj+0x52c] == 0, returns at+0x5267cfbwithout releasing it; its other exit releases it at+0x5267c98. On a console there is always an output, so this path is not taken there. A probe on the lock's acquire / release (+0x4b40/+0x4d9dab0), filtered to this lock, shows oneLOCKfrom+0x5267740(lock free before:0xffffffff00000000) and noUNLOCK; from then on the lock word is e.g.0x0000351400000003(owner = the thread that took it, now an idle job worker; two waiters).+0x1e95040loop) waits on that lock in+0x5594650for good, and a second thread waits on it in+0x43ae0f0. The audio thread's update counter ([consumer+0x1548]) stays at 1.+0x43a6be6). They are never emptied, and at ~30 s the main thread's append (+0x4dcbc40, from+0x4e52a7e) trips theint3at+0x4dcbc9d.So
ID3D12CommandAllocator::#9is unrelated, as suspected above.Workaround: enable an audio output (plug in a headset or speakers, or turn on a Bluetooth one) before starting the title.
Proposed fix – before writing it, is this direction OK?
xcl run's PC check warns when Windows has no active audio output, next to the existingxgameruntime.dllwarning.IMMDeviceEnumerator, and anISpatialAudioClient/ISpatialAudioObjectRenderStreamthat takes the title's buffers at the real rate and drops them – as a console always has an output. Split as the objects with their tests first, then turning them on.AI use: Claude Code with Claude Opus 5.5 did the disassembly, the probes and the local diagnostic runs and drafted this comment; the audio-output test was mine, on the hardware in the issue.