Title crashes in Game Init at +0xb5a5f8 (null read 0x68) right after XUserAddAsync – identical signature under XCL (ivall/xcl#598); Win10 19044, RTX 3080 #348

Closed
opened 2026-11-26 04:00:07 +00:00 by github-bot · 6 comments
Owner

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

What happens

The title boots, opens its archives (dstorage), creates the offline user, and starts presenting – then crashes in Game Init, with no input, ~0.5 s after XUserAddAsync. Nothing is drawn on this machine (draws=96 drawn=0, see the SM 6.5 note below). The game's own WER crash log says Game State: Game Init, Frame: 0.

The crash signature is byte-for-byte identical to one reproduced under XCL (a separate, independent Xbox→Windows layer), filed there as ivall/xcl#598. Two different loaders/HLEs/recompilers faulting at the same instruction with the same registers points at the title's own offline-account/auth init path rather than either project's setup.

Console output (release build, commit d2a4bae)

02:25:42.622 INFO victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1
02:25:42.985 INFO victory_gpu::queue: frame presented frame=64 draws=96 drawn=0 dispatches=0 dispatched=0
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68)
  rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rbp 0x13f
  r8 0xffffffff00000000 r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1
  #0 +0xb5a5f8  #1 +0x5bb7cce  #2 +0x1dbdc0b  #3 +0x5bb7111  #4 +0x5bb7071
  #5 +0x63e78   #6 +0x4eaa05a  #7 +0x221c29c  #8 +0x2215eca  (thread start)
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68)
  rax 0x0 rbx 0x2c rcx 0xd12453680 rbp 0x90f r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1
  #0 +0xb5a5f8  #1 +0x1dc5cb4  #2 +0x5bbf240  #3 +0x35cd6e1  …

Both faults become unhandled; the title's WER saves its crash log and the process ends. Full crashes.log entries match the above.

Cross-project comparison (same dump, same PC)

XCL (ivall/xcl#598) VIctory (this run)
Faulting RVA +0xb5a5f8 +0xb5a5f8
Fault read 0x68, rcx=0 read 0x68, rcx=0
Registers rbx=3, r8=r9=0xffffffff00000000, rbp=0x13f identical
Worker-thread frame +0x1dc5cb4 +0x1dc5cb4
Context ~0.3 s after XCL refused Xbox Live tokens for Rockstar auth (CreateTicketXbl3, 0x80072EFD) ~0.5 s after XUserAddAsync (offline user; network offline by design)
Reproducibility 3/3, no input 1/1 so far, no input

Under XCL the menus rendered (139–239 presents) before the same fault; here nothing draws, but the faulting instruction, registers and thread stacks are the same.

Environment

  • VIctory d2a4bae (Merge PR #129), cargo build --release -p victory, pinned toolchain 1.98.1
  • Game: GTA VI Xbox Series, RockstarGamesInc.28872443D20A7 1.0.2.1, game_scarlett_master.exe (unpacked, user-supplied)
  • Windows 10 21H2 build 19044.7846; AMD Ryzen 9 7900X (AVX2); NVIDIA RTX 3080, driver 32.0.15.9649
  • victory config verified; game/cache/data dirs all on D:

Separate machine limitation: SM 6.5, nothing drawn

This PC's inbox D3D12 reports SM 6.5 (probed via D3D12CreateDevice + CheckFeatureSupport(D3D12_FEATURE_SHADER_MODEL) requesting 6.6 → returns 6.5). VIctory emits SM 6.6 DXIL and has no Agility SDK loading (unlike XCL, which activates an app-local D3D12Core.dll through ID3D12SDKConfiguration1 – verified working on this same build of Windows). Hence drawn=0. The README's results were on Windows 11; on Windows 10 an Agility SDK path (or a 6.5 fallback for the non-mesh stages) would be needed to render anything. This is listed separately because it is not the crash: XCL rendered fine and still hit the identical init fault.

Question

The README's status (boot, first-boot screens, start screen, profile and saves working) was measured on Windows 11 + RX 6700 XT, also offline by design. What differs there that lets the title past this init path – timing, or something the XUser/profile HLE answers differently? The identical fault under two independent layers suggests the title reads an object during offline account/auth init that neither platform supplies yet.

AI use

Qwen Code (underlying model name not disclosed by the tool). It built the workspace, ran the title, extracted the log/crash evidence above, compared it with the XCL runs behind ivall/xcl#598, and drafted this issue at the user's request. All measurements are from the runs described.

**@⁠justlovett0** on GitHub · 2026-11-24 02:29 UTC · [original](https://github.com/Marvisak/VIctory/issues/348) ### What happens The title boots, opens its archives (dstorage), creates the offline user, and starts presenting – then crashes **in Game Init, with no input**, ~0.5 s after `XUserAddAsync`. Nothing is drawn on this machine (`draws=96 drawn=0`, see the SM 6.5 note below). The game's own WER crash log says `Game State: Game Init`, `Frame: 0`. **The crash signature is byte-for-byte identical to one reproduced under XCL** (a separate, independent Xbox→Windows layer), filed there as [ivall/xcl#598](https://github.com/ivall/xcl/issues/598). Two different loaders/HLEs/recompilers faulting at the same instruction with the same registers points at the title's own offline-account/auth init path rather than either project's setup. ### Console output (release build, commit `d2a4bae`) ``` 02:25:42.622 INFO victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1 02:25:42.985 INFO victory_gpu::queue: frame presented frame=64 draws=96 drawn=0 dispatches=0 dispatched=0 VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68) rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rbp 0x13f r8 0xffffffff00000000 r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1 #0 +0xb5a5f8 #1 +0x5bb7cce #2 +0x1dbdc0b #3 +0x5bb7111 #4 +0x5bb7071 #5 +0x63e78 #6 +0x4eaa05a #7 +0x221c29c #8 +0x2215eca (thread start) VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68) rax 0x0 rbx 0x2c rcx 0xd12453680 rbp 0x90f r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1 #0 +0xb5a5f8 #1 +0x1dc5cb4 #2 +0x5bbf240 #3 +0x35cd6e1 … ``` Both faults become unhandled; the title's WER saves its crash log and the process ends. Full `crashes.log` entries match the above. ### Cross-project comparison (same dump, same PC) | | XCL (ivall/xcl#598) | VIctory (this run) | |---|---|---| | Faulting RVA | `+0xb5a5f8` | `+0xb5a5f8` | | Fault | read `0x68`, `rcx=0` | read `0x68`, `rcx=0` | | Registers | `rbx=3`, `r8=r9=0xffffffff00000000`, `rbp=0x13f` | identical | | Worker-thread frame | `+0x1dc5cb4` | `+0x1dc5cb4` | | Context | ~0.3 s after XCL refused Xbox Live tokens for Rockstar auth (`CreateTicketXbl3`, `0x80072EFD`) | ~0.5 s after `XUserAddAsync` (offline user; network offline by design) | | Reproducibility | 3/3, no input | 1/1 so far, no input | Under XCL the menus rendered (139–239 presents) before the same fault; here nothing draws, but the faulting instruction, registers and thread stacks are the same. ### Environment - VIctory `d2a4bae` (Merge PR #129), `cargo build --release -p victory`, pinned toolchain 1.98.1 - Game: GTA VI Xbox Series, `RockstarGamesInc.28872443D20A7` 1.0.2.1, `game_scarlett_master.exe` (unpacked, user-supplied) - Windows 10 21H2 build **19044.7846**; AMD Ryzen 9 7900X (AVX2); NVIDIA RTX 3080, driver 32.0.15.9649 - `victory config` verified; game/cache/data dirs all on D: ### Separate machine limitation: SM 6.5, nothing drawn This PC's inbox D3D12 reports **SM 6.5** (probed via `D3D12CreateDevice` + `CheckFeatureSupport(D3D12_FEATURE_SHADER_MODEL)` requesting 6.6 → returns 6.5). VIctory emits SM 6.6 DXIL and has no Agility SDK loading (unlike XCL, which activates an app-local `D3D12Core.dll` through `ID3D12SDKConfiguration1` – verified working on this same build of Windows). Hence `drawn=0`. The README's results were on Windows 11; on Windows 10 an Agility SDK path (or a 6.5 fallback for the non-mesh stages) would be needed to render anything. This is listed separately because it is not the crash: XCL rendered fine and still hit the identical init fault. ### Question The README's status (boot, first-boot screens, start screen, profile and saves working) was measured on Windows 11 + RX 6700 XT, also offline by design. What differs there that lets the title past this init path – timing, or something the XUser/profile HLE answers differently? The identical fault under two independent layers suggests the title reads an object during offline account/auth init that neither platform supplies yet. ### AI use Qwen Code (underlying model name not disclosed by the tool). It built the workspace, ran the title, extracted the log/crash evidence above, compared it with the XCL runs behind ivall/xcl#598, and drafted this issue at the user's request. All measurements are from the runs described.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:00:07 +00:00
Author
Owner

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

The XCL log in ivall/xcl#598 shows the same fault right after its Rockstar token requests are refused (0x80072EFD), and VIctory's HLE does the same thing by design:

  • crates/victory-hle/src/modules/xuser.rs:211-228 — token_async logs token and signature: offline and completes the block with FAILED_TO_GET_TOKEN for every request, including CreateTicketXbl3 and the ros.rockstargames.com one.
  • The crash follows that completion on both layers and at the same title offset (+0xb5a5f8, read at 0x68, rax=0), so the title's auth path is dereferencing something it only fills in when the token call succeeds.

Two cheap experiments that could confirm it, without touching the online path:

  1. Return a dummy success from token_async: S_OK with an empty but non-null token/signature buffer (and a matching size). The title would then try the network request, fail at connect, and hopefully take its normal "no connection" branch instead of the null read. This does not contact Xbox Live or Rockstar by itself; the sandbox/no-network rule still applies.
  2. maximum users is a missing stub (xuser.rs:272, slot 0x30, E_NOTIMPL). If the title calls it during the same auth init, it gets an error and no output value. It should be one line: write 1 and return S_OK.

I cannot test either without the title (no copy here), but the blame is narrow enough that a build with (1) and (2) would tell us quickly whether the fault is the failed token or something else in that path. If you can run such a build, I can prepare the diff.

No game data used.

**@⁠DaviTostes** on GitHub · 2026-11-24 02:33 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120268229) The XCL log in ivall/xcl#598 shows the same fault right after its Rockstar token requests are refused (`0x80072EFD`), and VIctory's HLE does the same thing by design: - `crates/victory-hle/src/modules/xuser.rs:211-228` — `token_async` logs `token and signature: offline` and completes the block with **`FAILED_TO_GET_TOKEN`** for every request, including `CreateTicketXbl3` and the `ros.rockstargames.com` one. - The crash follows that completion on both layers and at the same title offset (`+0xb5a5f8`, read at `0x68`, `rax=0`), so the title's auth path is dereferencing something it only fills in when the token call succeeds. Two cheap experiments that could confirm it, without touching the online path: 1. **Return a dummy success** from `token_async`: `S_OK` with an empty but non-null token/signature buffer (and a matching size). The title would then try the network request, fail at connect, and hopefully take its normal "no connection" branch instead of the null read. This does not contact Xbox Live or Rockstar by itself; the sandbox/no-network rule still applies. 2. **`maximum users` is a `missing` stub** (`xuser.rs:272`, slot 0x30, `E_NOTIMPL`). If the title calls it during the same auth init, it gets an error and no output value. It should be one line: write `1` and return `S_OK`. I cannot test either without the title (no copy here), but the blame is narrow enough that a build with (1) and (2) would tell us quickly whether the fault is the failed token or something else in that path. If you can run such a build, I can prepare the diff. No game data used.
Author
Owner

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

Follow-up: rerun with the diagnostics build (cargo build --profile diag -p victory --features diagnostics, same commit d2a4bae) and VICTORY_D3D12_WARP=1 on the same PC. Two new facts:

1. The init crash reproduces on WARP – it is renderer-independent.

02:32:08.603 INFO victory_gpu::host: host device on the software adapter (WARP)
02:32:16.062 INFO victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68)
  rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rbp 0x13f
  r8 0xffffffff00000000 r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1
  #0 +0xb5a5f8  #1 +0x5bb7cce  #2 +0x1dbdc0b  #3 +0x5bb7111  #4 +0x5bb7071
  #5 +0x63e78   #6 +0x4eaa05a  #7 +0x221c29c  #8 +0x2215eca  (thread start)

Same faulting RVA, registers and stacks as the hardware run above and as the XCL runs in ivall/xcl#598 – now on a software adapter, ~0.1 s after XUserAddAsync, no input. That rules out the GPU/driver/SM 6.5 as the cause; the fault is in the title's offline account/init path under both projects. After the title's WER/Breakpad saved its crash log, the process ended in a native segfault (exit 139) during teardown.

2. On WARP, drawn=0 has a visible cause that is not SM 6.5: the console root-signature flags are refused.

WARN victory_gpu::pipeline::host: root signature: Unsupported bit-flag set (root signature flags c01).
WARN victory_gpu::pipeline::host: host root signature refused error=The parameter is incorrect. (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78]

Repeated for the menu VS/PS pairs; 128+ frames presented, all black (draws=192 drawn=0). XCL hits the same serializer refusals on this machine (its log shows 0x80070057 for flags c00/401/801; it only strips bits outside 0xFFF, e.g. 0x3000000 from XboxBvhBuilder) – yet its menus still draw on this same machine (it also has a fallback path for refused root signatures/PSOs, though its run report shows those counters at 0, so the early refusals alone do not stop the menus there). VIctory drops the draws instead. Masking the unsupported bits, or tolerating the refusal the way XCL's run does, would likely let the menus render here – and would separate the rendering gap from the init crash on Windows 10.

Full log of the WARP run (291 lines) and the updated crashes.log are kept locally and can be provided on request.

AI use: Qwen Code (underlying model name not disclosed by the tool) built the diag profile, ran it with VICTORY_D3D12_WARP=1, extracted the excerpts above and drafted this comment at the user's request.

**@⁠justlovett0** on GitHub · 2026-11-24 02:36 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120303553) Follow-up: rerun with the diagnostics build (`cargo build --profile diag -p victory --features diagnostics`, same commit `d2a4bae`) and `VICTORY_D3D12_WARP=1` on the same PC. Two new facts: **1. The init crash reproduces on WARP – it is renderer-independent.** ``` 02:32:08.603 INFO victory_gpu::host: host device on the software adapter (WARP) 02:32:16.062 INFO victory_hle::modules::xuser: XUserAddAsync: the offline local user options=1 VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68) rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rbp 0x13f r8 0xffffffff00000000 r9 0xffffffff00000000 r15 0x651e95c4d06fbfb1 #0 +0xb5a5f8 #1 +0x5bb7cce #2 +0x1dbdc0b #3 +0x5bb7111 #4 +0x5bb7071 #5 +0x63e78 #6 +0x4eaa05a #7 +0x221c29c #8 +0x2215eca (thread start) ``` Same faulting RVA, registers and stacks as the hardware run above and as the XCL runs in ivall/xcl#598 – now on a software adapter, ~0.1 s after `XUserAddAsync`, no input. That rules out the GPU/driver/SM 6.5 as the cause; the fault is in the title's offline account/init path under both projects. After the title's WER/Breakpad saved its crash log, the process ended in a native segfault (exit 139) during teardown. **2. On WARP, `drawn=0` has a visible cause that is not SM 6.5: the console root-signature flags are refused.** ``` WARN victory_gpu::pipeline::host: root signature: Unsupported bit-flag set (root signature flags c01). WARN victory_gpu::pipeline::host: host root signature refused error=The parameter is incorrect. (0x80070057) shaders=[vertex dfafaf385b2f94e8, pixel 06295fb1d1aefb78] ``` Repeated for the menu VS/PS pairs; 128+ frames presented, all black (`draws=192 drawn=0`). XCL hits the **same serializer refusals** on this machine (its log shows `0x80070057` for flags `c00`/`401`/`801`; it only strips bits outside `0xFFF`, e.g. `0x3000000` from XboxBvhBuilder) – yet its menus still draw on this same machine (it also has a fallback path for refused root signatures/PSOs, though its run report shows those counters at 0, so the early refusals alone do not stop the menus there). VIctory drops the draws instead. Masking the unsupported bits, or tolerating the refusal the way XCL's run does, would likely let the menus render here – and would separate the rendering gap from the init crash on Windows 10. Full log of the WARP run (291 lines) and the updated `crashes.log` are kept locally and can be provided on request. AI use: Qwen Code (underlying model name not disclosed by the tool) built the diag profile, ran it with `VICTORY_D3D12_WARP=1`, extracted the excerpts above and drafted this comment at the user's request.
Author
Owner

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

Reproduced on another Windows 10 machine, and it goes away with the D3D12 Agility SDK runtime from #175. This looks like the Windows 10 shader model 6.5 problem (#84), not the offline auth path.

Setup: Windows 10 22H2 19045.7846, AMD RX 9070 XT (driver 32.0.32015.7029), Ryzen 9 9900X. Same build (b99f876b74d4a77f…), diag build, no input, same data folder for every run, VICTORY_LOG=info.

build runs crash at +0xb5a5f8 (read 0x68) host root signature refused frames drawn
main d2a4bae (in-box runtime) 3 3 / 3, ~6 s after start, ~3 s after XUserAddAsync 9 per run (flags c01) 0 (draws=96 drawn=0)
#175 19aec59 (+ cargo xtask agility) 3 0 / 3; each stopped by me 42 s after XUserAddAsync 0 all (draws=11218 drawn=11218 by frame 1024, ~30 fps)

The main crash is the one in this issue to the register: rax 0 rbx 0x3 rcx 0 rdx 0 rbp 0x13f r8 = r9 = 0xffffffff00000000 r15 0x651e95c4d06fbfb1, stack +0xb5a5f8 +0x5bb7cce +0x1dbdc0b +0x5bb7111 +0x5bb7071 +0x63e78 +0x4eaa05a +0x221c29c +0x2215eca, and the second fault on the worker thread through +0x1dc5cb4 +0x5bbf240 +0x35cd6e1, as in the issue.

What this says about the two explanations so far:

  • Failed token (token_async → FAILED_TO_GET_TOKEN): #175 does not touch the XUser HLE, so the token requests fail the same way in the #175 runs, and the title keeps going. The failed token alone does not lead to this fault.
  • Renderer-independent because WARP crashes too: on Windows 10, WARP is created through the same in-box D3D12 runtime, and the WARP log above shows the same Unsupported bit-flag set (root signature flags c01) refusals. So the WARP run still has the SM 6.5 runtime; it doesn't separate the two.
  • XCL crashes at the same RVA although it can load the Agility SDK: the comment above says XCL's log on this machine shows the same serializer refusals (0x80070057 for flags c00/401/801). Flags 0x400/0x800 (directly indexed heaps) are refused by a runtime below shader model 6.6, so in that run XCL was most likely on the in-box runtime as well. That is my inference from the quoted log; I have not run XCL.

My guess at the mechanism (not verified): the title gets no usable object back when its pipelines or root signatures fail, and reads a field of it later (rcx = 0, read at 0x68).

@⁠justlovett0: could you try #175 on your machine (cargo xtask agility, then victory run from target\<profile>\)? If the fault goes away there too, this can be closed as a duplicate of #84.

No game data in this comment; only RVAs, registers and log lines VIctory prints.

AI-assisted (Claude Code); I ran all six runs above on my machine.

**@⁠GamingRipperDoc** on GitHub · 2026-11-24 02:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120500538) Reproduced on another Windows 10 machine, and it goes away with the D3D12 Agility SDK runtime from #175. This looks like the Windows 10 shader model 6.5 problem (#84), not the offline auth path. **Setup:** Windows 10 22H2 19045.7846, AMD RX 9070 XT (driver 32.0.32015.7029), Ryzen 9 9900X. Same build (`b99f876b74d4a77f…`), diag build, no input, same data folder for every run, `VICTORY_LOG=info`. | build | runs | crash at `+0xb5a5f8` (read `0x68`) | `host root signature refused` | frames drawn | |---|---|---|---|---| | `main` `d2a4bae` (in-box runtime) | 3 | **3 / 3**, ~6 s after start, ~3 s after `XUserAddAsync` | 9 per run (flags `c01`) | 0 (`draws=96 drawn=0`) | | #175 `19aec59` (+ `cargo xtask agility`) | 3 | **0 / 3**; each stopped by me 42 s after `XUserAddAsync` | 0 | all (`draws=11218 drawn=11218` by frame 1024, ~30 fps) | The `main` crash is the one in this issue to the register: `rax 0 rbx 0x3 rcx 0 rdx 0 rbp 0x13f r8 = r9 = 0xffffffff00000000 r15 0x651e95c4d06fbfb1`, stack `+0xb5a5f8 +0x5bb7cce +0x1dbdc0b +0x5bb7111 +0x5bb7071 +0x63e78 +0x4eaa05a +0x221c29c +0x2215eca`, and the second fault on the worker thread through `+0x1dc5cb4 +0x5bbf240 +0x35cd6e1`, as in the issue. What this says about the two explanations so far: - **Failed token (`token_async` → `FAILED_TO_GET_TOKEN`):** #175 does not touch the XUser HLE, so the token requests fail the same way in the #175 runs, and the title keeps going. The failed token alone does not lead to this fault. - **Renderer-independent because WARP crashes too:** on Windows 10, WARP is created through the same in-box D3D12 runtime, and the WARP log above shows the same `Unsupported bit-flag set (root signature flags c01)` refusals. So the WARP run still has the SM 6.5 runtime; it doesn't separate the two. - **XCL crashes at the same RVA although it can load the Agility SDK:** the comment above says XCL's log on this machine shows the same serializer refusals (`0x80070057` for flags `c00`/`401`/`801`). Flags `0x400`/`0x800` (directly indexed heaps) are refused by a runtime below shader model 6.6, so in that run XCL was most likely on the in-box runtime as well. That is my inference from the quoted log; I have not run XCL. My guess at the mechanism (not verified): the title gets no usable object back when its pipelines or root signatures fail, and reads a field of it later (`rcx = 0`, read at `0x68`). @⁠justlovett0: could you try #175 on your machine (`cargo xtask agility`, then `victory run` from `target\<profile>\`)? If the fault goes away there too, this can be closed as a duplicate of #84. No game data in this comment; only RVAs, registers and log lines VIctory prints. AI-assisted (Claude Code); I ran all six runs above on my machine.
Author
Owner

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

On the same executable build (BLAKE3 prefix b99f876b74d4a77f, v1.0.2.1) and the same GPU as #348, the Game Init crash at +0xb5a5f8 does not reproduce here. The difference is the OS, so Windows 10 19044 vs Windows 11 could be what matters.

Setup

  • Windows 11 Pro 26200, RTX 3080 (driver 32.0.16.1742), i5-12400F, 32 GB RAM
  • main at d2a4bae, diag build, Series X mode, real GPU (no WARP), VICTORY_D3D12_DRED=1

Result (4.5 minute run)

  • Boots past XUserAddAsync with no exception, and reaches the start screen with its key art rendered in colour.
  • 27 to 30.7 fps over 51 summary lines (the title's own 30 fps cap), 10-11 draws/frame.
  • 0 ERROR lines, 0 slow submissions, no device removal, no crashes.log.
  • The drop summary stays at "dropped 0 without a host pipeline".

Warnings seen (each 1-2 times)

  • no host texture error=0x80070057 for 2560x1440 resources (formats 86 and 115)
  • a black frame after a frame that was not (victory_gpu::queue)
  • method not implemented object="device" (2x)
  • buffer view not on an element of its host copy
  • view the host does not allow unordered=true format=53 flags=2
  • host view heap capped ... 0x80070057
  • a host DLL outside the host policy: refused dll="rpcrtn.dll"

No game data attached.

**@⁠louketa** on GitHub · 2026-11-24 02:53 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120573276) On the same executable build (BLAKE3 prefix `b99f876b74d4a77f`, v1.0.2.1) and the same GPU as #348, the Game Init crash at `+0xb5a5f8` does **not** reproduce here. The difference is the OS, so Windows 10 19044 vs Windows 11 could be what matters. ### Setup - Windows 11 Pro 26200, RTX 3080 (driver 32.0.16.1742), i5-12400F, 32 GB RAM - `main` at `d2a4bae`, `diag` build, Series X mode, real GPU (no WARP), `VICTORY_D3D12_DRED=1` ### Result (4.5 minute run) - Boots past `XUserAddAsync` with no exception, and reaches the start screen with its key art rendered in colour. - 27 to 30.7 fps over 51 summary lines (the title's own 30 fps cap), 10-11 draws/frame. - 0 `ERROR` lines, 0 slow submissions, no device removal, no `crashes.log`. - The drop summary stays at "dropped 0 without a host pipeline". ### Warnings seen (each 1-2 times) - `no host texture error=0x80070057` for 2560x1440 resources (formats 86 and 115) - `a black frame after a frame that was not` (victory_gpu::queue) - `method not implemented object="device"` (2x) - `buffer view not on an element of its host copy` - `view the host does not allow unordered=true format=53 flags=2` - `host view heap capped ... 0x80070057` - `a host DLL outside the host policy: refused dll="rpcrtn.dll"` No game data attached.
Author
Owner

@⁠justlovett0 on GitHub · 2026-11-24 03:09 UTC · original

Tried #175 on the original machine as proposed: the fault is gone. Closing as a duplicate of #84. The original framing of this issue (offline account/auth init) was wrong, and so was part of my WARP comment – corrections below.

Result with #175 (this machine)

Windows 10 21H2 19044.7846, RTX 3080 (32.0.15.9649), Ryzen 9 7900X. PR #175 head 19aec59 (same base d2a4bae as the crashing runs), cargo xtask agility (Agility SDK 1.620.2 into target\release\D3D12\), release build, same dump and victory.toml as the 3/3 crashing runs:

main d2a4bae (in-box runtime) #175 19aec59 + agility
crash at title +0xb5a5f8 (read 0x68) 3/3 (hardware) + 1/1 (WARP) 0 in a 120 s run (ended by my timeout, exit 124)
host root signature refused (flags c01) 9 per run 0
draws run on the host 0 (draws=96 drawn=0) 16,383 of 16,383 by frame 2048, dispatches 1,026 of 1,026, ~30 fps
picture black intro video plays; the settings menus are visible and interactive (confirmed by hand)

Corrections to the record

  1. Not the offline auth path. I implemented the dummy-success token experiment proposed above (opt-in VICTORY_XBOX_LIVE_TOKENS, a well-formed XBL3.0 token + base64 XSTS v1 signature, relocated result pointers, *data set): the crash was unchanged – and the trace showed VIctory faults before any token API is called (~0.5 s after XUserAddAsync, no token_async invocation at all). The FAILED_TO_GET_TOKEN completion is real but not this crash's cause, consistent with @⁠GamingRipperDoc's runs.
  2. My "renderer-independent" claim was wrong. On Windows 10, WARP goes through the same in-box SM 6.5 runtime and shows the same c01 refusals – the WARP run did not separate the renderer from the runtime, as @⁠GamingRipperDoc pointed out.
  3. A third hypothesis (unmapped console D: drive, D:\decorations\presets\* enumeration failing with ERROR_PATH_NOT_FOUND = 3 = rbx) was also disproven: creating the folders left the crash identical.
  4. Mechanism, consistent with the guess above: with the SM 6.5 runtime every translated pipeline's root signature is refused, the title keeps null objects and later reads a field of one (rcx=0, read +0x68). Disassembly of the faulting leaf (title+0xb5a5d8): mov rax,[rcx]; … mov r14,[rax+0x68] – it dereferences the first field of the object it is handed; one caller fetches that pointer from a table. With the Agility runtime the objects exist and the read is valid.
  5. XCL nuance: XCL crashed at the same RVA with its Agility SDK active (SM 6.6 verified), so ivall/xcl#598 stands for XCL – its root-signature serialization path still refuses the 0x400/0x800 flags and it has a separate null-object gap (DeserializePipelineStateX writes null + E_NOTIMPL, and the title's wrapper swallows the failure). Same leaf, different trigger; tracked there.

The local experiments (placeholder tokens, a VICTORY_DUMP_PSO_CACHE diagnostic) stay on a local branch; they are not part of this conclusion. The deserialize gap is real but non-fatal once the runtime accepts the root signatures – worth its own issue if it bites later.

Thanks @⁠GamingRipperDoc for the six-run comparison and @⁠DaviTostes for the narrow blame – the token experiments were still useful to rule the path out.

AI use: Qwen Code (underlying model name not disclosed by the tool) fetched PR #175 into a worktree, ran cargo xtask agility, built and ran the title, extracted the counts above and drafted this comment at the user's request; the user confirmed the visible intro and interactive menus.

**@⁠justlovett0** on GitHub · 2026-11-24 03:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120832914) Tried #175 on the original machine as proposed: **the fault is gone. Closing as a duplicate of #84.** The original framing of this issue (offline account/auth init) was wrong, and so was part of my WARP comment – corrections below. ## Result with #175 (this machine) Windows 10 21H2 **19044.7846**, RTX 3080 (32.0.15.9649), Ryzen 9 7900X. PR #175 head `19aec59` (same base `d2a4bae` as the crashing runs), `cargo xtask agility` (Agility SDK 1.620.2 into `target\release\D3D12\`), release build, same dump and `victory.toml` as the 3/3 crashing runs: | | `main` `d2a4bae` (in-box runtime) | #175 `19aec59` + agility | |---|---|---| | crash at title `+0xb5a5f8` (read `0x68`) | 3/3 (hardware) + 1/1 (WARP) | **0** in a 120 s run (ended by my timeout, exit 124) | | `host root signature refused` (flags `c01`) | 9 per run | **0** | | draws run on the host | 0 (`draws=96 drawn=0`) | **16,383 of 16,383** by frame 2048, dispatches 1,026 of 1,026, ~30 fps | | picture | black | intro video plays; the settings menus are visible and **interactive** (confirmed by hand) | ## Corrections to the record 1. **Not the offline auth path.** I implemented the dummy-success token experiment proposed above (opt-in `VICTORY_XBOX_LIVE_TOKENS`, a well-formed `XBL3.0` token + base64 XSTS v1 signature, relocated result pointers, `*data` set): the crash was unchanged – and the trace showed VIctory faults **before any token API is called** (~0.5 s after `XUserAddAsync`, no `token_async` invocation at all). The `FAILED_TO_GET_TOKEN` completion is real but not this crash's cause, consistent with @⁠GamingRipperDoc's runs. 2. **My "renderer-independent" claim was wrong.** On Windows 10, WARP goes through the same in-box SM 6.5 runtime and shows the same `c01` refusals – the WARP run did not separate the renderer from the runtime, as @⁠GamingRipperDoc pointed out. 3. A third hypothesis (unmapped console `D:` drive, `D:\decorations\presets\*` enumeration failing with `ERROR_PATH_NOT_FOUND` = 3 = `rbx`) was also disproven: creating the folders left the crash identical. 4. **Mechanism**, consistent with the guess above: with the SM 6.5 runtime every translated pipeline's root signature is refused, the title keeps null objects and later reads a field of one (`rcx=0`, read `+0x68`). Disassembly of the faulting leaf (`title+0xb5a5d8`): `mov rax,[rcx]; … mov r14,[rax+0x68]` – it dereferences the first field of the object it is handed; one caller fetches that pointer from a table. With the Agility runtime the objects exist and the read is valid. 5. **XCL nuance:** XCL crashed at the same RVA *with* its Agility SDK active (SM 6.6 verified), so ivall/xcl#598 stands for XCL – its root-signature serialization path still refuses the `0x400`/`0x800` flags and it has a separate null-object gap (`DeserializePipelineStateX` writes null + `E_NOTIMPL`, and the title's wrapper swallows the failure). Same leaf, different trigger; tracked there. The local experiments (placeholder tokens, a `VICTORY_DUMP_PSO_CACHE` diagnostic) stay on a local branch; they are not part of this conclusion. The deserialize gap is real but non-fatal once the runtime accepts the root signatures – worth its own issue if it bites later. Thanks @⁠GamingRipperDoc for the six-run comparison and @⁠DaviTostes for the narrow blame – the token experiments were still useful to rule the path out. AI use: Qwen Code (underlying model name not disclosed by the tool) fetched PR #175 into a worktree, ran `cargo xtask agility`, built and ran the title, extracted the counts above and drafted this comment at the user's request; the user confirmed the visible intro and interactive menus.
Author
Owner

@⁠justlovett0 on GitHub · 2026-11-24 03:10 UTC · original

Duplicate of #84 (Windows 10 in-box D3D12 at SM 6.5); fixed by #175, confirmed on the original machine – see the comment above.

**@⁠justlovett0** on GitHub · 2026-11-24 03:10 UTC · [original](https://github.com/Marvisak/VIctory/issues/348#issuecomment-7120833229) Duplicate of #84 (Windows 10 in-box D3D12 at SM 6.5); fixed by #175, confirmed on the original machine – see the comment above.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#348
No description provided.