Skip to content

Unexpectied panic 'box_free language item is missing' #31477

Closed
@Lundbrik

Description

@Lundbrik

Running rustc 1.8.0-nightly (3623797eb 2016-02-07) while trying to compile Redox

error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'box_free language item is missing', ../src/libcore/option.rs:704
stack backtrace:
   1:     0x7fd35d13c850 - sys::backtrace::tracing::imp::write::he15d7b3364c6e91ettu
   2:     0x7fd35d1443bb - panicking::default_handler::_$u7b$$u7b$closure$u7d$$u7d$::closure.43190
   3:     0x7fd35d143f13 - panicking::default_handler::hd4b9dd3c40d2e5f3fWy
   4:     0x7fd35d10ddfc - sys_common::unwind::begin_unwind_inner::h63382e2c0ae54a7diit
   5:     0x7fd35d10e898 - sys_common::unwind::begin_unwind_fmt::h0a6a5420714a72c0oht
   6:     0x7fd35d13a351 - rust_begin_unwind
   7:     0x7fd35d18adbf - panicking::panic_fmt::h1951bd5aee0da5596YL
   8:     0x7fd35d1aa8c4 - option::expect_failed::h9cc346d7ce275f32ftO
   9:     0x7fd35b323e1a - build::scope::Builder<'a, 'tcx>::diverge_cleanup::h5ea749b11c66ba65Had
  10:     0x7fd35b302b80 - build::scope::Builder<'a, 'tcx>::pop_scope::h7568796be110735ff0c
  11:     0x7fd35b31df14 - build::expr::into::Builder<'a, 'tcx>::into_expr::h7a0c025e98fb02bc57a
  12:     0x7fd35b31811c - build::expr::as_rvalue::Builder<'a, 'tcx>::expr_as_rvalue::_$u7b$$u7b$closure$u7d$$u7d$::closure.19089
  13:     0x7fd35b30f59d - build::expr::as_rvalue::Builder<'a, 'tcx>::expr_as_rvalue::h369a28f5cfcac23foCa
  14:     0x7fd35b31d723 - build::expr::into::Builder<'a, 'tcx>::into_expr::h7a0c025e98fb02bc57a
  15:     0x7fd35b3062ae - build::into::ExprRef<'tcx>.EvalInto<'tcx>::eval_into::h374a28606d32aa0f9pb
  16:     0x7fd35b31df03 - build::expr::into::Builder<'a, 'tcx>::into_expr::h7a0c025e98fb02bc57a
  17:     0x7fd35b3062ae - build::into::ExprRef<'tcx>.EvalInto<'tcx>::eval_into::h374a28606d32aa0f9pb
  18:     0x7fd35b303ca9 - build::block::Builder<'a, 'tcx>::ast_block::hd0f0337c8ad9f41aCka
  19:     0x7fd35b2ff628 - build::construct::h90612f4a0cd2dacadca
  20:     0x7fd35b34955e - mir_map::InnerDump<'a, 'm, 'tcx>.Visitor<'tcx>::visit_fn::h33270291c27d9d1bnqg
  21:     0x7fd35b350e67 - mir_map::OuterDump<'a, 'tcx>.Visitor<'tcx>::visit_impl_item::h42dd307c5851c990Pog
  22:     0x7fd35b3479a1 - mir_map::OuterDump<'a, 'tcx>.Visitor<'tcx>::visit_item::h4fe9ad6dd68a9befyng
  23:     0x7fd35b3469eb - mir_map::build_mir_for_crate::h560c842fe7acd737Ilg
  24:     0x7fd35d6548bf - driver::phase_3_run_analysis_passes::_$u7b$$u7b$closure$u7d$$u7d$::closure.27872
  25:     0x7fd35d6507ae - middle::ty::context::ctxt<'tcx>::create_and_enter::h11600905232178369135
  26:     0x7fd35d64c903 - driver::phase_3_run_analysis_passes::h18126472581767654397
  27:     0x7fd35d620038 - driver::compile_input::hfa329d5d8fe427ccBca
  28:     0x7fd35d6103b8 - run_compiler::hdaf245d1b59a9fc0QGc
  29:     0x7fd35d60d8a1 - sys_common::unwind::try::try_fn::h5118579457423020331
  30:     0x7fd35d13a2db - __rust_try
  31:     0x7fd35d13281d - sys_common::unwind::inner_try::hc860e6d6d8228b31kft
  32:     0x7fd35d60e0f0 - boxed::F.FnBox<A>::call_box::h9365687296754034372
  33:     0x7fd35d142980 - sys::thread::Thread::new::thread_start::h40f537715d102aa8zTx
  34:     0x7fd35594a4a3 - start_thread
  35:     0x7fd35cdc313c - clone
  36:                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