0xc0000005 at +0xb5a5f8 right after XUserAddAsync (Windows 10 22H2, RTX 3060 Laptop) #998

Closed
opened 2026-11-26 04:16:33 +00:00 by github-bot · 2 comments
Owner

@⁠liang-kai-shui on GitHub · 2026-11-24 14:48 UTC · original

Summary

VIctory main at ffe310e boots the title, presents the first frames, and then stops with 0xc0000005 (read at 0x68) at victory-image-b99f876b74d4a77f.dll+0xb5a5f8, immediately after XUserAddAsync and opening core_licenses_data.rpf. The same address occurs in both the release build and a diag build with WARP.

The game files are complete for this run: TitleID=7952987A, all four title DLLs are loaded (XboxBvhBuilder.dll, amd_fidelityfx_loader_xbox.dll, libHttpClient.GDK.dll, Bink2Scarlett.dll), and imports bound ... 72 title, 0 missing. A manifest/path problem is therefore not involved.

Environment

  • OS: Windows 10 Pro 22H2, build 19045.7807
  • GPU: NVIDIA GeForce RTX 3060 Laptop GPU, driver 32.0.16.1062
  • VIctory: main ffe310e, release and diag builds
  • Game build: unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93), Series X 1.0.2.1
  • Launcher wrapper: VIctoryKit (runs victory.exe run <exe> --execute --console series-x; WARP uses VICTORY_D3D12_WARP=1)
  • Data/cache: separate folders outside the game directory

Steps

  1. Run victory.exe run <game_dir>\game_scarlett_master.exe --execute --console series-x
  2. Let the title initialize until the first presented frames
  3. It stops with the exception below, before any user interaction

Same result with victory-diag.exe and VICTORY_D3D12_WARP=1; WARP does not change the crash address.

Log excerpt

title          7952987A, storage ...\7952987A/storage (2048 MB)
title dll      xboxbvhbuilder.dll ...
title dll      amd_fidelityfx_loader_xbox.dll ...
title dll      libhttpclient.gdk.dll ...
title dll      bink2scarlett.dll ...
imports bound hle=88 host=427 missing=0
bound          game_scarlett_master.exe: 88 hle, 427 host, 72 title, 0 missing
...
HDR mode: disabled (SDR presentation) preference=0
frame presented frame=1 draws=0 drawn=0
presenting to a window width=3840 height=2160 format=28
WARN a black frame after a frame that was not frame=1 ...
...
frame presented frame=32 draws=48 drawn=0 dispatches=0 dispatched=0
dstorage: file opened path="G:\pack\core_licenses\core_licenses_data.rpf"
XUserAddAsync: the offline local user options=1
VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)

Stack:

#0 +0xb5a5f8
#1 +0x5bb7cce
#2 +0x1dbdc0b
#3 +0x5bb7111
#4 +0x5bb7071
#5 +0x63e78
#6 +0x4eaa05a
#7 +0x221c29c
#8 +0x2215eca
#9 KERNEL32.DLL+0x17124
#10 ntdll.dll+0x4cc91

There are also repeated host pipeline warnings in the same run:

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=参数错误。 (0x80070057)

All presented frames show drawn=0.

Ask

  • Is +0xb5a5f8 a known address? What does the object at read offset 0x68 represent (user, license, profile, or graphics state)?
  • Does the XUserAddAsync / core_licenses_data.rpf path expect a profile or license structure that a fresh saves directory does not have?
  • Is there a diagnostic setting that logs the user/license objects or catches this null dereference with more context?

No game binaries, assets, or memory dumps are attached; only diagnostic text.

**@⁠liang-kai-shui** on GitHub · 2026-11-24 14:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/998) ## Summary VIctory `main` at `ffe310e` boots the title, presents the first frames, and then stops with `0xc0000005` (read at `0x68`) at `victory-image-b99f876b74d4a77f.dll+0xb5a5f8`, immediately after `XUserAddAsync` and opening `core_licenses_data.rpf`. The same address occurs in both the release build and a diag build with WARP. The game files are complete for this run: `TitleID=7952987A`, all four title DLLs are loaded (`XboxBvhBuilder.dll`, `amd_fidelityfx_loader_xbox.dll`, `libHttpClient.GDK.dll`, `Bink2Scarlett.dll`), and `imports bound ... 72 title, 0 missing`. A manifest/path problem is therefore not involved. ## Environment - OS: Windows 10 Pro 22H2, build `19045.7807` - GPU: NVIDIA GeForce RTX 3060 Laptop GPU, driver `32.0.16.1062` - VIctory: `main` `ffe310e`, release and diag builds - Game build: `unknown (b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)`, Series X 1.0.2.1 - Launcher wrapper: VIctoryKit (runs `victory.exe run <exe> --execute --console series-x`; WARP uses `VICTORY_D3D12_WARP=1`) - Data/cache: separate folders outside the game directory ## Steps 1. Run `victory.exe run <game_dir>\game_scarlett_master.exe --execute --console series-x` 2. Let the title initialize until the first presented frames 3. It stops with the exception below, before any user interaction Same result with `victory-diag.exe` and `VICTORY_D3D12_WARP=1`; WARP does not change the crash address. ## Log excerpt ```text title 7952987A, storage ...\7952987A/storage (2048 MB) title dll xboxbvhbuilder.dll ... title dll amd_fidelityfx_loader_xbox.dll ... title dll libhttpclient.gdk.dll ... title dll bink2scarlett.dll ... imports bound hle=88 host=427 missing=0 bound game_scarlett_master.exe: 88 hle, 427 host, 72 title, 0 missing ... HDR mode: disabled (SDR presentation) preference=0 frame presented frame=1 draws=0 drawn=0 presenting to a window width=3840 height=2160 format=28 WARN a black frame after a frame that was not frame=1 ... ... frame presented frame=32 draws=48 drawn=0 dispatches=0 dispatched=0 dstorage: file opened path="G:\pack\core_licenses\core_licenses_data.rpf" XUserAddAsync: the offline local user options=1 VIctory: first-chance exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there) ``` Stack: ```text #0 +0xb5a5f8 #1 +0x5bb7cce #2 +0x1dbdc0b #3 +0x5bb7111 #4 +0x5bb7071 #5 +0x63e78 #6 +0x4eaa05a #7 +0x221c29c #8 +0x2215eca #9 KERNEL32.DLL+0x17124 #10 ntdll.dll+0x4cc91 ``` There are also repeated host pipeline warnings in the same run: ```text 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=参数错误。 (0x80070057) ``` All presented frames show `drawn=0`. ## Ask - Is `+0xb5a5f8` a known address? What does the object at read offset `0x68` represent (user, license, profile, or graphics state)? - Does the `XUserAddAsync` / `core_licenses_data.rpf` path expect a profile or license structure that a fresh `saves` directory does not have? - Is there a diagnostic setting that logs the user/license objects or catches this null dereference with more context? No game binaries, assets, or memory dumps are attached; only diagnostic text.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:16:33 +00:00
Author
Owner

@⁠EduBertozzi on GitHub · 2026-11-24 14:48 UTC · original

This looks like #741, which has the same address (+0xb5a5f8, read at 0x68) on Windows 10 with main. There, and in #348, the cause was the in-box D3D12 runtime on Windows 10. It stops at shader model 6.5 and refuses the root signatures every translated pipeline uses. Your log should show root signature: Unsupported bit-flag set / host root signature refused warnings before the crash. WARP doesn't help, because it goes through the same in-box runtime.

On #741, testing #175 with the D3D12 Agility runtime beside victory.exe (cargo xtask agility) got past Game Init into the menus. #969 does the same without exe exports: set VICTORY_D3D12_AGILITY to a folder holding the 1.620 D3D12Core.dll. I confirmed it reaches SM 6.6 on Windows 10 19045 in the test suites. If either gets you past this point, that confirms the duplicate.

AI-assisted (Claude Code).

**@⁠EduBertozzi** on GitHub · 2026-11-24 14:48 UTC · [original](https://github.com/Marvisak/VIctory/issues/998#issuecomment-7134986306) This looks like #741, which has the same address (`+0xb5a5f8`, read at `0x68`) on Windows 10 with `main`. There, and in #348, the cause was the in-box D3D12 runtime on Windows 10. It stops at shader model 6.5 and refuses the root signatures every translated pipeline uses. Your log should show `root signature: Unsupported bit-flag set` / `host root signature refused` warnings before the crash. WARP doesn't help, because it goes through the same in-box runtime. On #741, testing #175 with the D3D12 Agility runtime beside `victory.exe` (`cargo xtask agility`) got past Game Init into the menus. #969 does the same without exe exports: set `VICTORY_D3D12_AGILITY` to a folder holding the 1.620 `D3D12Core.dll`. I confirmed it reaches SM 6.6 on Windows 10 19045 in the test suites. If either gets you past this point, that confirms the duplicate. AI-assisted (Claude Code).
Author
Owner

@⁠Calvix2k on GitHub · 2026-11-24 23:00 UTC · original

On Windows 10 this crash is the in-box D3D12 runtime, not the title's account path: root signatures are refused with Unsupported bit-flag set (root signature flags c01) and nothing is drawn (drawn=0). PR #175 (D3D12 Agility SDK) removes it. Verified on Windows 10 22H2, Ryzen 7 5800X / RX 7800 XT: with the 1.620.2 runtime every pipeline is created, drawn=192/192, and the +0xb5a5f8 fault is gone.

If it still stops after that, check for mapping physical pages failed … os error 1455 in the log: the Series X profile needs more commit than a 32 GB machine with a small pagefile provides. --console series-s or a larger pagefile avoids it.

**@⁠Calvix2k** on GitHub · 2026-11-24 23:00 UTC · [original](https://github.com/Marvisak/VIctory/issues/998#issuecomment-7146901321) On Windows 10 this crash is the in-box D3D12 runtime, not the title's account path: root signatures are refused with `Unsupported bit-flag set (root signature flags c01)` and nothing is drawn (`drawn=0`). PR #175 (D3D12 Agility SDK) removes it. Verified on Windows 10 22H2, Ryzen 7 5800X / RX 7800 XT: with the 1.620.2 runtime every pipeline is created, `drawn=192/192`, and the `+0xb5a5f8` fault is gone. If it still stops after that, check for `mapping physical pages failed … os error 1455` in the log: the Series X profile needs more commit than a 32 GB machine with a small pagefile provides. `--console series-s` or a larger pagefile avoids it.
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#998
No description provided.