Retail title: title memory in the coherent UMA window gets 0xFF bytes written over it at world load (crashes on -1 pointers) #911
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#911
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?
@CowboyBingus on GitHub · 2026-11-24 08:06 UTC · original
At world load, objects in the title's own memory get bytes overwritten with
0xFF, and the title then crashes dereferencing the result. The address is different in each run. I'm working on finding the writer.Setup: RTX 5070 Ti, driver 621.24, Windows 11, release. Local stack:
main+ #533 #708 #680 #267 + local diagnostics. Retail title 1.0.2.1, world load. The faults below come before the+0x23cf683watchdog would.Evidence (a local crash handler that dumps 96 bytes around each register pointing at readable memory, plus which XCL memory owns it):
rdi = 0x7384d3b00) and loaded its vtable pointer:0xffffffffffffffff. It faulted reading-1 + 0x2f0at+0x4f88518.0x7108e2f60(vtabletitle+0x633bac0, valid) in the coherent unified-memory window (window 3), with no title texture overlapping. Bytes at+0x20 .. +0x2f:ffffffff00000000 0000014bffffffff. That is 8 bytes of0xFFwritten at+0x24, a 4-byte-aligned address straddling two 8-byte fields: the high half of a title pointer and the low half of a host pointer. The title loaded0xffffffff00000000from+0x20and faulted at+0x4e2aac9.0xffffffffffffffff(+0x248c3f4,+0x4eee124) look like the same corruption.An 8-byte all-ones write at a 4-byte-aligned address in the title's heap doesn't look like a store the title made itself. I'm logging every all-ones write XCL issues or forwards (GPU fills,
WriteBufferImmediate/Write*BitValue*, deferred CPU writes) and matching them against the corrupted address at the crash. I'll post what that shows.AI use: Claude Code (Claude Opus 5.5) wrote the diagnostics and read the logs; I ran the tests.
@CowboyBingus on GitHub · 2026-11-24 09:00 UTC · original
Not reproduced on current
main(09940bb, which has #792's range check of the memory windows): in 5 world-load runs onmain+ #533 + #906 (RTX 5070 Ti, driver 621.24), the same all-ones write tracking logged no all-ones write from XCL, and no run crashed on a-1pointer. The runs above were on a base without #792, so it most likely fixed this: an address outside the windows now reads 0 and drops its stores instead of landing in window 3. Closing; I'll reopen with data if it comes back.AI use: Claude Code (Claude Opus 5.5) read the logs; I ran the tests.
@BTekV4 on GitHub · 2026-11-24 15:51 UTC · original
Linux / NVIDIA wave32 data point: the all-ones-pointer read comes back on a tree that has #792, so it is not only a pre-#792 symptom.
Setup: CachyOS (Arch), RTX 5070 Ti 16 GB (wave32 only), NVIDIA 620.73.04, 62 GB RAM; Wine = UMU-Proton 11.0-2e, vkd3d-proton 3.1 with the scripts/linux patch (#257), DXC win64 from XCL's tools; retail 1.0.2.1,
XCL_NETWORK=0.Tree:
main930e8b4+ local merges: revert ofb8b1f49(#1307), #688, #759 (+757/#758), #820, #751, #549, #1278, #1288, #1315/#1316 (XCL_COMPACT_CSauto), #1284. So #792 is in — and the crash still comes:ListX #101at 95 s.0xc0000005 read at address 0xffffffffffffffff—rax=0xd510 rbx=0x7352dab30 (vtable game_scarlett_master.exe+0x61ce470) rcx=0x0 rdx=0x18800000001 r9=0xffffffff00000000; on the stack:game+0x7c21ac8, game+0x75cffff, game+0x8420913, game+0x962dc9, game+0x528f39d, game+0x28ce1d0. Same shape as vibryxcx's report above (rax=+inf/−inf).Two other runs on the same tree this afternoon: one ended at the title assert
0x80000003atgame+0x4da6315after ~290 s (the #1164 signature), one at the heartbeat abort+0x23cf683. So on wave32 + Wine the outcome between runs varies with queue order — and this one did read a -1 pointer.Not tested: whether the all-ones write tracking catches writes from XCL in these runs; which program the reader vtable belongs to.
AI use: pi agent (account ran it), Claude wrote this from the logs.