Title-image crashes: 0xc0000005 write-to-null and 0x80000003 breakpoint end runs after minutes (Series S and Series X) #32

Open
opened 2026-11-27 06:07:20 +00:00 by github-bot · 5 comments
Owner

@⁠xMqrO on GitHub · 2026-11-26 20:07 UTC · original

What happened

Two different unhandled exceptions inside the title's image module (victory-image-<game build hash>.dll), ending runs after minutes of otherwise correct execution:

  • 0xc0000005 (write 0x0: nothing mapped) at victory-image-b99f876b74d4a77f.dll+0x23cf683 — Series S run with VICTORY_WAVE_WIDE=1, ~3.5 minutes in.
  • 0x80000003 (breakpoint) at victory-image-b99f876b74d4a77f.dll+0x63966f — Series X run, ~8 minutes in, after 2048+ presented frames. Menus, title artwork and loading-screen art rendered correctly up to that point (verified via VICTORY_CAPTURE PNGs, not just logs).

Both addresses are offsets into the emulated title image, so both look like title code faulting after some emulator-side gap (unimplemented method returning garbage/null, or a dropped dispatch the title does not expect).

Setup

  • cool_fox at 754cafc with PR #30 merged (d9ab0d9); one run on the plain release build, one on the diag profile with --features diagnostics.
  • Windows 11 build 26200, Ryzen 7 260 (8 cores), 16 GiB system RAM, NVIDIA RTX 5050 Laptop 8 GiB (driver 621.01) + Radeon 780M iGPU.
  • Series S run: Play-VIctory-4GB.cmd env set (VICTORY_THIN=1, VICTORY_RELAY=2, VICTORY_CARD_BUFFERS_MB=256, etc.), plus VICTORY_WAVE_WIDE=1 VICTORY_WAVE_WHY=1.
  • Series X run: same env plus VICTORY_OUTPUT=1920x1080, VICTORY_DSTORAGE_STAGING_MB=128, VICTORY_CAPTURE=<dir>, --console series-x.

Context from the logs

  • a pipeline creation method that is not implemented slots 0x218 and 0x1c8 (the 0x1c8 path reaches calls=16384 before the crash).
  • host view heap capped at 1000000; views past it read a null slot count=1245184.
  • host memory pressure ... physical_free_mib=128 available_commit_mib=817 at frame 1 (16 GiB machine; the game is heavily paging).
  • Repeated FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 ... falling back to NewBE, and a host DLL outside the host policy: refused amd_fidelityfx_upscaler_xbox.dll.
  • 4 compute shaders fail wave64 lowering on the default env (2 with VICTORY_WAVE_WIDE=1).
  • Windows recorded LiveKernelEvent 0x1B8 blackscreen dumps (AMD and NV) during one run; TdrLevel is default, TdrDelay=10.

Positive result worth noting

With PR #30 merged, the Series X profile on an 8 GiB 5050 renders the menus, title art and loading screens correctly (frame captures confirm). The remaining blockers on this machine are the crash above and frame time (memory-bound).

Happy to run a diagnostics pass with VICTORY_CRASH_SAVE or a DRED log if that helps isolate which unimplemented path precedes the fault.

**@⁠xMqrO** on GitHub · 2026-11-26 20:07 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32) ## What happened Two different unhandled exceptions inside the title's image module (`victory-image-<game build hash>.dll`), ending runs after minutes of otherwise correct execution: - `0xc0000005` (write `0x0`: nothing mapped) at `victory-image-b99f876b74d4a77f.dll+0x23cf683` — Series S run with `VICTORY_WAVE_WIDE=1`, ~3.5 minutes in. - `0x80000003` (breakpoint) at `victory-image-b99f876b74d4a77f.dll+0x63966f` — Series X run, ~8 minutes in, after 2048+ presented frames. Menus, title artwork and loading-screen art rendered correctly up to that point (verified via `VICTORY_CAPTURE` PNGs, not just logs). Both addresses are offsets into the emulated title image, so both look like title code faulting after some emulator-side gap (unimplemented method returning garbage/null, or a dropped dispatch the title does not expect). ## Setup - cool_fox at `754cafc` with PR #30 merged (`d9ab0d9`); one run on the plain release build, one on the `diag` profile with `--features diagnostics`. - Windows 11 build 26200, Ryzen 7 260 (8 cores), 16 GiB system RAM, NVIDIA RTX 5050 Laptop 8 GiB (driver 621.01) + Radeon 780M iGPU. - Series S run: `Play-VIctory-4GB.cmd` env set (VICTORY_THIN=1, VICTORY_RELAY=2, VICTORY_CARD_BUFFERS_MB=256, etc.), plus `VICTORY_WAVE_WIDE=1 VICTORY_WAVE_WHY=1`. - Series X run: same env plus `VICTORY_OUTPUT=1920x1080`, `VICTORY_DSTORAGE_STAGING_MB=128`, `VICTORY_CAPTURE=<dir>`, `--console series-x`. ## Context from the logs - `a pipeline creation method that is not implemented` slots 0x218 and 0x1c8 (the 0x1c8 path reaches calls=16384 before the crash). - `host view heap capped at 1000000; views past it read a null slot count=1245184`. - `host memory pressure ... physical_free_mib=128 available_commit_mib=817` at frame 1 (16 GiB machine; the game is heavily paging). - Repeated `FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 ... falling back to NewBE`, and `a host DLL outside the host policy: refused amd_fidelityfx_upscaler_xbox.dll`. - 4 compute shaders fail wave64 lowering on the default env (2 with `VICTORY_WAVE_WIDE=1`). - Windows recorded `LiveKernelEvent 0x1B8` blackscreen dumps (AMD and NV) during one run; TdrLevel is default, TdrDelay=10. ## Positive result worth noting With PR #30 merged, the Series X profile on an 8 GiB 5050 renders the menus, title art and loading screens correctly (frame captures confirm). The remaining blockers on this machine are the crash above and frame time (memory-bound). Happy to run a diagnostics pass with `VICTORY_CRASH_SAVE` or a DRED log if that helps isolate which unimplemented path precedes the fault.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:07:20 +00:00
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-26 21:09 UTC · original

Update on main (commit dacddbf):

  • Commits a96549d, cf3f615, and dacddbf fix a DirectStorage staging memory leak, add idle list/upload trimming, enable VICTORY_LIBRARY_STORE_LATER=1 and VICTORY_PIPELINE_WAIT_MS=0, and set VICTORY_PORT_CONSTANTS=0 / VICTORY_PORT_CBV=0 by default.
  • Note on your log context:
    1. host view heap capped at 1000000 is normal on NVIDIA (D3D12 caps shader-visible CBV/SRV/UAV heaps at 1,000,000 on NVIDIA GPUs).
    2. physical_free_mib=128 available_commit_mib=817 shows Windows commit exhaustion on 16 GiB RAM; expanding the Windows pagefile (e.g. 24-32 GB on SSD) prevents commit-starvation faults.
      Please pull dacddbf, rebuild, and retest (with VICTORY_D3D12_DRED=light if a fault still occurs).
**@⁠DoubleGhosty** on GitHub · 2026-11-26 21:09 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32#issuecomment-7203451707) Update on main (commit dacddbf): - Commits a96549d, cf3f615, and dacddbf fix a DirectStorage staging memory leak, add idle list/upload trimming, enable VICTORY_LIBRARY_STORE_LATER=1 and VICTORY_PIPELINE_WAIT_MS=0, and set VICTORY_PORT_CONSTANTS=0 / VICTORY_PORT_CBV=0 by default. - Note on your log context: 1. host view heap capped at 1000000 is normal on NVIDIA (D3D12 caps shader-visible CBV/SRV/UAV heaps at 1,000,000 on NVIDIA GPUs). 2. physical_free_mib=128 available_commit_mib=817 shows Windows commit exhaustion on 16 GiB RAM; expanding the Windows pagefile (e.g. 24-32 GB on SSD) prevents commit-starvation faults. Please pull dacddbf, rebuild, and retest (with VICTORY_D3D12_DRED=light if a fault still occurs).
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-26 21:12 UTC · original

Additional finding from disassembling victory-image-b99f876b74d4a77f.dll at the crash site: +0x23cf683 (called from +0x2215c35) is the title GPU lockup watchdog (30s timeout: 30 x Sleep(1000)). It decodes the string GPU Loc Sig and intentionally writes 0x4d8bd421 to 0x0 when no frame/GPU progress happens for 30s. This confirms the crash is caused by a >30s stall (pipeline wait budgets + memory paging on 16 GiB RAM). Retesting on dacddbf (VICTORY_PIPELINE_WAIT_MS=0, VICTORY_LIBRARY_STORE_LATER=1) and optionally VICTORY_SCREEN_WAIT_MS=2000 should prevent tripping the 30s watchdog.

**@⁠DoubleGhosty** on GitHub · 2026-11-26 21:12 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32#issuecomment-7203498155) Additional finding from disassembling victory-image-b99f876b74d4a77f.dll at the crash site: +0x23cf683 (called from +0x2215c35) is the title GPU lockup watchdog (30s timeout: 30 x Sleep(1000)). It decodes the string GPU Loc Sig and intentionally writes 0x4d8bd421 to 0x0 when no frame/GPU progress happens for 30s. This confirms the crash is caused by a >30s stall (pipeline wait budgets + memory paging on 16 GiB RAM). Retesting on dacddbf (VICTORY_PIPELINE_WAIT_MS=0, VICTORY_LIBRARY_STORE_LATER=1) and optionally VICTORY_SCREEN_WAIT_MS=2000 should prevent tripping the 30s watchdog.
Author
Owner

@⁠garrettlabs on GitHub · 2026-11-27 07:42 UTC · original

Another reproduction of the +0x23cf683 watchdog crash described above, this time on current main (583108b, which already includes the defaults from dacddbf).

Result: 3 runs, 3 identical crashes (same faulting address, same 5-frame stack, same rcx/r8-r11/r13/r14 values):

unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
  #0  victory-image-b99f876b74d4a77f.dll+0x23cf683
  #1  victory-image-b99f876b74d4a77f.dll+0x2215c35
  #2  victory-image-b99f876b74d4a77f.dll+0x2215eca
  #3  KERNEL32.DLL+0x2dda7
  #4  ntdll.dll+0xc9c5c

Timeline of the last run (from the run log, relative to process start):

  • ~t+50 s: the frame counter reaches ~1433 and stops advancing. A a dispatch without a host pipeline dropped warning appears at about this point.
  • t+50 s to t+80 s: the log is only first bind ... frame=1433 / shader translated / host pipeline shaders=[...] lines, mostly compute stages. The pipeline library was saved partway through (early=927 made=37 loaded=841).
  • ~t+80 s (about 30 s after the frame stopped): the crash. Over the whole run, 1068 shaders were translated.

This matches the 30 s watchdog theory: the title sees no GPU progress while compute pipelines are still being translated/created, then writes to 0 on purpose.

Environment

  • Windows 11, ~32 GiB RAM (GPU model not included here)
  • Memory as the title reported it at crash time: ~4.5 GiB free physical (85 % load), ~2 GiB of ~45 GiB commit free. No Windows error 1455 or commit-limit entry in crashes.log, so this does not look like commit exhaustion.
  • VICTORY_PORT_GUARD=1, VICTORY_PORT_JOURNAL=1, VICTORY_PORT_CONSTANTS=1, VICTORY_PORT_CBV=1; 2K output; pipeline enabled.

Other warnings in the same run: 29 x a pipeline creation method that is not implemented: the title goes without this pipeline (slots 0x218 and 0x1c8), and one renderer port 1: title memory not in place ... why="not one stretch of a section: None".

Side note: the title's crash reporter (a Breakpad/Backtrace uploader) tries to POST the ~37 MB minidump to submit.backtrace.io:443 after the crash. net.rs blocks it (HTTP connection blocked), so nothing leaves the machine, but it shows up as an outbound connection attempt in network monitors.

Next I can try VICTORY_SCREEN_WAIT_MS=2000 and the pre-warm flow (play.ps1 -Record, then -Warm) and report back if useful.

**@⁠garrettlabs** on GitHub · 2026-11-27 07:42 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32#issuecomment-7212737845) Another reproduction of the `+0x23cf683` watchdog crash described above, this time on current `main` (`583108b`, which already includes the defaults from `dacddbf`). **Result:** 3 runs, 3 identical crashes (same faulting address, same 5-frame stack, same `rcx`/`r8`-`r11`/`r13`/`r14` values): ``` unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) #0 victory-image-b99f876b74d4a77f.dll+0x23cf683 #1 victory-image-b99f876b74d4a77f.dll+0x2215c35 #2 victory-image-b99f876b74d4a77f.dll+0x2215eca #3 KERNEL32.DLL+0x2dda7 #4 ntdll.dll+0xc9c5c ``` **Timeline of the last run** (from the run log, relative to process start): - ~t+50 s: the frame counter reaches ~1433 and stops advancing. A `a dispatch without a host pipeline dropped` warning appears at about this point. - t+50 s to t+80 s: the log is only `first bind ... frame=1433` / `shader translated` / `host pipeline shaders=[...]` lines, mostly compute stages. The pipeline library was saved partway through (`early=927 made=37 loaded=841`). - ~t+80 s (about 30 s after the frame stopped): the crash. Over the whole run, 1068 shaders were translated. This matches the 30 s watchdog theory: the title sees no GPU progress while compute pipelines are still being translated/created, then writes to 0 on purpose. **Environment** - Windows 11, ~32 GiB RAM (GPU model not included here) - Memory as the title reported it at crash time: ~4.5 GiB free physical (85 % load), ~2 GiB of ~45 GiB commit free. No Windows error 1455 or commit-limit entry in `crashes.log`, so this does not look like commit exhaustion. - `VICTORY_PORT_GUARD=1`, `VICTORY_PORT_JOURNAL=1`, `VICTORY_PORT_CONSTANTS=1`, `VICTORY_PORT_CBV=1`; 2K output; pipeline enabled. **Other warnings in the same run:** 29 x `a pipeline creation method that is not implemented: the title goes without this pipeline` (slots `0x218` and `0x1c8`), and one `renderer port 1: title memory not in place ... why="not one stretch of a section: None"`. **Side note:** the title's crash reporter (a Breakpad/Backtrace uploader) tries to POST the ~37 MB minidump to `submit.backtrace.io:443` after the crash. `net.rs` blocks it (`HTTP connection blocked`), so nothing leaves the machine, but it shows up as an outbound connection attempt in network monitors. Next I can try `VICTORY_SCREEN_WAIT_MS=2000` and the pre-warm flow (`play.ps1 -Record`, then `-Warm`) and report back if useful.
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 10:51 UTC · original

Thanks for the timeline, it fits: the frame counter stops at 1433, a dispatch is dropped, and the watchdog fires 30 s later. Your 583108b predates the #66 change, so this isn't the regression #80 bisected; it's whichever dispatch was dropped there. Please post the a dispatch without a host pipeline dropped line and the shader does not translate / host pipeline refused lines before it, with their hashes. Since 3a7e7e71, VICTORY_WAVE_WHY=1 also prefixes each wave64 retry line with the shader's hash.

Your run also had VICTORY_PORT_CONSTANTS=1 and VICTORY_PORT_CBV=1, which Play-VIctory.cmd keeps off on NVIDIA. A run with both at 0 would rule them out.

**@⁠DoubleGhosty** on GitHub · 2026-11-27 10:51 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32#issuecomment-7216380200) Thanks for the timeline, it fits: the frame counter stops at 1433, a dispatch is dropped, and the watchdog fires 30 s later. Your `583108b` predates the #66 change, so this isn't the regression #80 bisected; it's whichever dispatch was dropped there. Please post the `a dispatch without a host pipeline dropped` line and the `shader does not translate` / `host pipeline refused` lines before it, with their hashes. Since `3a7e7e71`, `VICTORY_WAVE_WHY=1` also prefixes each wave64 retry line with the shader's hash. Your run also had `VICTORY_PORT_CONSTANTS=1` and `VICTORY_PORT_CBV=1`, which `Play-VIctory.cmd` keeps off on NVIDIA. A run with both at 0 would rule them out.
Author
Owner

@⁠DoubleGhosty on GitHub · 2026-11-27 11:03 UTC · original

One more request, since your logs have them: the a pipeline creation method that is not implemented warnings (device slots 0x1c8 and 0x218, about 29 pipelines the title goes without). Both methods take a description whose first word points at data the title builds at run time, so the layout can't be read from the executable alone. The first four of those lines for each slot carry description=[...] and first_points_at=[...], the words needed to write the two methods. Could you paste those lines (text is enough)?

**@⁠DoubleGhosty** on GitHub · 2026-11-27 11:03 UTC · [original](https://github.com/DoubleGhosty/cool_fox/issues/32#issuecomment-7216635399) One more request, since your logs have them: the `a pipeline creation method that is not implemented` warnings (device slots `0x1c8` and `0x218`, about 29 pipelines the title goes without). Both methods take a description whose first word points at data the title builds at run time, so the layout can't be read from the executable alone. The first four of those lines for each slot carry `description=[...]` and `first_points_at=[...]`, the words needed to write the two methods. Could you paste those lines (text is enough)?
This discussion has been locked. Commenting is limited to contributors.
No description provided.