main @0338ec6 crashes 49 s into the intro: 0xC0000005 write 0x0 inside the title image (Frame 4284) #1900
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1900
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?
@wzl271 on GitHub · 2026-11-29 02:01 UTC · original
Summary
mainat0338ec6(built from source today, 2026-11-29 01:38Z) runs the title for 49 seconds and then dies with an access violation inside the translated game image. The releasev2026.11.28.03runs the same scene for hours on this machine, andv2026.11.28.03+a38716d(your #1496 fix cherry-picked, nothing else) runs for as long as I tested it (13+ min, see the comment I am adding to #1496). So this looks like a regression in the commits between the release tag andmain, not the machine.What is in the log
crashes.log:crashcontext.log:Game Running Time: 0h:0m:49s,Frame: 4284,Streaming Requests: 4918,TileHeap: used (2962Mb) - total (6236Mb),Version: 930.048.020-vb_sub_story, camera<-1738.900024, -4257.681152, 2.991511>,GFX Queue: 143b9230,Unsignaled CrossQueueBarrier: f8dcd913.So: a title worker thread (
#3isBaseThreadInitThunk) writes through a null pointer, three frames deep inside game code — no runner-side panic, no device removal, noVICTORY_...message before it. Frame 4284 is still the intro/loading stretch of the game (the same place where the release build just keeps loading).Commit window
git log --oneline v2026.11.28.03..0338ec6 | wc -l→ 391 commits, of which the ones that touch shader output are the obvious candidates:Machine
rustc 1.100.1 stable-x86_64-pc-windows-gnu+ MinGW-W64 gcc 16.2.0 (no MSVC on this PC) —target/x86_64-pc-windows-gnu/release/victory.exe, 86.8 MBapps/victory/build.rsto exportD3D12SDKVersion/D3D12SDKPathon GNU (otherwise every start asks for SM 6.5) — I have opened that as a separate issue, so it should not be the cause here, and the game does start and render with it.%LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-013821-12896.log(10163 lines),%LOCALAPPDATA%\victory\data\7952987A\crashes.log,...\temp\victory-20261129-094004-12896.crash.logIf it helps I can bisect the window on this machine (
0338ec6→a38716d, roughly 20 builds of the GPU/shader crates), or test a build with the four shader commits above left out. Which do you want first?@Jesper-Andersson on GitHub · 2026-11-29 02:06 UTC · original
This looks like the title's own hang watchdog, not a new null write in translated code:
write 0x0 at +0x23cf683,+0x2215c35,+0x2215eca, withrax/rbx/rbp 0andrdx 1, is the stack and register pattern reported in #1654, #846, #1428 and #628. As #628 and #1428 worked out, a title thread deliberately writes to address 0 when the game's heartbeat hasn't moved for about 30 seconds, so the question is what stalled the title for 30 s at frame 4284. Your log's 20 s of silence before the crash fits that, though I can't prove it from the log alone.main,VICTORY_POKE=71b6340:1(from #1428, sets the watchdog's quit flag) should be the switch that applies. It needs a build with--features diagnostics; a plain release build ignores it. As far as I can tell, #1609 (quit flag set by default,VICTORY_TITLE_WATCHDOG=1to turn it back on) is still open and not in currentmain(d1486134), so that switch isn't there yet.victory play --preload) andVICTORY_PIPELINE_COMPUTE_WAIT=0.Whether your regression between the release tag and
mainis what makes the load stall is a separate question; a bisect as you offer would answer that, and the watchdog crash would just be how it shows up.This was written with AI assistance (Claude Code).
@P1ayer-1 on GitHub · 2026-11-29 02:09 UTC · original
A second data point for "a source build crashes inside the title image, the release does not" — with one difference worth knowing: it happens before the first frame, not at frame 4284, and at a different offset.
Machine and build
d4b5d51(not0338ec6),cargo build --release -p victory, rustc 1.98.1-x86_64-pc-windows-msvc fromrust-toolchain.toml, MSVC 14.44.35207. Artifact 12,212,736 bytes,[optimized + debuginfo]v2026.11.28.03runs: it reaches the game and holds 18-30 fps at 2560x1440 (Series X, DLSS Quality). So the dump and the machine are not the variable.What the crash is
Preceding bytes are
48 8B 05 …(load a global),48 85 C0(test),74 02(jz),FF D0(call rax) — so the fault is the compiler's inline for*(int*)0 = 0immediately after a null-guarded indirect call through a global. The thread is title-created (entryvictory-image+0x2215A60→BaseThreadInitThunk), and no layer Rust frame is on its stack. The game's own crash log saysGame Running Time: 0h:0m:0s,Game State: System Init,Frame: 0. Last layer line before it isdstorage: file opened path="G:\script.rpf"; the run dies 34-71 s in, never having presented a frame.Reproducibility, and why this is not the mouse and keyboard feature
v2026.11.28.03v2026.11.28.03d4b5d51d4b5d51Since the source build dies with mouse and keyboard off as well, MnK is not the cause here — which is worth saying in #1180 too. Whatever this is, it is present in a source build at
d4b5d51.Difference from your report, which may matter for the bisect
+0x2215C35here vs+0x23cf683there (the latter also appears in #1031 and #1654) — possibly a different site of the same "write 0x0 into the title image" family, possibly the same one reached differently;Frame: 0 / System Inithere vs frame 4284 there.d4b5d51is 121 commits behindf9dfb76, so it predates0338ec6. If the regression window is "between the release tag andmain",d4b5d51is inside it and already fails, which may narrow it.One thing I cannot rule out from here: my build carries
debuginfowhile the shippedvictory.exeis ~600 KB smaller, and I have no way to tell whether the crash depends on build flags rather than commits. If someone can buildd4b5d51the way the release is built and see whether it still crashes, that would separate the two.I kept the minidumps (
19,293,161and19,240,606bytes) and the two play logs on the machine if either is wanted.@trustno1-coder on GitHub · 2026-11-30 15:39 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.