Skip to content

rustc: Unexpected Failure (task ran out of stack) #5343

Closed

Description

@astrieanna

When I compile the file fingertree.rs, the rustc gives me this error:

error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues

The file and the result of running with the logging on is here.

The lines that look relevant to me from the log are:

rust: task b4d04920 ran out of stack

and

rust: task failed at 'explicit failure', /home/leah/rust-0.5/src/librustc/rustc.rc:425

This only happens with the prepend function included. If it is commented out, the file compiles just fine.

The output of rustc --version is:

rustc 0.5
host: i686-unknown-linux-gnu

Activity

  1. jdm commented on Mar 12, 2013

    @jdm
    Contributor

    This looks like #4363 (same data structure, even!).

  2. catamorphism commented on Mar 14, 2013

    @catamorphism
    Contributor

    Closing as a dup of #4363 -- reopen if it turns out to be different.

  3. added a commit that references this issue on May 2, 2020
  4. added a commit that references this issue on Jun 4, 2022
  5. added a commit that references this issue on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions