Skip to content
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

Compiler bug with rustc 1.3.0-nightly (e4e93196e 2015-07-14) #27128

Closed
andrewrynhard opened this issue Jul 19, 2015 · 2 comments
Closed

Compiler bug with rustc 1.3.0-nightly (e4e93196e 2015-07-14) #27128

andrewrynhard opened this issue Jul 19, 2015 · 2 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@andrewrynhard
Copy link

Got the following with rustc 1.3.0-nightly (e4e93196e 2015-07-14):

thread 'rustc' panicked at 'index out of bounds: the len is 92 but the index is 530', ../src/libcollections/vec.rs:1376

stack backtrace:
   1:        0x108cda785 - sys::backtrace::write::ha27d712b848aedc4Eos
   2:        0x108ce3623 - panicking::on_panic::h9f9b299259faeda5FMw
   3:        0x108c9e7d2 - rt::unwind::begin_unwind_inner::h34588507fea4f430Ruw
   4:        0x108c9f529 - rt::unwind::begin_unwind_fmt::haf01b18ac46172faXtw
   5:        0x108ce31ac - rust_begin_unwind
   6:        0x108d390c5 - panicking::panic_fmt::hc126a8e23373fbe7neC
   7:        0x108d33885 - panicking::panic_bounds_check::hb60c81cc5e896646tdC
   8:        0x10d7dd9b7 - util::interner::StrInterner::get::h0d156d7255eec8e6Fpa
   9:        0x10cd601a4 - parse::token::get_name::hf3a8b6aa848c01f6YhT
  10:        0x10cd60318 - parse::token::get_ident::h64f49d6a7635d4a6fiT
  11:        0x10cd602cc - str::ast..Ident.ToInternedString::to_interned_string::h27524193f120463fpgd
  12:        0x10cd0b3d4 - lit::LitBuilder<F>::str::h16932437580182282577
  13:        0x10cd0b315 - expr::ExprBuilder<F>::str::h10638076658584097525
  14:        0x10cd0b063 - mk_ident::h57dcfd95b90bc1a9Yia
  15:        0x10cd13ce7 - expr_mk_token::h8464f71362c20d78Cla
  16:        0x10cd184a8 - statements_mk_tt::h82cbd42aaa129c88BAa
  17:        0x10cd20ebe - statements_mk_tt::closure.5800
  18:        0x10cd20e4d - iter::FlatMap<I, U, F>.Iterator::next::closure.5795
  19:        0x10cd20dad - option::Option<T>::map::h9093158901216659453
  20:        0x10cd20b3d - iter::FlatMap<I, U, F>.Iterator::next::h8624911823128048929
  21:        0x10cd208ed - iter::Chain<A, B>.Iterator::next::h10676655908075211979
  22:        0x10cd207d1 - iter::Chain<A, B>.Iterator::next::h9582151229258949578
  23:        0x10cd21e64 - vec::Vec<T>::extend_desugared::h14745237349438028820
  24:        0x10cd20491 - vec::Vec<T>.FromIterator<T>::from_iter::h6485152965649870697
  25:        0x10cd2000b - iter::Iterator::collect::h13764907519912799051
  26:        0x10cd193cf - statements_mk_tt::h82cbd42aaa129c88BAa
  27:        0x10cd0563d - statements_mk_tts::ha4048dd6d1197cb1ZJa
  28:        0x10cce7772 - expand_tts::he032065624fa8f09QKa
  29:        0x10cd0097b - expand_parse_call::h0f12375ba44ebfdfHMa
  30:        0x10cd01ad3 - expand_quote_expr::h2c4b3ba1b22db5e1Oba
  31:        0x10d225fee - ext::base::F.TTMacroExpander::expand::h5495955271595923710
  32:        0x10676878b - ext::expand::expand_expr::closure.64844
  33:        0x106763e00 - ext::expand::expand_expr::h2b5e967d807b47e6lcb
  34:        0x1067bccde - ext::expand::expand_block_elts::closure.65564
  35:        0x1067bb03e - ext::expand::expand_block_elts::closure.65545
  36:        0x1067773aa - ext::expand::expand_block_elts::h013006511110f54c2Xb
  37:        0x1067baa52 - ext::expand::expand_block::hfc6b139e03899cd2nXb
  38:        0x10676d424 - fold::noop_fold_expr::h12823172565926321654
  39:        0x106764002 - ext::expand::expand_expr::closure.64844
  40:        0x106763e00 - ext::expand::expand_expr::h2b5e967d807b47e6lcb
  41:        0x1067b6650 - ext::expand::expand_arm::h8bc606586a91b54fGSb
  42:        0x10676d088 - fold::noop_fold_expr::h12823172565926321654
  43:        0x106764002 - ext::expand::expand_expr::closure.64844
  44:        0x106763e00 - ext::expand::expand_expr::h2b5e967d807b47e6lcb
  45:        0x1067bccde - ext::expand::expand_block_elts::closure.65564
  46:        0x1067bb03e - ext::expand::expand_block_elts::closure.65545
  47:        0x1067773aa - ext::expand::expand_block_elts::h013006511110f54c2Xb
  48:        0x1067baa52 - ext::expand::expand_block::hfc6b139e03899cd2nXb
  49:        0x106776cc8 - ext::expand::expand_and_rename_fn_decl_and_block::hc0aeb4ffe53959e4rrc
  50:        0x1067e2797 - ext::expand::expand_and_rename_method::h8bd674f1e063879aLsc
  51:        0x1067e775d - ext::expand::expand_impl_item::closure.65963
  52:        0x1067e4025 - ext::expand::expand_impl_item::hcea63c25dfd07abcaoc
  53:        0x10677ab0a - ext::expand::expand_annotatable::hc164da9b36b4e074o8b
  54:        0x10678a17f - ext::expand::MacroExpander<'a, 'b>.Folder::fold_impl_item::h591819c2d96b3d5chwc
  55:        0x106789bfc - iter::FlatMap<I, U, F>.Iterator::next::h8480313912971328337
  56:        0x106789f26 - vec::Vec<T>::extend_desugared::h9334519312446853081
  57:        0x106788c27 - iter::Iterator::collect::h11962340255911550428
  58:        0x10677f6a4 - ext::expand::expand_item_underscore::h034d11d80e881f2awBb
  59:        0x1067e1864 - fold::Folder::fold_item_simple::h3863022252268693635
  60:        0x1067e1433 - ptr::P<T>::map::h9484354732436644953
  61:        0x10677b7ed - ext::expand::expand_annotatable::hc164da9b36b4e074o8b
  62:        0x106777531 - ext::expand::expand_item::hd02b92485bd153d2VAb
  63:        0x10678449a - iter::FlatMap<I, U, F>.Iterator::next::h6967991940060654415
  64:        0x106783457 - vec::Vec<T>.FromIterator<T>::from_iter::h2766201999764937737
  65:        0x106782b6f - fold::noop_fold_mod::h8301720223478985846
  66:        0x10677eab0 - ext::expand::expand_item_underscore::h034d11d80e881f2awBb
  67:        0x1067e1864 - fold::Folder::fold_item_simple::h3863022252268693635
  68:        0x1067e1433 - ptr::P<T>::map::h9484354732436644953
  69:        0x10677c26d - ext::expand::expand_annotatable::hc164da9b36b4e074o8b
  70:        0x106777531 - ext::expand::expand_item::hd02b92485bd153d2VAb
  71:        0x10678fb44 - iter::FlatMap<I, U, F>.Iterator::next::h10874377777159552555
  72:        0x10678ebb7 - util::small_vector::SmallVector<T>.FromIterator<T>::from_iter::h15520693241561571317
  73:        0x10678da5b - ext::expand::expand_item_mac::h39a0b8bc4c712b30XDb
  74:        0x10677b1f7 - ext::expand::expand_annotatable::hc164da9b36b4e074o8b
  75:        0x106777531 - ext::expand::expand_item::hd02b92485bd153d2VAb
  76:        0x10678449a - iter::FlatMap<I, U, F>.Iterator::next::h6967991940060654415
  77:        0x106783457 - vec::Vec<T>.FromIterator<T>::from_iter::h2766201999764937737
  78:        0x106782b6f - fold::noop_fold_mod::h8301720223478985846
  79:        0x10677eab0 - ext::expand::expand_item_underscore::h034d11d80e881f2awBb
  80:        0x1067e1864 - fold::Folder::fold_item_simple::h3863022252268693635
  81:        0x1067e1433 - ptr::P<T>::map::h9484354732436644953
  82:        0x10677c26d - ext::expand::expand_annotatable::hc164da9b36b4e074o8b
  83:        0x106777531 - ext::expand::expand_item::hd02b92485bd153d2VAb
  84:        0x1067eaaef - ext::expand::expand_crate::he3d8f1be207b73d2Wzc
  85:        0x105204292 - driver::phase_2_configure_and_expand::closure.21536
  86:        0x1051b47b2 - driver::phase_2_configure_and_expand::h1f4f33e76ff4a764ita
  87:        0x1051a316d - driver::compile_input::h407a10a539c7270cTba
  88:        0x105289d9f - run_compiler::hed8febc643a5bd02A7b
  89:        0x105287653 - boxed::F.FnBox<A>::call_box::h5082374284048568258
  90:        0x105286e17 - rt::unwind::try::try_fn::h4270298375276078235
  91:        0x108d71318 - rust_try_inner
  92:        0x108d71305 - rust_try
  93:        0x108ccccf5 - rt::unwind::try::inner_try::h9dc445b523024767Kqw
  94:        0x105287048 - boxed::F.FnBox<A>::call_box::h14263195620542072551
  95:        0x108ce20ad - sys::thread::Thread::new::thread_start::h235524d294e76343UOv
  96:     0x7fff9277fc8e - _pthread_body
  97:     0x7fff9277fc0b - _pthread_start

Could not compile `serde_codegen`.
@Stebalien
Copy link
Contributor

Related to #27125?

@steveklabnik steveklabnik added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Jul 20, 2015
@steveklabnik
Copy link
Member

Given that this is in serde_codegen, but with no version information, I cannot reproduce. @andrewrynhard please let me know if you are still seeing this today!

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

3 participants