Skip to content

Retail title: title memory in the coherent UMA window gets 0xFF bytes written over it at world load (crashes on -1 pointers) #911

Done

Description

@CowboyBingus

Not reproduced on current main; closed. These runs were on a base without #792 (memory windows are range-checked, so stores outside them no longer land in a live window). See the last comment.

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 +0x23cf683 watchdog would.

Evidence (a local crash handler that dumps 96 bytes around each register pointing at readable memory, plus which XCL memory owns it):

  • Run A: the title looked up an object (rdi = 0x7384d3b00) and loaded its vtable pointer: 0xffffffffffffffff. It faulted reading -1 + 0x2f0 at +0x4f88518.
  • Run B: object 0x7108e2f60 (vtable title+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 of 0xFF written 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 loaded 0xffffffff00000000 from +0x20 and faulted at +0x4e2aac9.
  • Earlier faults reading at 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.

Activity

  1. CowboyBingus commented on Nov 24, 2026

    @CowboyBingus
    Author

    Not reproduced on current main (09940bb, which has #792's range check of the memory windows): in 5 world-load runs on main + #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 -1 pointer. 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.

  2. BTekV4 commented on Nov 24, 2026

    @BTekV4

    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: main 930e8b4 + local merges: revert of b8b1f49 (#1307), #688, #759 (+757/#758), #820, #751, #549, #1278, #1288, #1315/#1316 (XCL_COMPACT_CS auto), #1284. So #792 is in — and the crash still comes:

    • Press A (GameInput pad) at 30 s; first ListX #101 at 95 s.
    • The title runs in the world for ~2 min 24 s (presents + submits + DirectStorage, ~1800 requests per 2 s window, 0 failed), then:
    • 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 0x80000003 at game+0x4da6315 after ~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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions