v2026.11.30.03: thread 'victory-list-0' has overflowed its stack (default 2 MiB stack in list/thin.rs:522) #4812
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#4812
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?
@Dukestar69 on GitHub · 2026-12-01 09:45 UTC · original
Summary
On
v2026.11.30.03, avictory-list-*worker thread (VICTORY_THIN=1) hit a stack overflow during gameplay on RTX 5090 (Windows 11).Crash output / log
(The secondary
RefCell already borrowedpanic instdio.rsoccurs while the runtime prints the stack-overflow diagnostic.)Environment
v2026.11.30.03(official release binary)VICTORY_THIN=1(default)Likely Cause
In
crates/victory-gpu/src/list/thin.rs:522, thevictory-list-{i}worker threads are spawned without an explicit stack size:On Windows, Rust's default thread stack is 2 MiB (
RUST_MIN_STACK/ defaultstd::thread), which can be exhausted whenvictory-list-*executes deep command-list translation, draw/descriptor/pipeline lookup, and NVIDIA D3D12 driver call chains (especially with fat LTO inlining).Suggested Fix
Give
victory-list-{i}(and optionally other GPU worker threads that call into the D3D12 driver) an explicit stack size, e.g..stack_size(8 * 1024 * 1024).Workaround
Setting
THIN LISTS = OFF(VICTORY_THIN=0) andASYNC SUBMIT = ON(VICTORY_ASYNC_SUBMIT=1) in the F1 menu bypassesvictory-list-*threads.AI-assisted (Gemini 4 Neon).
@github-actions[bot] on GitHub · 2026-12-01 09:45 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU you have and which Windows version (10 or 11).
If this issue needs logs and none are posted here within 12 hours, it will be closed. Add them by editing your post or in a comment.
@RochDawid on GitHub · 2026-12-01 10:11 UTC · original
From reading the code (not confirmed on a machine), one reason the list threads in particular may run deeper than the other threads:
VICTORY_THIN=1, avictory-list-Nthread replays the title's calls, including its dispatches.make::ready(crates/victory-gpu/src/pipeline/make.rs) makes it right there withp.make(), by default (VICTORY_PIPELINE_COMPUTE_WAIT, within the frame's 3 s budget). That is the shader translation and the driver's pipeline compile, on the list thread's stack, under the frames of the recording it is replaying.victory-gpusets a stack size, so this runs on Rust's default 2 MiB. Thevictory-pipelines-Nworkers do the same work on 2 MiB as well, but from a shallow start.If that is where it overflowed, the play log should show
shader translated stage="compute"lines (or acompute pipelines: this frame waitedline) shortly before the crash. Could you check the last few hundred lines before it? Without that, a larger stack is a guess. With it, the stack size ofvictory-list-Nwould be the place, or making compute pipelines off the list thread.@Dukestar69 on GitHub · 2026-12-01 14:38 UTC · original
@RochDawid Checked the last 300 lines of the play log right before the ictory-list-0 stack overflow (