Retail title 1.0.2.1: null read at +0xb5a5f8 right after the auth token refusals – crashes at the account prompt with no input (RTX 3080, Win10 19044) #598

Open
opened 2026-11-26 04:26:42 +00:00 by github-bot · 4 comments
Owner

@⁠justlovett0 on GitHub · 2026-11-24 02:19 UTC · original

Game and package version

The retail title (Xbox Series, unpacked) – <package id> 1.0.2.1 (game_scarlett_master.exe)

What happens

The title reaches its account prompt ("account choice (Y) / PLAYER1 (A)") and presents at ~30 fps, then crashes with no input at all, ~0.3 s after XCL refuses its auth token requests. Reproduced 3/3 runs (two on 7ebf1b8, one on 9ce2070), identical faulting offset, registers and stack each time.

Sequence from xcl.log (XCL_TRACE_FAULTS=1, run on 9ce2070):

[7.576] XUserAddAsync(options=0x1) → local offline user 'Player1'
[8.777] XUser: token #0 for POST <retail auth URL> – none: no Xbox Live (0x80072EFD)
[8.840] XUser: token #1 for POST <retail auth URL> – none: no Xbox Live (0x80072EFD)
[9.139] access violation (read at 0x68) in game_scarlett_master.exe+0xb5a5f8; rax=0x0 rcx=0x0 rdx=0x0 r8=0xffffffff00000000; on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x5bb7cce, +0x4fac3d7, +0x12b95ab, +0x4fac3d7
[9.143] access violation (read at 0x68) in game_scarlett_master.exe+0xb5a5f8; rax=0x0 rcx=0x7189e9ef0 rdx=0x0 r8=0x70df1aa00; on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x1dc5cb4, +0xb5ac26, +0x71bfd00, +0x75de450

The fault trace shows these are the first access violations of the run (first-chance = unhandled; no earlier hidden faults). Two threads fault on the same instruction reading [rcx+0x68]; on the first thread rcx=0 (null object), r8=r9=0xffffffff00000000. The game's own WER/Breakpad then runs and the process ends with 0xc0000005. 139 presents before the crash.

Full crash line:

unhandled exception 0xc0000005 in game_scarlett_master.exe+0xb5a5f8 (read at address 0x68)
rax=0x0 rbx=0x3 rcx=0x0 rdx=0x0 rbp=0x13f r8=0xffffffff00000000 r9=0xffffffff00000000
r11=0x7189cf670 (vtable game_scarlett_master.exe+0x61eced8) r15=0x651e95c4d06fbfb1
on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x5bb7cce, +0x4fac3d7, +0x12b95ab, +0x4fac3d7

The timing suggests the title's auth path uses a result object that is null when XUserGetTokenAndSignatureAsync fails (XCL's documented no-Xbox-Live default, HANDOFF 2026-11-22). Minecraft and Fortnite tolerate the refusal; this title appears not to. It may be the title's own online-only behavior, or the offline XUser path may need more of what this title expects before the auth call – reporting it so the distinction can be checked.

XCL version

