Skip to content

Internal compiler error - compiling igd #32547

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

Closed
ustulation opened this issue Mar 28, 2016 · 1 comment
Closed

Internal compiler error - compiling igd #32547

ustulation opened this issue Mar 28, 2016 · 1 comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@ustulation
Copy link

Normal compile of igd crate with current nightly:

$ rustc --version && cargo --version
rustc 1.9.0-nightly (d5a91e695 2016-03-26)
cargo 0.10.0-nightly (25e1301 2016-03-25)

gives:

   Compiling igd v0.4.2
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 'assertion failed: declare::get_defined_value(ccx, &symbol).is_none()', ../src/librustc_trans/monomorphize.rs:94
stack backtrace:
   1:     0x7fb019701300 - std::sys::backtrace::tracing::imp::write::h63529ecac330b5bc
   2:     0x7fb01970e9db - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h0e99487804ecdaa3
   3:     0x7fb01970e577 - std::panicking::default_hook::h1f0a2403a716c4a6
   4:     0x7fb0196d22ff - std::sys_common::unwind::begin_unwind_inner::heae36551373e36bd
   5:     0x7fb01891afef - std::sys_common::unwind::begin_unwind::h422885d31fe250dc
   6:     0x7fb0189c2b8d - rustc_trans::callee::get_fn::h16d5e12c52696e18
   7:     0x7fb01896d920 - rustc_trans::callee::Callee::def::h6bfa8c0d18edb04c
   8:     0x7fb018a33597 - rustc_trans::glue::trans_struct_drop::h342318524db364ab
   9:     0x7fb018a30357 - rustc_trans::glue::get_drop_glue_core::ha9c0e47754271034
  10:     0x7fb0189dbbe5 - rustc_trans::glue::drop_ty_core::hf833c0eb521a39ed
  11:     0x7fb018a3478a - rustc_trans::base::iter_structural_ty::hcad56d80bbb4b302
  12:     0x7fb018a30457 - rustc_trans::glue::get_drop_glue_core::ha9c0e47754271034
  13:     0x7fb0189dbbe5 - rustc_trans::glue::drop_ty_core::hf833c0eb521a39ed
  14:     0x7fb018a3478a - rustc_trans::base::iter_structural_ty::hcad56d80bbb4b302
  15:     0x7fb018a30457 - rustc_trans::glue::get_drop_glue_core::ha9c0e47754271034
  16:     0x7fb0189dbbe5 - rustc_trans::glue::drop_ty_core::hf833c0eb521a39ed
  17:     0x7fb018a3478a - rustc_trans::base::iter_structural_ty::hcad56d80bbb4b302
  18:     0x7fb018a30457 - rustc_trans::glue::get_drop_glue_core::ha9c0e47754271034
  19:     0x7fb0189dbbe5 - rustc_trans::glue::drop_ty_core::hf833c0eb521a39ed
  20:     0x7fb0189da4b0 - _<cleanup..DropValue<'tcx> as cleanup..Cleanup<'tcx>>::trans::h012c5d4dc25d481b
  21:     0x7fb0189d9a57 - _<common..FunctionContext<'blk, 'tcx> as cleanup..CleanupHelperMethods<'blk, 'tcx>>::trans_cleanups_to_exit_scope::h25235d0ebda5e4a3
  22:     0x7fb0189db15b - _<common..FunctionContext<'blk, 'tcx> as cleanup..CleanupHelperMethods<'blk, 'tcx>>::get_or_create_landing_pad::h1b3312c7060bb49f
  23:     0x7fb018977133 - _<common..FunctionContext<'blk, 'tcx> as cleanup..CleanupMethods<'blk, 'tcx>>::get_landing_pad::h70c61d90463d8794
  24:     0x7fb018976d20 - rustc_trans::base::invoke::h4b34892eb6150166
  25:     0x7fb01896cb4a - rustc_trans::callee::Callee::call::h721e5fc65601b1ff
  26:     0x7fb018a203ee - rustc_trans::expr::trans_rvalue_dps_unadjusted::hd53c161e5ecd9e4f
  27:     0x7fb018996234 - rustc_trans::expr::trans_into::h0886054c82efd10c
  28:     0x7fb018a5a29d - rustc_trans::_match::mk_binding_alloca::hd19203cafc37a598
  29:     0x7fb01897832d - rustc_trans::base::init_local::h617967a698cd0329
  30:     0x7fb01898d794 - rustc_trans::controlflow::trans_block::h78eebe402333d4c3
  31:     0x7fb01898be37 - rustc_trans::base::trans_closure::hce4cad2baba38a75
  32:     0x7fb01898e380 - rustc_trans::base::trans_fn::he5c9f3096cef336c
  33:     0x7fb018998901 - rustc_trans::base::trans_item::h2e00a2a37f0adf00
  34:     0x7fb0189b23fb - _<base..TransItemsWithinModVisitor<'a, 'tcx> as rustc_front..intravisit..Visitor<'v>>::visit_item::h42989a4ea480287a
  35:     0x7fb0189b03f7 - rustc_front::intravisit::walk_item::h7a37cbc827b77b8a
  36:     0x7fb01899fc0f - rustc_trans::base::trans_crate::h5d7d0ab38cd208e7
  37:     0x7fb019c59078 - rustc_driver::driver::phase_4_translate_to_llvm::hc60a4fd01d59eaae
  38:     0x7fb019c57905 - rustc_driver::driver::compile_input::_$u7b$$u7b$closure$u7d$$u7d$::h96aedfca5f48d7d6
  39:     0x7fb019c544e8 - rustc_driver::driver::phase_3_run_analysis_passes::_$u7b$$u7b$closure$u7d$$u7d$::h1d5b5af335ae8126
  40:     0x7fb019c4e49b - rustc::ty::context::TyCtxt::create_and_enter::h2656c85b5a638887
  41:     0x7fb019c4af19 - rustc_driver::driver::phase_3_run_analysis_passes::h432eb92c0e12df32
  42:     0x7fb019c1d807 - rustc_driver::driver::compile_input::hb8958b270f32a505
  43:     0x7fb019c0b324 - rustc_driver::run_compiler::h146dabfc96bf3a5a
  44:     0x7fb019c088a1 - std::sys_common::unwind::try::try_fn::h847694ac14db1c2b
  45:     0x7fb0196fe95b - __rust_try
  46:     0x7fb0196fe8ed - std::sys_common::unwind::inner_try::h790ed072af125c7c
  47:     0x7fb019c090ea - _<F as alloc..boxed..FnBox<A>>::call_box::h64418c3ccdc3072e
  48:     0x7fb01970cba4 - std::sys::thread::Thread::new::thread_start::hdaf9c8e3f2f1c46e
  49:     0x7fb011847181 - start_thread
  50:     0x7fb01935947c - __clone
  51:                0x0 - <unknown>

error: Could not compile `igd`.

To learn more, run the command again with --verbose.
@sanxiyn sanxiyn added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Mar 28, 2016
@sanxiyn
Copy link
Member

sanxiyn commented Mar 28, 2016

Closing in favor of #32530.

@sanxiyn sanxiyn closed this as completed Mar 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

2 participants