Skip to content

infinite(?) recursion / memory allocation loop / out of memory panic #119625

Closed
@AnAverageGitUser

Description

@AnAverageGitUser

Code

Minimal reproducible example: minimal_reproducible_example.zip

Meta

rustc --version --verbose:

rustc 1.77.0-nightly (f688dd684 2024-01-04)
binary: rustc                                        
commit-hash: f688dd684faca5b31b156fac2c6e0ae81fc9bc90
commit-date: 2024-01-04                              
host: x86_64-pc-windows-msvc                         
release: 1.77.0-nightly                              
LLVM version: 17.0.6

The error was also present within version "1.76.0-nightly".

Error output

Looks like it tries to allocate a lot of memory until on windows the swap file was full and further memory allocation fails.

unable to allocate fiber: Die Auslagerungsdatei ist zu klein, um diesen Vorgang durchzuführen. (os error 1455)

Backtrace: rustc-ice-2024-01-05T16_46_09-15824.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-compilememIssue: Problems and improvements with respect to memory usage during compilation.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions