Skip to content

rustc build from HEAD panicks #19744

Closed
Closed
@untitaker

Description

@untitaker

Archlinux:

$ RUST_BACKTRACE=1 make
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=gcc (CFG_CC)
cfg: enabling valgrind run-pass tests (CFG_ENABLE_VALGRIND_RPASS)
rustc: x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog
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/untitaker/projects/rust/src/libcore/slice.rs:432

stack backtrace:
   1:     0x7f8681a534e0 - rt::backtrace::imp::write::h8f3ddc8f415cb59aGOx
   2:     0x7f8681a56720 - failure::on_fail::h7cd43dba16cc0f876fy
   3:     0x7f868169d830 - unwind::begin_unwind_inner::h0395964cdbdfc487CJc
   4:     0x7f868169d330 - unwind::begin_unwind_fmt::h2d5fc7181bcc7c37ZGc
   5:     0x7f868169d2f0 - rust_begin_unwind
   6:     0x7f86816efc90 - panicking::panic_fmt::h8f65394db1e5cd12Rtl
   7:     0x7f86816ed990 - panicking::panic::h29878e5b2190a75ahrl
   8:     0x7f867ffa0780 - metadata::loader::Context<'a>::extract_one::hfe6ef78f810a3f33Pww
   9:     0x7f867ff993f0 - metadata::loader::Context<'a>::find_library_crate::h3139dc8ccd572619bnw
  10:     0x7f867ff94bf0 - metadata::loader::Context<'a>::load_library_crate::h64f05663732f82faRew
  11:     0x7f867ff8f970 - metadata::creader::resolve_crate::hab96be16e8d4eb78u6u
  12:     0x7f867ff89f00 - metadata::creader::Env<'a>.visit..Visitor<'v>::visit_view_item::hda55b65fa089a578pzu
  13:     0x7f867ff89320 - metadata::creader::read_crates::hb3f52378c8eedcd4jyu
  14:     0x7f8681ec2760 - util::common::time::h13602981685918876014
  15:     0x7f8681e83120 - driver::phase_3_run_analysis_passes::hd743276d656939a0Cta
  16:     0x7f8681e71eb0 - driver::compile_input::hfdfb71bde631b671pba
  17:     0x7f8681f0e9c0 - run_compiler::ha3c7a06f8b4d7dccEYb
  18:     0x7f8681f0e8b0 - run::closure.21405
  19:     0x7f8681f202c0 - task::TaskBuilder::try_future::closure.22859
  20:     0x7f8681a2b960 - task::TaskBuilder::spawn_internal::closure.30614
  21:     0x7f868169b4d0 - task::Task::spawn::closure.5729
  22:     0x7f8681702ab0 - rust_try_inner
  23:     0x7f8681702aa0 - rust_try
  24:     0x7f868169b5b0 - unwind::try::h8902e4b3c8b1997fTyc
  25:     0x7f868169b370 - task::Task::run::h1ea22de48de2edbdfKb
  26:     0x7f868169af60 - task::Task::spawn::closure.5705
  27:     0x7f868169c9b0 - thread::thread_start::h5b83d88cdd72e2e4w1b
  28:     0x7f867c72e250 - start_thread
  29:     0x7f8681372589 - clone
  30:                0x0 - <unknown>

/home/untitaker/projects/rust/mk/target.mk:165: recipe for target 'x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.log' failed
make: *** [x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.log] Error 101

I'll fiddle around with gdb later.

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