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
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2521
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?
@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 address0x68, immediately afterXUserAddAsync: the offline local user. It reproduces every time: 4 of 4 runs, both with and withoutVICTORY_D3D12_WARP=1. Separately, every host root signature is refused (flags c01,E_INVALIDARG), so nothing is drawn (drawn=0on every frame).Environment
940d32f69b22265690a0b5a15d6ded572ba33baf(main, cloned 2026-11-25)cargo build --release -p victory, toolchain 1.98.1-x86_64-pc-windows-msvc (pinned, auto-installed)system.memory.total16459008 KB)Both testedGame
Series 1.0.2.1 (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)7952987Agame_scarlett_master.exe(fromMicrosoftGame.Config,Id="GTAO",TargetDeviceFamily="Scarlett")930.048.020-vb_sub_story, Code/Data Branchsub_story, ConfigMaster, SKUROW, LocaleUS, SandboxRETAIL*.rpf,MicrosoftGame.Config, title DLLs,gameos.xvd,data\,pack\)Config
victory.tomlsits outside the repo and is selected withVICTORY_CONFIG. Onlygame_diris set; everything else is default.cargo test --workspacewas not run.cargo run -p victory -- configsucceeded.Steps to reproduce
cargo build --release -p victory.$env:VICTORY_D3D12_WARP = "1". The result is the same either way..\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
0xc0000005and exits.Loader (all fine)
Boot sequence before the crash (in order)
xgameruntime.dllpseudo module,InitializeApiImplEx2 version=109083579393810 build=112098646433501 flags=2rpcrt4.dllpseudo module;GameInputCreate, devices 4 and 5 connectedG:\*.rpffiles, then theG:\data\ttdb\**\*.ttpffiles,G:\pack\core_bvh4\core_bvh4.rpfandG:\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 msxmem allocation hooks found=truenetwork name lookup blocked destination=DESKTOP-xxxx(expected, offline)InitializeApiImplEx2 ... build=112098646431794 flags=3XUserAddAsync: the offline local user options=1← crash follows immediatelyWarnings
Every one of the three pipelines bound in the first frames is refused by the host. This happens with and without WARP:
Every presented frame shows
drawn=0 dispatched=0. The last one before the crash wasframe=32 draws=48 drawn=0.Unimplemented device methods:
Crash (identical offsets on every run)
Thread A
Thread B
Both threads end with
VIctory: unhandled exception 0xc0000005 at ...+0xb5a5f8. Between runs only heap pointers change; the offsets,rbx/rbpvalues 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
0x68from a null object at the same instruction right afterXUserAddAsynccompletes. 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.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.Attachments
crashes.logfrom%LOCALAPPDATA%\victory\data@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:image+0xb5a5f8(0x68) on two threads right afterXUserAddAsync, with the same stacks as #741 (Windows 10 + NVIDIA), where the cause is discussed (also #789, #804).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
XUserAddAsynccall 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
@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 — no0x68read, no second thread fault, just a front-end screen carrying theACCOUNT 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 (noflags c01refusals 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 afterXUserAddAsynccompletes — 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.