loader: ensure stack headroom before RtlCaptureStackBackTrace on Windows 10 #411
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/411"
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?
Imported from fxceless/victory-fork. Originally posted by HAL9000RELOADED on 2026-11-25T00:26:07Z.
On Windows 10 10.0.19045, fresh test threads often start with Rsp - TEB.StackLimit in 0x260..0x6c0, causing RtlWalkFrameChain inside RtlCaptureStackBackTrace to hit the stack PAGE_GUARD mid-walk and abort returning 0 frames. Touching one stack page in ensure_stack_headroom() before the walk keeps the full system-walk parity assertion intact without skipping it on Windows 10.
Imported from fxceless/victory-fork. Originally posted by HAL9000RELOADED on 2026-11-25T02:00:54Z.
Closing, and sorry for the noise. After checking more carefully against the other pull requests, I found this problem was already reported and fixed upstream:
This fork will get that fix with the next upstream sync. This PR was only DrTardis1963's
559756cfrom that discussion, submitted again without adding anything.Pull request closed