Skip to content
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

Internal compiler error using deque #2383

Closed
eholk opened this issue May 14, 2012 · 4 comments
Closed

Internal compiler error using deque #2383

eholk opened this issue May 14, 2012 · 4 comments
Labels
A-linkage Area: linking into static, shared libraries and binaries I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Milestone

Comments

@eholk
Copy link
Contributor

eholk commented May 14, 2012

The following program fails to compile with a cryptic internal compiler error:

use std;
import std::deque;
import std::deque::t;

fn main() {
    let Q = deque::create();
    Q.add_back(10);
}

The error is...

host-7-93:bench eholk$ RUST_LOG=rustc=0,::rt::backtrace rustc test.rs
rust: upcall fail 'lookup_item: id not found: 11740', /Users/eholk/Documents/projects/mozilla/rust/src/rustc/metadata/decoder.rs:93
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=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: upcall fail 'explicit failure', /Users/eholk/Documents/projects/mozilla/rust/src/rustc/driver/rustc.rs:249
rust: domain main @0x7fb949800010 root task failed
rust: upcall fail 'killed', /Users/eholk/Documents/projects/mozilla/rust/src/libcore/task.rs:454
@catamorphism
Copy link
Contributor

Looks like a sad metadata issue to me -- does "make clean" and remaking fix it?

@eholk
Copy link
Contributor Author

eholk commented May 15, 2012

I don't think so. As far as I can tell, this fails on a clean build.

@pcwalton
Copy link
Contributor

Nominating for 0.3; all our types in the standard library should be at least usable.

@eholk
Copy link
Contributor Author

eholk commented May 18, 2012

I had Patrick and Lindsey try this on a clean build, and it didn't work for them either. I don't think this is a stale metadata issue.

bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
Print one . character per test instead of one line

`./miri bless -- --quiet` now prints a dot per test, along with the regular Rust unit tests that listen to this flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

3 participants