rust-lang / rust-lang/rust

Stack overflow error on Windows

Open
#152,172 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug E-needs-mcve O-windows-msvc P-low regression-untriaged T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Related

https://github.com/actions/runner-images/issues/13629

Description

A recent windows-latest GitHub runner update has updated Rust from v1.92 to v1.93.

  • In v1.92: Our code builds and runs correctly

  • In v1.93: Our code builds, but spits out the following error at runtime:

    thread 'main' (6220) has overflowed its stack
    error: process didn't exit successfully: target\debug\topiary.exe prefetch (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW)
    

The error isn't descriptive enough to narrow down where the error is occurring (and I don't have a Windows machine to test with). The offending codebase is per https://github.com/topiary/topiary/pull/1172

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the related actions/runner-images issue and the codebase from topiary/topiary#1172. Reproduce the prefetch command with Rust 1.92 and 1.93 on a Windows runner, then compare the behavior and available diagnostics. Done means identifying the regression or reducing it to an actionable compiler or runner issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, rust
Domain
ci-cd, compilers, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.