9ce2070 (Merge PR #451), release build. Also reproduced on 7ebf1b8 (Merge PR #486).

GPU and driver version

NVIDIA GeForce RTX 3080 (10 GB), driver 32.0.15.9649. Wave32 note applies (console wave64 programs run as two 32-lane halves).

Windows version

Windows 10 21H2, build 19044.7846. D3D12 Agility SDK 1.620.2 (D3D12Core.dll + d3d12SDKLayers.dll) in a D3D12\ folder next to xcl.exe; SM 6.6 activates through it on this build (verified with the gpu_scalar_relative_moves GPU test). DXC 1.8.2502.11 from Windows SDK 10.0.26100. System32\xgameruntime.dll present.

report.json and xcl.log

gh cannot attach files; the full report.json (34 KB) and xcl.log (5 MB, 28k lines) from the 9ce2070 run are kept locally and can be provided on request. Key contents:

  • environment: all OK (GPU RTX 3080, DXC 1.8.2502.11); wave32 note only
  • d3d12.presents: 139; backend: real; failed_pipelines: 0; fallback_pipelines: 0
  • d3d12.translation_errors (known/documented, non-fatal): XCL ABI root signature: 0x80070057 (console flags stripped), 4× mesh pipeline with its MS … in the AS slot – refused (the minimap, HANDOFF 2026-11-23)
  • called_stubs: ID3D12CommandAllocator::#9 (141×), ID3D12GraphicsCommandList6::#126/#142/#75 (140× each), ID3D12CommandQueue::#31 (newer layout) (16×, first caller 0x0), #131/#132 (a few)
  • stubbed_imports: only xmem.dll!XMemIsToolsMemAvailable
  • xgameruntime.apis: XUser/XGameSave/XGame/XSystem/XPersistentLocalStorage → XCL; no unimplemented classes asked
  • audio: 0 engines (not reached)

Console output

Game exited with code 0xc0000005 (3221225477)
CRASH: unhandled exception 0xc0000005 in game_scarlett_master.exe+0xb5a5f8 (read at address 0x68) …
Unimplemented functions called (9): [the called_stubs above]
  • #298 (write at +0x13936 after the menus), #232 (null write at +0x2215c35), #534 (+0x23cf683 in gameplay), #581 (entering gameplay) – later stages / different offsets
  • The HANDOFF "past the first menu" crash (pressing A, device vtable 0x1000, no XCL crash line) is fixed by real::this_first and present in both tested commits; this one has an XCL crash line and a different signature, and needs no input

AI use

Qwen Code (underlying model name not disclosed by the tool). It built the workspace, ran the title with XCL_TRACE_FAULTS=1, extracted the log/report evidence above and drafted this issue at the user's request. All measurements are from the runs described; nothing was hand-written.

**@⁠justlovett0** on GitHub · 2026-11-24 02:19 UTC · [original](https://github.com/xcl-dev/xcl/issues/598) ### Game and package version The retail title (Xbox Series, unpacked) – `<package id>` 1.0.2.1 (`game_scarlett_master.exe`) ### What happens The title reaches its account prompt ("account choice (Y) / PLAYER1 (A)") and presents at ~30 fps, then crashes **with no input at all**, ~0.3 s after XCL refuses its auth token requests. Reproduced 3/3 runs (two on `7ebf1b8`, one on `9ce2070`), identical faulting offset, registers and stack each time. Sequence from `xcl.log` (`XCL_TRACE_FAULTS=1`, run on `9ce2070`): ``` [7.576] XUserAddAsync(options=0x1) → local offline user 'Player1' [8.777] XUser: token #0 for POST <retail auth URL> – none: no Xbox Live (0x80072EFD) [8.840] XUser: token #1 for POST <retail auth URL> – none: no Xbox Live (0x80072EFD) [9.139] access violation (read at 0x68) in game_scarlett_master.exe+0xb5a5f8; rax=0x0 rcx=0x0 rdx=0x0 r8=0xffffffff00000000; on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x5bb7cce, +0x4fac3d7, +0x12b95ab, +0x4fac3d7 [9.143] access violation (read at 0x68) in game_scarlett_master.exe+0xb5a5f8; rax=0x0 rcx=0x7189e9ef0 rdx=0x0 r8=0x70df1aa00; on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x1dc5cb4, +0xb5ac26, +0x71bfd00, +0x75de450 ``` The fault trace shows these are the **first** access violations of the run (first-chance = unhandled; no earlier hidden faults). Two threads fault on the same instruction reading `[rcx+0x68]`; on the first thread `rcx=0` (null object), `r8=r9=0xffffffff00000000`. The game's own WER/Breakpad then runs and the process ends with `0xc0000005`. 139 presents before the crash. Full crash line: ``` unhandled exception 0xc0000005 in game_scarlett_master.exe+0xb5a5f8 (read at address 0x68) rax=0x0 rbx=0x3 rcx=0x0 rdx=0x0 rbp=0x13f r8=0xffffffff00000000 r9=0xffffffff00000000 r11=0x7189cf670 (vtable game_scarlett_master.exe+0x61eced8) r15=0x651e95c4d06fbfb1 on the stack: game_scarlett_master.exe+0x18194c7, +0x75b30f8, +0x5bb7cce, +0x4fac3d7, +0x12b95ab, +0x4fac3d7 ``` The timing suggests the title's auth path uses a result object that is null when `XUserGetTokenAndSignatureAsync` fails (XCL's documented no-Xbox-Live default, HANDOFF 2026-11-22). Minecraft and Fortnite tolerate the refusal; this title appears not to. It may be the title's own online-only behavior, or the offline XUser path may need more of what this title expects before the auth call – reporting it so the distinction can be checked. ### XCL version `9ce2070` (Merge PR #451), release build. Also reproduced on `7ebf1b8` (Merge PR #486). ### GPU and driver version NVIDIA GeForce RTX 3080 (10 GB), driver 32.0.15.9649. Wave32 note applies (console wave64 programs run as two 32-lane halves). ### Windows version Windows 10 21H2, build **19044.7846**. D3D12 Agility SDK **1.620.2** (`D3D12Core.dll` + `d3d12SDKLayers.dll`) in a `D3D12\` folder next to `xcl.exe`; SM 6.6 activates through it on this build (verified with the `gpu_scalar_relative_moves` GPU test). DXC 1.8.2502.11 from Windows SDK 10.0.26100. `System32\xgameruntime.dll` present. ### report.json and xcl.log `gh` cannot attach files; the full `report.json` (34 KB) and `xcl.log` (5 MB, 28k lines) from the `9ce2070` run are kept locally and can be provided on request. Key contents: - `environment`: all OK (GPU RTX 3080, DXC 1.8.2502.11); wave32 note only - `d3d12.presents`: 139; `backend`: real; `failed_pipelines`: 0; `fallback_pipelines`: 0 - `d3d12.translation_errors` (known/documented, non-fatal): `XCL ABI root signature: 0x80070057` (console flags stripped), 4× `mesh pipeline with its MS … in the AS slot – refused` (the minimap, HANDOFF 2026-11-23) - `called_stubs`: `ID3D12CommandAllocator::#9` (141×), `ID3D12GraphicsCommandList6::#126/#142/#75` (140× each), `ID3D12CommandQueue::#31 (newer layout)` (16×, first caller 0x0), `#131/#132` (a few) - `stubbed_imports`: only `xmem.dll!XMemIsToolsMemAvailable` - `xgameruntime.apis`: XUser/XGameSave/XGame/XSystem/XPersistentLocalStorage → XCL; no unimplemented classes asked - `audio`: 0 engines (not reached) ### Console output ``` Game exited with code 0xc0000005 (3221225477) CRASH: unhandled exception 0xc0000005 in game_scarlett_master.exe+0xb5a5f8 (read at address 0x68) … Unimplemented functions called (9): [the called_stubs above] ``` ### Related, but different signatures - #298 (write at +0x13936 after the menus), #232 (null write at +0x2215c35), #534 (+0x23cf683 in gameplay), #581 (entering gameplay) – later stages / different offsets - The HANDOFF "past the first menu" crash (pressing A, device vtable 0x1000, no XCL crash line) is fixed by `real::this_first` and present in both tested commits; this one has an XCL crash line and a different signature, and needs no input ### AI use Qwen Code (underlying model name not disclosed by the tool). It built the workspace, ran the title with `XCL_TRACE_FAULTS=1`, extracted the log/report evidence above and drafted this issue at the user's request. All measurements are from the runs described; nothing was hand-written.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:26:42 +00:00
Author
Owner

@⁠requiemsnkrp on GitHub · 2026-11-24 02:24 UTC · original

A counter-data point that may narrow this to the Windows 10 / Agility SDK setup. It does not happen on Windows 11 26200 with the inbox D3D12Core.dll on 508a0c7 (the commit of #595), RTX 3060, driver 621.24:

  • The same refusals at the same point: XUserAddAsync(options=0x1) → local offline user 'Player1' at 11.37 s, then token #0 … CreateTicketXbl3 – none: no Xbox Live (0x80072EFD) at 12.58 s and token #1 … ros.rockstargames.com – none at 12.64 s.
  • The title goes on: more token refusals at 17.5, 22.6 and 39.4 s, the menus, then world loading, until the #505 watchdog at 326.9 s. There was no fault at +0xb5a5f8 in this run, nor in any 60 s smoke.ps1 run here of 2997c9a, 508a0c7 or 9ce2070 (and of three PR heads on top of them).

One difference shows in the logs: both reports here have the title's lists as ID3D12GraphicsCommandList6 (#126/#142/#75 (not on PC) etc.), while on Windows 11 the same stubs are on ID3D12GraphicsCommandList10 (D3D12.X: ID3D12GraphicsCommandList10 – 86 PC methods, 512 internal slots under the guard). Both of your machines are Windows 10 with Agility SDK 1.620.2. So the PC runtime's vtable / interface level differs between the setups, and with it whatever XCL maps onto it. I have not checked whether that is the cause; a run on Windows 10 without the Agility SDK is not possible (SM 6.6), but a Windows 11 run with the same Agility D3D12Core.dll forced via XCL_D3D12_DIR would tell runtime from OS.

AI use: Claude Code (Claude Opus 5.5) compared my run's log with this report.

**@⁠requiemsnkrp** on GitHub · 2026-11-24 02:24 UTC · [original](https://github.com/xcl-dev/xcl/issues/598#issuecomment-7120103233) A counter-data point that may narrow this to the Windows 10 / Agility SDK setup. It does **not** happen on Windows 11 26200 with the inbox `D3D12Core.dll` on `508a0c7` (the commit of #595), RTX 3060, driver 621.24: - The same refusals at the same point: `XUserAddAsync(options=0x1) → local offline user 'Player1'` at 11.37 s, then `token #0 … CreateTicketXbl3 – none: no Xbox Live (0x80072EFD)` at 12.58 s and `token #1 … ros.rockstargames.com – none` at 12.64 s. - The title goes on: more token refusals at 17.5, 22.6 and 39.4 s, the menus, then world loading, until the #505 watchdog at 326.9 s. There was no fault at `+0xb5a5f8` in this run, nor in any 60 s `smoke.ps1` run here of `2997c9a`, `508a0c7` or `9ce2070` (and of three PR heads on top of them). One difference shows in the logs: both reports here have the title's lists as **`ID3D12GraphicsCommandList6`** (`#126/#142/#75 (not on PC)` etc.), while on Windows 11 the same stubs are on **`ID3D12GraphicsCommandList10`** (`D3D12.X: ID3D12GraphicsCommandList10 – 86 PC methods, 512 internal slots under the guard`). Both of your machines are Windows 10 with Agility SDK 1.620.2. So the PC runtime's vtable / interface level differs between the setups, and with it whatever XCL maps onto it. I have not checked whether that is the cause; a run on Windows 10 *without* the Agility SDK is not possible (SM 6.6), but a Windows 11 run with the same Agility `D3D12Core.dll` forced via `XCL_D3D12_DIR` would tell runtime from OS. AI use: Claude Code (Claude Opus 5.5) compared my run's log with this report.
Author
Owner

@⁠non877828-cmd on GitHub · 2026-11-24 02:30 UTC · original

this happened to me too

**@⁠non877828-cmd** on GitHub · 2026-11-24 02:30 UTC · [original](https://github.com/xcl-dev/xcl/issues/598#issuecomment-7120211672) this happened to me too
Author
Owner

@⁠Prime1997 on GitHub · 2026-11-24 02:46 UTC · original

Hey guys. Let's use "New Retail Title" instead of this unknown game.

**@⁠Prime1997** on GitHub · 2026-11-24 02:46 UTC · [original](https://github.com/xcl-dev/xcl/issues/598#issuecomment-7120462449) Hey guys. Let's use "New Retail Title" instead of this unknown game.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-24 03:07 UTC · original

The zero-vtable mechanism decoded in #595 (same PC, same binary) fits the auth sequence here causally, not just temporally:

The faulting helper exe+0xb5a5d0 dispatches vtable[+0x68] on an object whose memory is valid but all-zero ([obj]=0 vptr, [obj+8]=0). Its producer is a factory at exe+0x1819530: operator new(0x158) → store vtable exe+0x61eced8 → fill fields from a descriptor. The bring-up loop that calls the crashing helper is gated by a 9-bit feature field read through the config table at [obj+0x650] (bextr bits 15..23) — i.e. the game still walks the "session/auth" subsystem slot even when the token path failed, and the slot was never filled by the factory.

Prediction that falls out of this, testable cheaply: make the auth path succeed in a way the game accepts (a canned CreateTicketXbl3 response / token the XUser shim hands back as signed-in, or otherwise complete the R* arc handshake) → the factory runs → the crash must move to a different site (or the game proceeds to input). If it does not move, the gate is the config field, not the token, and the place to instrument is the slot the bring-up loop reads at [rsi+r14*8+0x188].

Cross-ref: the class the game expected is exactly the one your tagger prints for r11 (contents of vtable exe+0x61eced8) — a construction-time content tag pins which call skipped the factory.

**@⁠pickles976** on GitHub · 2026-11-24 03:07 UTC · [original](https://github.com/xcl-dev/xcl/issues/598#issuecomment-7120788164) The zero-vtable mechanism decoded in #595 (same PC, same binary) fits the auth sequence here causally, not just temporally: The faulting helper `exe+0xb5a5d0` dispatches `vtable[+0x68]` on an object whose memory is valid but **all-zero** (`[obj]=0` vptr, `[obj+8]=0`). Its producer is a factory at `exe+0x1819530`: `operator new(0x158)` → store vtable `exe+0x61eced8` → fill fields from a descriptor. The bring-up loop that calls the crashing helper is gated by a 9-bit feature field read through the config table at `[obj+0x650]` (`bextr` bits 15..23) — i.e. the game still walks the "session/auth" subsystem slot even when the token path failed, and the slot was never filled by the factory. Prediction that falls out of this, testable cheaply: make the auth path **succeed** in a way the game accepts (a canned `CreateTicketXbl3` response / token the XUser shim hands back as signed-in, or otherwise complete the R* arc handshake) → the factory runs → the crash must move to a different site (or the game proceeds to input). If it does **not** move, the gate is the config field, not the token, and the place to instrument is the slot the bring-up loop reads at `[rsi+r14*8+0x188]`. Cross-ref: the class the game expected is exactly the one your tagger prints for `r11` (contents of vtable `exe+0x61eced8`) — a construction-time content tag pins which call skipped the factory.
This discussion has been locked. Commenting is limited to contributors.
No description provided.