Skip to content

ICE: assertion failed: (left == right) && (right == left) #23240

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
strega-nil opened this issue Mar 10, 2015 · 1 comment
Closed

ICE: assertion failed: (left == right) && (right == left) #23240

strega-nil opened this issue Mar 10, 2015 · 1 comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@strega-nil
Copy link
Contributor

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
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'assertion failed: `(left == right) && (right == left)` (left: `128`, right: `64`)', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/librustc_trans/trans/intrinsic.rs:186

stack backtrace:
   1:     0x7f699538e2f2 - sys::backtrace::write::hd861c9cad5664affQBA
   2:     0x7f69953b4342 - panicking::on_panic::h2d36a117ae395cb9jHJ
   3:     0x7f69952faa89 - rt::unwind::begin_unwind_inner::h020c424433824dc2mnJ
   4:     0x7f69952fae31 - rt::unwind::begin_unwind_fmt::h48257c008f84b3a8XlJ
   5:     0x7f6994a62adb - trans::intrinsic::trans_intrinsic_call::hc1d793d0a5ea2183XeC
   6:     0x7f6994a6d561 - trans::callee::trans_call_inner::h17056753389190948462
   7:     0x7f6994a77077 - trans::expr::trans_rvalue_dps_unadjusted::hbd2cd1fd54de27cayCi
   8:     0x7f6994a751bb - trans::expr::trans_unadjusted::h98b3a24d34abc9f436h
   9:     0x7f6994a370e0 - trans::expr::trans::h66ceb310b9edf1f9bwh
  10:     0x7f6994a6886b - trans::callee::trans_args::hf2cfa069a4970bdbG3g
  11:     0x7f6994a6de74 - trans::callee::trans_call_inner::h17056753389190948462
  12:     0x7f6994a77077 - trans::expr::trans_rvalue_dps_unadjusted::hbd2cd1fd54de27cayCi
  13:     0x7f6994a35bd6 - trans::expr::trans_into::hf1ef6b0748ac8f9eTph
  14:     0x7f6994a34f5e - trans::controlflow::trans_stmt_semi::h91aecc9fc3a8807dI6d
  15:     0x7f6994a3662d - trans::controlflow::trans_block::h47e6e8902755cf9cv7d
  16:     0x7f6994a7668a - trans::expr::trans_rvalue_dps_unadjusted::hbd2cd1fd54de27cayCi
  17:     0x7f6994a35bd6 - trans::expr::trans_into::hf1ef6b0748ac8f9eTph
  18:     0x7f6994a36987 - trans::controlflow::trans_block::h47e6e8902755cf9cv7d
  19:     0x7f6994af1ed0 - trans::base::trans_closure::h70b835bf44b08f62ent
  20:     0x7f6994a25f4b - trans::base::trans_fn::h88672d255f7695867xt
  21:     0x7f6994a2709d - trans::monomorphize::monomorphic_fn::h5456f629cfa11f62Oud
  22:     0x7f6994a476e7 - trans::glue::trans_struct_drop::hca0bf2ab407ff704XKe
  23:     0x7f6994a450c8 - trans::glue::trans_struct_drop_flag::hd2fdfa898dbd0abe5Ie
  24:     0x7f6994a3e229 - trans::glue::get_drop_glue::h995ee19a14e101b31De
  25:     0x7f6994a3d72d - trans::glue::drop_ty::h5b7f57924de7b3bdvAe
  26:     0x7f6994b60819 - trans::cleanup::DropValue<'tcx>.Cleanup<'tcx>::trans::h050e22dd6399d306nXK
  27:     0x7f6994a4ee1e - trans::cleanup::FunctionContext<'blk, 'tcx>.CleanupMethods<'blk, 'tcx>::pop_and_trans_custom_cleanup_scope::h4f8733d43bdc3f3cR0J
  28:     0x7f6994b0caa5 - trans::_match::trans_match_inner::hafede36b631dfe103Kw
  29:     0x7f6994a76659 - trans::expr::trans_rvalue_dps_unadjusted::hbd2cd1fd54de27cayCi
  30:     0x7f6994a35bd6 - trans::expr::trans_into::hf1ef6b0748ac8f9eTph
  31:     0x7f6994aa7477 - trans::expr::trans_adt::h14a93c84c8f05dc2i9i
  32:     0x7f6994aa97bd - trans::expr::trans_struct::closure.42081
  33:     0x7f6994a90b56 - trans::expr::trans_struct::h3a1b3fc07e83d801e5i
  34:     0x7f6994a76c07 - trans::expr::trans_rvalue_dps_unadjusted::hbd2cd1fd54de27cayCi
  35:     0x7f6994a35bd6 - trans::expr::trans_into::hf1ef6b0748ac8f9eTph
  36:     0x7f6994a36987 - trans::controlflow::trans_block::h47e6e8902755cf9cv7d
  37:     0x7f6994af1ed0 - trans::base::trans_closure::h70b835bf44b08f62ent
  38:     0x7f6994a25f4b - trans::base::trans_fn::h88672d255f7695867xt
  39:     0x7f6994a22819 - trans::base::trans_item::h1cf2dcffa3cf86bfZVt
  40:     0x7f6994af867c - trans::base::trans_crate::h88960ef764a955bcaSu
  41:     0x7f69959b2f92 - driver::phase_4_translate_to_llvm::h5d3ca9bd44c7f33agOa
  42:     0x7f699598e8ea - driver::compile_input::h124aae68147ae8b8Nba
  43:     0x7f6995a5315d - run_compiler::hffd5283ae5d6d3abG6b
  44:     0x7f6995a50ecc - thunk::F.Invoke<A, R>::invoke::h16438916220137010031
  45:     0x7f6995a4fb20 - rt::unwind::try::try_fn::h17325604874211535233
  46:     0x7f6995420118 - rust_try_inner
  47:     0x7f6995420105 - rust_try
  48:     0x7f6995a502ab - thunk::F.Invoke<A, R>::invoke::h5807416775295653773
  49:     0x7f69953a1b45 - sys::thread::thread_start::h2188587ec04914c6t8E
  50:     0x7f698f3ec181 - start_thread
  51:     0x7f6994f7347c - __clone
  52:                0x0 - <unknown>

Could not compile `handmade_libsdl`.

To learn more, run the command again with --verbose.

May be related to #23237

Check out the repo here.

@jdm jdm added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Mar 10, 2015
@strega-nil
Copy link
Contributor Author

Fixed in the latest rustc.

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