Title-image crashes: 0xc0000005 write-to-null and 0x80000003 breakpoint end runs after minutes (Series S and Series X) #32
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DoubleGhosty--cool_fox#32
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?
@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(write0x0: nothing mapped) atvictory-image-b99f876b74d4a77f.dll+0x23cf683— Series S run withVICTORY_WAVE_WIDE=1, ~3.5 minutes in.0x80000003(breakpoint) atvictory-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 viaVICTORY_CAPTUREPNGs, 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
754cafcwith PR #30 merged (d9ab0d9); one run on the plain release build, one on thediagprofile with--features diagnostics.Play-VIctory-4GB.cmdenv set (VICTORY_THIN=1, VICTORY_RELAY=2, VICTORY_CARD_BUFFERS_MB=256, etc.), plusVICTORY_WAVE_WIDE=1 VICTORY_WAVE_WHY=1.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 implementedslots 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=817at frame 1 (16 GiB machine; the game is heavily paging).FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 ... falling back to NewBE, anda host DLL outside the host policy: refused amd_fidelityfx_upscaler_xbox.dll.VICTORY_WAVE_WIDE=1).LiveKernelEvent 0x1B8blackscreen 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_SAVEor a DRED log if that helps isolate which unimplemented path precedes the fault.@DoubleGhosty on GitHub · 2026-11-26 21:09 UTC · original
Update on main (commit
dacddbf):a96549d,cf3f615, anddacddbffix 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.Please pull
dacddbf, rebuild, and retest (with VICTORY_D3D12_DRED=light if a fault still occurs).@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.@garrettlabs on GitHub · 2026-11-27 07:42 UTC · original
Another reproduction of the
+0x23cf683watchdog crash described above, this time on currentmain(583108b, which already includes the defaults fromdacddbf).Result: 3 runs, 3 identical crashes (same faulting address, same 5-frame stack, same
rcx/r8-r11/r13/r14values):Timeline of the last run (from the run log, relative to process start):
a dispatch without a host pipeline droppedwarning appears at about this point.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).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
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(slots0x218and0x1c8), and onerenderer 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:443after the crash.net.rsblocks 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=2000and the pre-warm flow (play.ps1 -Record, then-Warm) and report back if useful.github-bot referenced this issue2026-11-27 08:45:46 +00:00
@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
583108bpredates the #66 change, so this isn't the regression #80 bisected; it's whichever dispatch was dropped there. Please post thea dispatch without a host pipeline droppedline and theshader does not translate/host pipeline refusedlines before it, with their hashes. Since3a7e7e71,VICTORY_WAVE_WHY=1also prefixes each wave64 retry line with the shader's hash.Your run also had
VICTORY_PORT_CONSTANTS=1andVICTORY_PORT_CBV=1, whichPlay-VIctory.cmdkeeps off on NVIDIA. A run with both at 0 would rule them out.@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 implementedwarnings (device slots0x1c8and0x218, 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 carrydescription=[...]andfirst_points_at=[...], the words needed to write the two methods. Could you paste those lines (text is enough)?