Skip to content

rustc is ICEing when it tries to build itself #19805

Closed
@canndrew

Description

@canndrew

This is a fresh, master rustc. Running ./configure && make gives me

error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' panicked at 'assertion failed: end <= self.len()', /home/shum/src/rust/rust/src/libcore/slice.rs:432

stack backtrace:
   1:     0x7f5556dbe2a0 - rt::backtrace::imp::write::hcfffe16bac1a89d8tOx
   2:     0x7f5556dc03c0 - failure::on_fail::h596b868d4d6c672fTfy
   3:     0x7f5556a29250 - unwind::begin_unwind_inner::h58e38c39c8ade205CJc
   4:     0x7f5556a28e60 - unwind::begin_unwind_fmt::hf2df3f18d8eb7398ZGc
   5:     0x7f5556a28e20 - rust_begin_unwind
   6:     0x7f5556a6ff50 - panicking::panic_fmt::h70018dd8b3bfa8e7Stl
   7:     0x7f5556a6dc50 - panicking::panic::h3466351790214922irl
   8:     0x7f55554de570 - metadata::loader::Context<'a>::extract_one::h801ddd4ec3be2f4dsqx
   9:     0x7f55554d8350 - metadata::loader::Context<'a>::find_library_crate::hee79ca7c8f32d193Ogx
  10:     0x7f55554d0720 - metadata::creader::resolve_crate::h3e6012eb682240d8b0v
  11:     0x7f55554cb560 - metadata::creader::Env<'a>.visit..Visitor<'v>::visit_view_item::hf4601eef2f3fd81d6sv
  12:     0x7f55554caa80 - metadata::creader::read_crates::h981338246f370e1a0rv
  13:     0x7f5557220f10 - util::common::time::h15532658999104091233
  14:     0x7f55571e03f0 - driver::phase_3_run_analysis_passes::hc4c4d1f218f64fd2Cta
  15:     0x7f55571d0da0 - driver::compile_input::h8b1acb183a176df5pba
  16:     0x7f555726eba0 - run::closure.21547
  17:     0x7f555727cb50 - task::TaskBuilder::try_future::closure.23001
  18:     0x7f5556d9e3c0 - task::TaskBuilder::spawn_internal::closure.30601
  19:     0x7f5556a276f0 - task::Task::spawn::closure.5726
  20:     0x7f5556a82d70 - rust_try_inner
  21:     0x7f5556a82d60 - rust_try
  22:     0x7f5556a275f0 - task::Task::run::h858807944c2b839efKb
  23:     0x7f5556a27240 - task::Task::spawn::closure.5702
  24:     0x7f5556a286d0 - thread::thread_start::h1e8a9989f227f958w1b
  25:     0x7f5551cdb100 - <unknown>
  26:     0x7f55566febb9 - clone
  27:                0x0 - <unknown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions