Crash: VICTORY_STACKS_AT_KILL=1 prints every thread's stack when the title writes to address 0, its GPU watchdog's kill #1121
No reviewers
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!1121
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1121"
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?
@101Leafy on GitHub · 2026-11-28 13:42 UTC · original
101Leafy:nv/stacks-at-kill→main· +43 −17 · 11 files · 4 commits · merged 2026-11-29 08:16 UTCProblem
When the frame loop stops, the title's GPU watchdog (the thread at image+0x2215a60) waits 30 s and then writes to address 0 to end the process. The crash report names that write and the watchdog's own stack, but not what the frame loop was stuck in.
VICTORY_STACKS=<seconds>can catch it only when the hang time is known ahead.Change
VICTORY_STACKS_AT_KILL=1(diagnostics builds) prints every thread's stack, through the existingstacks::dump_stacks, at the first access violation that writes to address 0. It runs once per process, from the first-chance handler, after the usual report. Off by default, and the plain build is unchanged.Tested
Built with and without
diagnostics. It only does something when set.Tested on: not run on a GPU yet. It was only built (see above), so there is no before and after to report.
Crash: VICTORY_STACKS_AT_KILL=1 prints every thread's stack when the title writes to address 0, its GPU watchdog's killto [pr-diagnostics, crash] Crash: VICTORY_STACKS_AT_KILL=1 prints every thread's stack when the title writes to address 0, its GPU watchdog's kill[pr-diagnostics, crash] Crash: VICTORY_STACKS_AT_KILL=1 prints every thread's stack when the title writes to address 0, its GPU watchdog's killto Crash: VICTORY_STACKS_AT_KILL=1 prints every thread's stack when the title writes to address 0, its GPU watchdog's kill2171c5cb96toc6d5c4d7c2