First-run report: retail title (Series 1.0.2.1) — boots, 1,042 translated pipelines, 2 presents, deterministic null-write crash #159
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#159
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?
@Angelo90810 on GitHub · 2026-11-23 17:53 UTC · original
First-run report: retail title package (game_scarlett_master.exe, Series 1.0.2.1) — boots, 1,042 translated pipelines, 2 presents, deterministic null-write crash
XCL version: 0.1.0 (release build, commit
db5dc26)Title:
<package id>— Xbox Series package 1.0.2.1, unpacked. No game files attached; per HANDOFF this report is the to-do list, so here it is.Environment
Outcome (reproduced twice, byte-identical crash)
XMemIsToolsMemAvailable(xmem.dll), never called.realbackend,AMD Radeon RX 6600 (8146 MiB VRAM); UMA 512 MB (66112 KB used), no UMA errors; native dynamic depth bias (OPTIONS16) supported.unhandled exception 0xc0000005 in game_scarlett_master.exe+0x2215c35 (write at address 0x0) rax=0x140004380 rbx=0x0 rcx=0x4189374bc6a7f0 rdx=0x510b94207 rsi=0x517d4ffb88 rdi=0x32a6a1e2f7 rbp=0x0 r8=0x83 r9=0x7ffee000 r12=0x329052f4de r13=0x146845c28 r14=0x7ffa8f1db220 r15=0x3294b935ad rsp=0x517d4ffb60; on the stack: game_scarlett_master.exe+0x71b9a20, game_scarlett_master.exe+0x2215ecaAll 620 failed pipelines report the same driver rejection:
Stubbed console functions the title actually called
xg_xs.dll: XGTextureAddressComputer::#10 — 179 calls (first caller:game_scarlett_master.exe+0x344287)d3d12_xs.dll: ID3D12CommandQueue::#31 (newer layout) — 14 calls (first caller:0x0)d3d12_xs.dll: ID3D12CommandQueue::#35 (not on PC) — 5 calls (first caller:game_scarlett_master.exe+0x248268f)d3d12_xs.dll: ID3D12GraphicsCommandList10::#131 (not on PC) — 4 calls (first caller:game_scarlett_master.exe+0x2478cba)d3d12_xs.dll: ID3D12GraphicsCommandList10::#132 (not on PC) — 4 calls (first caller:game_scarlett_master.exe+0x2478c99)d3d12_xs.dll: ID3D12CommandAllocator::#9 (not on PC) — 3 calls (first caller:game_scarlett_master.exe+0x188501)d3d12_xs.dll: ID3D12GraphicsCommandList10::#126 (not on PC) — 2 calls (first caller:game_scarlett_master.exe+0x3263e)d3d12_xs.dll: ID3D12GraphicsCommandList10::#131 (not on PC) — 2 calls (first caller:game_scarlett_master.exe+0x2478bc5)d3d12_xs.dll: ID3D12GraphicsCommandList10::#142 (not on PC) — 2 calls (first caller:game_scarlett_master.exe+0x329e9)d3d12_xs.dll: ID3D12GraphicsCommandList10::#75 (console extension) — 2 calls (first caller:game_scarlett_master.exe+0x32820)d3d12_xs.dll: ID3D12GraphicsCommandList10::#132 (not on PC) — 1 calls (first caller:game_scarlett_master.exe+0x2478ba4)Notes
+0x2215c35(write to null,rbx=0,rbp=0) is identical in both runs and lands right after the second present — looks like a follow-on effect of a console-API answer rather than a random fault;XGTextureAddressComputer::#10with 179 calls is my prime suspect.--trace, debug builds or PR tests on this machine (RDNA2, driver 32.0.21045.29003).report.json (sanitized: personal paths removed)
@ryosen0 on GitHub · 2026-11-23 18:00 UTC · original
Cross-repro on NVIDIA RTX 3060 Ti (wave32) — same crash site, registers and stub profile as this RX 6600 report, so the failure looks GPU-independent.
Setup: Windows 11, 31.4 GB RAM, RTX 3060 Ti 8 GB (wave32, split-wave64 path), Rust 1.100.0-nightly, DXC from SDK 10.0.26100.0, ShyVortex/xcl
maincloned 2026-11-23 (release build),XCL_NETWORK=0,XCL_DUMP_SHADERS=0.Result: boots, 2 presents / 4 frame boundaries, crash at ~93 s:
rax/rbx/rcx/r13and both stack return addresses are identical to the report above; only the wave/heap-dependent registers differ. Same rejection on every failed PSO:0x80070057; topology type 3, 2 render targets, DSV format 118, HS false, GS false.Numbers side by side:
Called-stub profile matches too:
XGTextureAddressComputer::#10×179 (same first caller +0x344287),CommandQueue::#31×16,#35×6,CommandAllocator::#9×4,CommandList::#131/#132×4 — plus#126×3,#142×3,#75 (console extension)×3. Only stubbed import:XMemIsToolsMemAvailable, never called. Audio never initializes (engines: 0); VFS shows zero redirected writes — game folder byte-identical after the run (independently verified).This lines up with the AS-subobject mesh-pipeline failure in HANDOFF.md (2026-11-23): on the RX 9070 it hit at ~183 s, here at ~93 s, and the identical
rcx/raxacross three different GPUs suggests the title dereferences the same failed-pipeline result deterministically rather than a driver-specific issue.Happy to re-run this title with
XCL_TRACE_MEM, frame dumps, or patched builds to verify AS/MS subobject-numbering fixes — we have it locally.@ryosen0 on GitHub · 2026-11-23 18:26 UTC · original
Confirmed on NVIDIA RTX 3060 Ti (wave32), Windows 11 host, main @
956a476,XCL_NETWORK=0:The null-write at
+0x2215c35is gone. The title now runs 231 s, 6,557 presents, steady 30.0 fps (50,796 pipelines translated, 807 failed), then stops on its ownint3:This looks like a deliberate assert, not a fault — and
+0x344196is close to theXGTextureAddressComputer::#10stub caller seen in #159 (+0x344287, 179 calls), so the texture-address path may be involved. Audio still never initializes (engines: 0). The 807 failed PSOs keep the same0x80070057 / topology type 3 / DSV format 118signature as before, but they no longer kill the title.For comparison, the same package on this machine at
db5dc26died at ~93 s with the null-write; PR #162's branch moved that to ~50 s without fixing it.956a476removes it entirely.Can re-run with
XCL_TRACE_MEM, frame dumps, or candidate patches for the+0x344196assert — the title is available locally.@ryosen0 on GitHub · 2026-11-23 18:43 UTC · original
Decoded the
int3at+0x344196from the title's own.text(file offset0x343596, capstone):sm +0x34414d cmp qword [rsi+8], 0x1000 ; cached size == 4096? +0x344155 je +0x344190 ; yes -> skip the refresh +0x344157 mov qword [rdi+8], 0 +0x34415f mov rdx, [rip+0x8415b9a] ; a global object pointer +0x344166 mov r8d, 1 +0x34416c mov r9d, 1 +0x344172 mov rax, [rdx] ; vtable +0x344175 mov [rsp+0x20], rdi +0x34417a lea rdi, [rsp+0x38] ; 16-byte out buffer +0x34417f mov rcx, rdi +0x344182 call qword [rax+0xc8] ; vtable slot 25 (0-based) +0x344188 vmovups xmm0, [rdi] +0x34418c vmovups [rsi], xmm0 ; store the 16-byte result +0x344190 cmp dword [rsi+4], 0 +0x344194 je +0x344197 ; result+4 == 0 -> ok +0x344196 int3So it is an inline HRESULT check: the call at
[vtable+0xc8]must return S_OK (result+4), and the result's qword at+8is a size the caller expects to be0x1000once cached. The assert fires on the first call, before any value is cached.At the crash
r12=0x384000(=3,686,400) is consistent with a texture byte size, and this region also callsXGTextureAddressComputer::#10(179 times, first caller+0x344287), which is anE_NOTIMPLstub. Slot 25 of the global object here is a different interface, though — not the computer's 12-entry vtable — so identifying which object[rip+0x8415b9a]holds would pin down the failing call. A stub log naming the object/vtable at that call would settle it in one run.Timing varies with cache state on this machine: 33 s warm, 231 s cold; the assert site and registers (
rbx=0x76,rbp=0x30,r12=0x384000,r13=0x5a0,r14=0x3,r15=0xa00) are identical across runs.@ivall on GitHub · 2026-11-23 21:14 UTC · original
Closing: the null write at
+0x2215c35went away on956a476(ryosen0's run), and theint3at+0x344196that came next is fixed on main (D16S8 formats in XG,38b05b7). On an RX 9070 the game reaches its first menu at 30 fps with ~19 GB of commit. A new issue with a log from current main is welcome for what comes next. Thanks for the detailed report!