Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
astrieanna opened this issue Mar 12, 2013 · 2 comments
Closed

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

astrieanna opened this issue Mar 12, 2013 · 2 comments
Milestone

Comments

@astrieanna
Copy link
Contributor

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
@jdm
Copy link
Contributor

jdm commented Mar 12, 2013

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

@catamorphism
Copy link
Contributor

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

bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
… r=Manishearth

Move useless_transmute to nursery

cc rust-lang#5343

@rust-lang/clippy anyone against moving this to nursery?

changelog: Move [`useless_transmute`] to nursery
flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 4, 2022
…endoo

Don't lint `useless_transmute` on types with erased regions

fixes rust-lang#6356
fixes rust-lang#3340
fixes rust-lang#2906

This should get a proper fix at some point, but this at least gets the lint running on some types.

cc rust-lang#5343

changelog: Don't lint `useless_transmute` on types with erased regions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants