loader(crash): verify unwind against known caller frames when RtlCaptureStackBackTrace returns empty #1159
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1159
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1159/head"
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?
@geiyiliyabumo on GitHub · 2026-11-24 16:18 UTC · original
geiyiliyabumo:fix/crash-unwind-test-win10→main· +103 −14 · 1 files · 1 commits · merged 2026-11-25 00:21 UTCSummary
Fixes #742
Full verification details and change notes are documented in #742 (commit
121412b, based onmainffe310e).Verification (Windows 11 x64 MSVC)
rustfmt --edition 2024 --checkon edited files: PASScargo xtask policy: PASS (zero game files/data)cargo clippy --all-targets --locked -- -D warnings(default +--features diagnosticswhere applicable): PASSAI-assisted; synthetic tests only, no game files.
@Zipettte on GitHub · 2026-11-24 18:01 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
121412b:cargo test -p victory-loaderpasses, 25 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@Calvix2k on GitHub · 2026-11-24 21:27 UTC · original
Strong reproduction and fix verification on the machine where the flake actually happens:
cargo test -q -p victory-loader --locked unwinds_like_the_system_walk -- --test-threads=1repeated 20 times — failed 13/20 withRtlCaptureStackBackTracereturning fewer than four frames.121412b): the same 20 runs — 0 failures. Full crate:cargo test -p victory-loader --locked -- --test-threads=1→ 22 + 2 + 1 passed, 0 failed.So the fallback to known caller frames fixes the Windows 10 case that produced #742/#1605. Looks good to merge from this side.