rust-lang / rust-lang/rust

ICE: `unable to allocate fiber: The paging file is too small for this operation to complete. (os error 1455)`

Open
#137,536 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-incr-comp C-bug E-needs-mcve I-compilemem T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

ICE linked with async closure and incremental compilation

Code

I could not reproduce a minimal code.

  • First compile this project (you need a postgres server running, we provide some docker file for it )
  • then changing this line
    by removing the async

When the ICE occurs rustc uses massive amounts of memory.
Clearing and compiling with the change just produces the expected error.

Meta

rustc --version --verbose:

rustc 1.87.0-nightly (f04bbc60f 2025-02-20)
binary: rustc
commit-hash: f04bbc60f8c353ee5ba0677bc583ac4a88b2c180
commit-date: 2025-02-20
host: x86_64-pc-windows-msvc
release: 1.87.0-nightly
LLVM version: 20.1.0

also occurs in

rustc 1.85.0 (4d91de4e4 2025-02-17)
binary: rustc
commit-hash: 4d91de4e48198da2e33413efdcd9cd2cc0c46688
commit-date: 2025-02-17
host: x86_64-pc-windows-msvc
release: 1.85.0
LLVM version: 19.1.7
Error output

no error output

Backtrace

(too long to paste)

nightly rustc-ice-2025-02-24T08_14_31-24476.txt

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 backend/src/api/esi/market/handler.rs at the linked line, then compile the referenced project with PostgreSQL and its Docker files on Windows using the listed stable and nightly rustc versions. Compare the build with and without async, and use the attached ICE backtrace to identify the compiler component involved; done means the failure is reproducible and reduced enough to investigate.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.