Skip to content

ICE: diagnostic::SpanHandler::span_bug - panic at Box<Any> #22713

Closed
@mark3982

Description

@mark3982
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
thread 'rustc' panicked at 'Box<Any>', /mnt/host/kmcg3413.net/rust/src/libsyntax/diagnostic.rs:129

stack backtrace:
   1:     0x7f8fc1df61c0 - sys::backtrace::write::h58461d7d0ee03fe821y
   2:     0x7f8fc1e1a5c0 - failure::on_fail::h983ff0e03bf1b1c6rcH
   3:     0x7f8fc1d78590 - rt::unwind::begin_unwind_inner::he58ce9282e8b04faMQG
   4:     0x7f8fbf14b7f0 - rt::unwind::begin_unwind::h2211373843863054340
   5:     0x7f8fbf14b780 - diagnostic::SpanHandler::span_bug::hf33669210284312an3E
   6:     0x7f8fbfc87d00 - session::Session::span_bug::hb08419bf656da62caHr
   7:     0x7f8fc0bd0bf0 - ast_util::walk_pat::walk_pat_::h12022859396464238272
   8:     0x7f8fc0aadb30 - trans::controlflow::trans_block::h8385ff59a33ae83fBde
   9:     0x7f8fc0b78ca0 - trans::base::trans_closure::h5aee682c389bb18e9du
  10:     0x7f8fc0a99300 - trans::base::trans_fn::hfef6be3a8a4134a4ppu
  11:     0x7f8fc0a94380 - trans::base::trans_item::h8b00b5f4ca3d68c1eOu
  12:     0x7f8fc0b80260 - trans::base::trans_crate::h599d9bfb3fe64a33yLv
  13:     0x7f8fc240b560 - driver::phase_4_translate_to_llvm::h7473c59213764f77wPa
  14:     0x7f8fc23e4610 - driver::compile_input::h89bfe02f11866383Eba
  15:     0x7f8fc24b5a10 - run_compiler::h08c73b096e0a052c5bc
  16:     0x7f8fc24b4070 - thunk::F.Invoke<A, R>::invoke::h6531393211258230256
  17:     0x7f8fc24b2f60 - rt::unwind::try::try_fn::h3599546013013709466
  18:     0x7f8fc1e86b10 - rust_try_inner
  19:     0x7f8fc1e86b00 - rust_try
  20:     0x7f8fc24b3210 - thunk::F.Invoke<A, R>::invoke::h10613949120532292059
  21:     0x7f8fc1e06ab0 - sys::thread::thread_start::hca42318cad6a03d0FQC
  22:     0x7f8fbbf64a80 - start_thread
  23:                0x0 - <unknown>
rustc 1.0.0-dev (e29f42025 2015-02-11 17:59:37 +0000)

The build is a little old. I am currently compiling the most recent from the repo, but I figured this might not have been solved yet. I will try with the newest version as soon as it is done building.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions