Crash on boot right after XUserAddAsync: null read (0x68) at image+0xb5a5f8 on two threads — Series 1.0.2.1, Win10 19044, RTX 4060 Ti #2521

Open
opened 2026-11-26 05:08:06 +00:00 by github-bot · 2 comments
Owner

@⁠PoisonTheIgiData on GitHub · 2026-11-25 15:15 UTC · original

Summary

The title boots, mounts all game files, presents its first frames, and then crashes about 2 seconds after launch. Two threads fault on the same instruction (image+0xb5a5f8) when reading address 0x68, immediately after XUserAddAsync: the offline local user. It reproduces every time: 4 of 4 runs, both with and without VICTORY_D3D12_WARP=1. Separately, every host root signature is refused (flags c01, E_INVALIDARG), so nothing is drawn (drawn=0 on every frame).

Environment

VIctory commit 940d32f69b22265690a0b5a15d6ded572ba33baf (main, cloned 2026-11-25)
Build cargo build --release -p victory, toolchain 1.98.1-x86_64-pc-windows-msvc (pinned, auto-installed)
OS Windows 10 Pro 21H2, build 10.0.19044
CPU Intel Core i5-12400 (12th gen, AVX2)
RAM 16 GB (system.memory.total 16459008 KB)
GPU 1 NVIDIA GeForce RTX 4060 Ti, driver 32.0.16.2124 (621.24)
GPU 2 Intel UHD Graphics 730 (iGPU, enabled), driver 32.0.101.7082
Display 3840×2160; VIctory fitted the window to 2122×1194
Windows graphics preference for victory.exe set to High performance Both tested

Game

Release Xbox Series X|S, 1.0.2.1
VIctory build line Series 1.0.2.1 (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)
Title ID 7952987A
Executable game_scarlett_master.exe (from MicrosoftGame.Config, Id="GTAO", TargetDeviceFamily="Scarlett")
Title-reported version 930.048.020-vb_sub_story, Code/Data Branch sub_story, Config Master, SKU ROW, Locale US, Sandbox RETAIL
Console mode Xbox Series X
Dump Own console, decrypted (plain files: *.rpf, MicrosoftGame.Config, title DLLs, gameos.xvd, data\, pack\)

Config

victory.toml sits outside the repo and is selected with VICTORY_CONFIG. Only game_dir is set; everything else is default.

config file : C:\Users\<user>\Documents\victory.toml
game_dir    : <game dir>
cache_dir   : C:\Users\<user>\AppData\Local\victory\cache
data_dir    : C:\Users\<user>\AppData\Local\victory\data
fidelityfx  : (not set)

cargo test --workspace was not run. cargo run -p victory -- config succeeded.

Steps to reproduce

  1. Build: cargo build --release -p victory.
  2. Optionally set $env:VICTORY_D3D12_WARP = "1". The result is the same either way.
  3. Run: .\target\release\victory.exe run "<game dir>\game_scarlett_master.exe" --execute.

Expected

Boot screens and the intro video, as the README describes.

Actual

A window opens, the title runs for about 2 s, then hits an unhandled 0xc0000005 and exits.

Loader (all fine)

static TLS redirected index=10 patched=53246
image mapped base=0x7ff8f2b60000 preferred=0x140000000   (main image relocated; base varies per run)
title dll xboxbvhbuilder.dll / amd_fidelityfx_loader_xbox.dll / libhttpclient.gdk.dll / bink2scarlett.dll
bound xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing
bound amd_fidelityfx_loader_xbox.dll: 4 hle, 18 host, 0 title, 0 missing
bound libhttpclient.gdk.dll: 27 hle, 171 host, 0 title, 0 missing
bound bink2scarlett.dll: 6 hle, 54 host, 0 title, 0 missing
bound game_scarlett_master.exe: 91 hle, 424 host, 72 title, 0 missing

Boot sequence before the crash (in order)

  • xgameruntime.dll pseudo module, InitializeApiImplEx2 version=109083579393810 build=112098646433501 flags=2
  • rpcrt4.dll pseudo module; GameInputCreate, devices 4 and 5 connected
  • DirectStorage: staging buffer 32 MiB, 12 workers; opens all 13 top-level G:\*.rpf files, then the G:\data\ttdb\**\*.ttpf files, G:\pack\core_bvh4\core_bvh4.rpf and G:\pack\core_licenses\core_licenses_data.rpf. No file-open failures.
  • D3D12.X device version=0x20004, host D3D12 device ready, TDR settings default, HDR off (SDR), frame interval 33.333 ms
  • xmem allocation hooks found=true
  • Audio: APU decoder connected (256 streams), DSP connected (128 streams)
  • network name lookup blocked destination=DESKTOP-xxxx (expected, offline)
  • Second InitializeApiImplEx2 ... build=112098646431794 flags=3
  • XUserAddAsync: the offline local user options=1 ← crash follows immediately

Warnings

Every one of the three pipelines bound in the first frames is refused by the host. This happens with and without WARP:

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]
     shaders=[vertex 58d926085fca4999, pixel edc1cad8ffb79bc9]
     shaders=[vertex 0602c2384acbb3b2, pixel a78d088fa55aa495]

Every presented frame shows drawn=0 dispatched=0. The last one before the crash was frame=32 draws=48 drawn=0.

Unimplemented device methods:

WARN victory_gpu::object: method not implemented object="device" slot=0x218 caller="+0x24800db"
WARN victory_gpu::object: method not implemented object="device" slot=0x1c8 caller="+0x247757e"

Crash (identical offsets on every run)

VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)

Thread A

rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rsi 0x11d8ef18 rdi 0x11d8efc0 rsp 0x11d8ee50 rbp 0x13f
r8 0xffffffff00000000 r9 0xffffffff00000000 r10 0x18 r11 0xd159b4eb0 r12 0xd13f8fb88 r13 0x0 r14 0x0 r15 0x651e95c4d06fbfb1
#0  image+0xb5a5f8
#1  image+0x5bb7cce
#2  image+0x1dbdc0b
#3  image+0x5bb7111
#4  image+0x5bb7071
#5  image+0x63e78
#6  image+0x4eaa05a
#7  image+0x221c29c
#8  image+0x2215eca
#9  KERNEL32.DLL+0x17374
#10 ntdll.dll+0x4cc91

Thread B

rax 0x0 rbx 0x2b rcx 0xd141e40f0 rdx 0x0 rsi 0x11c8f0d0 rdi 0x11c8f0d0 rsp 0x11c8ef80 rbp 0x90f
r8 0xd0ee3c4b0 r9 0xffffffff00000000 r10 0x7ff8f9d21fa0 r11 0xd141e43b0 r12 0x0 r13 0xa r14 0x11c8f0b0 r15 0x651e95c4d06fbfb1
#0  image+0xb5a5f8
#1  image+0x1dc5cb4
#2  image+0x5bbf240
#3  image+0x35cd6e1
#4  image+0x63e78
#5  image+0x4eaa05a
#6  image+0x221c29c
#7  image+0x2215eca
#8  KERNEL32.DLL+0x17374
#9  ntdll.dll+0x4cc91

Both threads end with VIctory: unhandled exception 0xc0000005 at ...+0xb5a5f8. Between runs only heap pointers change; the offsets, rbx/rbp values and frames stay the same.

After the crash, the title's own handler runs: WER - Saving t:\victory-<timestamp>.crash.log - 2218 bytes, then a Breakpad minidump (about 25–27 MB). Its upload is blocked (HTTP connection blocked destination=submit.backtrace.io:443). The minidump is available privately if it helps.

Notes

  • Guess: two threads read offset 0x68 from a null object at the same instruction right after XUserAddAsync completes. This looks like a user/profile object (or a field of the user handle or async result) that the title expects to be non-null and that the HLE leaves empty.
  • WARP on Windows 10 19044 likely doesn't support SM 6.6 directly-indexed heaps (flags 0x400 | 0x800), so WARP runs can't draw here. With WARP off, the refusal still happens. That could be because the built-in D3D12 runtime on 21H2 predates these flags, or because the iGPU was selected. I don't see an adapter-name log line to tell which.
  • Hardware differs from the README's tested setup: Windows 10 instead of 11, NVIDIA instead of AMD, and a hybrid iGPU + dGPU system.

Attachments

  • crashes.log from %LOCALAPPDATA%\victory\data
  • Full console log of one run (attached as a .txt)
**@⁠PoisonTheIgiData** on GitHub · 2026-11-25 15:15 UTC · [original](https://github.com/Marvisak/VIctory/issues/2521) ## Summary The title boots, mounts all game files, presents its first frames, and then crashes about 2 seconds after launch. Two threads fault on the same instruction (`image+0xb5a5f8`) when reading address `0x68`, immediately after `XUserAddAsync: the offline local user`. It reproduces every time: 4 of 4 runs, both with and without `VICTORY_D3D12_WARP=1`. Separately, every host root signature is refused (`flags c01`, `E_INVALIDARG`), so nothing is drawn (`drawn=0` on every frame). ## Environment | | | |---|---| | VIctory commit | `940d32f69b22265690a0b5a15d6ded572ba33baf` (main, cloned 2026-11-25) | | Build | `cargo build --release -p victory`, toolchain 1.98.1-x86_64-pc-windows-msvc (pinned, auto-installed) | | OS | Windows 10 Pro 21H2, build 10.0.19044 | | CPU | Intel Core i5-12400 (12th gen, AVX2) | | RAM | 16 GB (`system.memory.total` 16459008 KB) | | GPU 1 | NVIDIA GeForce RTX 4060 Ti, driver 32.0.16.2124 (621.24) | | GPU 2 | Intel UHD Graphics 730 (iGPU, enabled), driver 32.0.101.7082 | | Display | 3840×2160; VIctory fitted the window to 2122×1194 | | Windows graphics preference for victory.exe set to High performance | `Both tested` | ## Game | | | |---|---| | Release | Xbox Series X\|S, 1.0.2.1 | | VIctory build line | `Series 1.0.2.1 (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)` | | Title ID | `7952987A` | | Executable | `game_scarlett_master.exe` (from `MicrosoftGame.Config`, `Id="GTAO"`, `TargetDeviceFamily="Scarlett"`) | | Title-reported version | `930.048.020-vb_sub_story`, Code/Data Branch `sub_story`, Config `Master`, SKU `ROW`, Locale `US`, Sandbox `RETAIL` | | Console mode | Xbox Series X | | Dump | Own console, decrypted (plain files: `*.rpf`, `MicrosoftGame.Config`, title DLLs, `gameos.xvd`, `data\`, `pack\`) | ## Config `victory.toml` sits outside the repo and is selected with `VICTORY_CONFIG`. Only `game_dir` is set; everything else is default. ``` config file : C:\Users\<user>\Documents\victory.toml game_dir : <game dir> cache_dir : C:\Users\<user>\AppData\Local\victory\cache data_dir : C:\Users\<user>\AppData\Local\victory\data fidelityfx : (not set) ``` `cargo test --workspace` was not run. `cargo run -p victory -- config` succeeded. ## Steps to reproduce 1. Build: `cargo build --release -p victory`. 2. Optionally set `$env:VICTORY_D3D12_WARP = "1"`. The result is the same either way. 3. Run: `.\target\release\victory.exe run "<game dir>\game_scarlett_master.exe" --execute`. ## Expected Boot screens and the intro video, as the README describes. ## Actual A window opens, the title runs for about 2 s, then hits an unhandled `0xc0000005` and exits. ### Loader (all fine) ``` static TLS redirected index=10 patched=53246 image mapped base=0x7ff8f2b60000 preferred=0x140000000 (main image relocated; base varies per run) title dll xboxbvhbuilder.dll / amd_fidelityfx_loader_xbox.dll / libhttpclient.gdk.dll / bink2scarlett.dll bound xboxbvhbuilder.dll: 9 hle, 48 host, 0 title, 0 missing bound amd_fidelityfx_loader_xbox.dll: 4 hle, 18 host, 0 title, 0 missing bound libhttpclient.gdk.dll: 27 hle, 171 host, 0 title, 0 missing bound bink2scarlett.dll: 6 hle, 54 host, 0 title, 0 missing bound game_scarlett_master.exe: 91 hle, 424 host, 72 title, 0 missing ``` ### Boot sequence before the crash (in order) - `xgameruntime.dll` pseudo module, `InitializeApiImplEx2 version=109083579393810 build=112098646433501 flags=2` - `rpcrt4.dll` pseudo module; `GameInputCreate`, devices 4 and 5 connected - DirectStorage: staging buffer 32 MiB, 12 workers; opens all 13 top-level `G:\*.rpf` files, then the `G:\data\ttdb\**\*.ttpf` files, `G:\pack\core_bvh4\core_bvh4.rpf` and `G:\pack\core_licenses\core_licenses_data.rpf`. No file-open failures. - `D3D12.X device version=0x20004`, host D3D12 device ready, TDR settings default, HDR off (SDR), frame interval 33.333 ms - `xmem allocation hooks found=true` - Audio: APU decoder connected (256 streams), DSP connected (128 streams) - `network name lookup blocked destination=DESKTOP-xxxx` (expected, offline) - Second `InitializeApiImplEx2 ... build=112098646431794 flags=3` - `XUserAddAsync: the offline local user options=1` ← **crash follows immediately** ### Warnings Every one of the three pipelines bound in the first frames is refused by the host. This happens with and without WARP: ``` 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] shaders=[vertex 58d926085fca4999, pixel edc1cad8ffb79bc9] shaders=[vertex 0602c2384acbb3b2, pixel a78d088fa55aa495] ``` Every presented frame shows `drawn=0 dispatched=0`. The last one before the crash was `frame=32 draws=48 drawn=0`. Unimplemented device methods: ``` WARN victory_gpu::object: method not implemented object="device" slot=0x218 caller="+0x24800db" WARN victory_gpu::object: method not implemented object="device" slot=0x1c8 caller="+0x247757e" ``` ### Crash (identical offsets on every run) ``` VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) ``` **Thread A** ``` rax 0x0 rbx 0x3 rcx 0x0 rdx 0x0 rsi 0x11d8ef18 rdi 0x11d8efc0 rsp 0x11d8ee50 rbp 0x13f r8 0xffffffff00000000 r9 0xffffffff00000000 r10 0x18 r11 0xd159b4eb0 r12 0xd13f8fb88 r13 0x0 r14 0x0 r15 0x651e95c4d06fbfb1 #0 image+0xb5a5f8 #1 image+0x5bb7cce #2 image+0x1dbdc0b #3 image+0x5bb7111 #4 image+0x5bb7071 #5 image+0x63e78 #6 image+0x4eaa05a #7 image+0x221c29c #8 image+0x2215eca #9 KERNEL32.DLL+0x17374 #10 ntdll.dll+0x4cc91 ``` **Thread B** ``` rax 0x0 rbx 0x2b rcx 0xd141e40f0 rdx 0x0 rsi 0x11c8f0d0 rdi 0x11c8f0d0 rsp 0x11c8ef80 rbp 0x90f r8 0xd0ee3c4b0 r9 0xffffffff00000000 r10 0x7ff8f9d21fa0 r11 0xd141e43b0 r12 0x0 r13 0xa r14 0x11c8f0b0 r15 0x651e95c4d06fbfb1 #0 image+0xb5a5f8 #1 image+0x1dc5cb4 #2 image+0x5bbf240 #3 image+0x35cd6e1 #4 image+0x63e78 #5 image+0x4eaa05a #6 image+0x221c29c #7 image+0x2215eca #8 KERNEL32.DLL+0x17374 #9 ntdll.dll+0x4cc91 ``` Both threads end with `VIctory: unhandled exception 0xc0000005 at ...+0xb5a5f8`. Between runs only heap pointers change; the offsets, `rbx`/`rbp` values and frames stay the same. After the crash, the title's own handler runs: `WER - Saving t:\victory-<timestamp>.crash.log - 2218 bytes`, then a Breakpad minidump (about 25–27 MB). Its upload is blocked (`HTTP connection blocked destination=submit.backtrace.io:443`). The minidump is available privately if it helps. ## Notes - **Guess:** two threads read offset `0x68` from a null object at the same instruction right after `XUserAddAsync` completes. This looks like a user/profile object (or a field of the user handle or async result) that the title expects to be non-null and that the HLE leaves empty. - WARP on Windows 10 19044 likely doesn't support SM 6.6 directly-indexed heaps (flags `0x400 | 0x800`), so WARP runs can't draw here. With WARP off, the refusal still happens. That could be because the built-in D3D12 runtime on 21H2 predates these flags, or because the iGPU was selected. I don't see an adapter-name log line to tell which. - Hardware differs from the README's tested setup: Windows 10 instead of 11, NVIDIA instead of AMD, and a hybrid iGPU + dGPU system. ## Attachments - `crashes.log` from `%LOCALAPPDATA%\victory\data` - Full console log of one run (attached as a .txt)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:08:06 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 16:06 UTC · original · edited 2026-11-25 18:49 UTC

Automated triage for the maintainers.

Run report: Windows 10 21H2 (19044), RTX 4060 Ti (621.24) plus Intel UHD 730, main 940d32f. It holds two known failures:

  • The null read at image+0xb5a5f8 (0x68) on two threads right after XUserAddAsync, with the same stacks as #741 (Windows 10 + NVIDIA), where the cause is discussed (also #789, #804).
  • Every root signature refused with flags c01 (E_INVALIDARG), so nothing is drawn. That is the Windows 10 in-box D3D12 runtime, which lacks the shader model 6.6 heap-indexing flags; see #84 and #753. On Windows 10 the D3D12 Agility SDK runtime has to be staged for these to work (open PR #2460 makes main load it).

A later comment adds a Wine/vkd3d-proton data point from a fork: the same XUserAddAsync call completes without the fault and no root signature is refused, but the title then stays at the account-picker screen. That is a different host and tree, so it does not show what happens on Windows 10 once the runtime is fixed. A Windows 10 run with the Agility runtime loaded would show whether this report also ends at the picker; if it does on main, that belongs in its own issue with the commit and log.

The title's minidump holds title memory, so please don't attach it here.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 16:06 UTC · [original](https://github.com/Marvisak/VIctory/issues/2521#issuecomment-7167600418) · edited 2026-11-25 18:49 UTC <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-25T16:12:55Z at=2026-11-25T18:59:00Z --> Automated triage for the maintainers. Run report: Windows 10 21H2 (19044), RTX 4060 Ti (621.24) plus Intel UHD 730, main 940d32f. It holds two known failures: - The null read at `image+0xb5a5f8` (0x68) on two threads right after `XUserAddAsync`, with the same stacks as #741 (Windows 10 + NVIDIA), where the cause is discussed (also #789, #804). - Every root signature refused with `flags c01` (`E_INVALIDARG`), so nothing is drawn. That is the Windows 10 in-box D3D12 runtime, which lacks the shader model 6.6 heap-indexing flags; see #84 and #753. On Windows 10 the D3D12 Agility SDK runtime has to be staged for these to work (open PR #2460 makes main load it). A later comment adds a Wine/vkd3d-proton data point from a fork: the same `XUserAddAsync` call completes without the fault and no root signature is refused, but the title then stays at the account-picker screen. That is a different host and tree, so it does not show what happens on Windows 10 once the runtime is fixed. A Windows 10 run with the Agility runtime loaded would show whether this report also ends at the picker; if it does on main, that belongs in its own issue with the commit and log. The title's minidump holds title memory, so please don't attach it here. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠cobrajet302gt on GitHub · 2026-11-25 16:12 UTC · original

Wine-side boundary for the same call site: our fork-tree boots log the identical XUserAddAsync: the offline local user options=1, then the title neither faults nor proceeds — no 0x68 read, no second thread fault, just a front-end screen carrying the ACCOUNT PICKER (Y) / SCREEN NARRATION (OFF) (X) / PLAYER (A) legend that held ~50 minutes at 30 fps, 0 faults, ~21 draws/frame, unchanged by A/Y/B/arrow input. So on winevulkan + master vkd3d-proton the user-add completes, the root signatures are accepted (no flags c01 refusals at all), and the title still parks at the picker — which separates the two failures the triage bundled here: the crash is Win10-runtime-side, while the picker park may be a contract question (what does the title expect after XUserAddAsync completes — an event, a second user, a stick navigable tile?) independent of platform.

If anyone stages Agility per #2460 on Win10: worth logging whether the park (not the crash) survives the fix — if the Win10 title also sits at the picker legend with a healthy runtime, the park is HLE-contract, not driver, and this issue's second half closes into it. We can rerun our side with any key sequence on request; 78-minute windows, camera armed.

Written with an AI assistant.

**@⁠cobrajet302gt** on GitHub · 2026-11-25 16:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/2521#issuecomment-7167693129) Wine-side boundary for the same call site: our fork-tree boots log the identical `XUserAddAsync: the offline local user options=1`, then the title **neither faults nor proceeds** — no `0x68` read, no second thread fault, just a front-end screen carrying the `ACCOUNT PICKER (Y) / SCREEN NARRATION (OFF) (X) / PLAYER (A)` legend that held ~50 minutes at 30 fps, 0 faults, ~21 draws/frame, unchanged by A/Y/B/arrow input. So on winevulkan + master vkd3d-proton the user-add completes, the root signatures are accepted (no `flags c01` refusals at all), and the title still parks at the picker — which separates the two failures the triage bundled here: the crash is Win10-runtime-side, while the *picker park* may be a contract question (what does the title expect after `XUserAddAsync` completes — an event, a second user, a stick navigable tile?) independent of platform. If anyone stages Agility per #2460 on Win10: worth logging whether the park (not the crash) survives the fix — if the Win10 title also sits at the picker legend with a healthy runtime, the park is HLE-contract, not driver, and this issue's second half closes into it. We can rerun our side with any key sequence on request; 78-minute windows, camera armed. Written with an AI assistant.
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#2521
No description provided.