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

ICE: unexpected char in type string: 3 #19635

Closed
mark3982 opened this issue Dec 8, 2014 · 4 comments
Closed

ICE: unexpected char in type string: 3 #19635

mark3982 opened this issue Dec 8, 2014 · 4 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@mark3982
Copy link

mark3982 commented Dec 8, 2014

rustc 0.13.0-dev (dbc379a66 2014-12-03 18:52:48 +0000)
binary: rustc
commit-hash: dbc379a66eae8504b663b0032da518595335d872
commit-date: 2014-12-03 18:52:48 +0000
host: x86_64-unknown-linux-gnu
release: 0.13.0-dev
task 'rustc' panicked at 'unexpected char in type string: 3', /home/kmcguire/rustc/rust/src/librustc/metadata/tydecode.rs:494

stack backtrace:
   1:     0x7f5ffc6dec10 - rt::backtrace::imp::write::h4f8cab243d4bf3459ay
   2:     0x7f5ffc6e1ce0 - failure::on_fail::h8184c23095ded83fzDy
   3:     0x7f5ffc3334d0 - unwind::begin_unwind_inner::h69b9c407aca85ac16Qc
   4:     0x7f5ffc333100 - unwind::begin_unwind_fmt::hb629626de585edd9hOc
   5:     0x7f5ffb6e4f10 - metadata::tydecode::parse_ty::h95fd9d38a2b0ccd6twS
   6:     0x7f5ffb6ebfb0 - metadata::tydecode::parse_sig::hcd6db918f66f67d12mT
   7:     0x7f5ffb6e8b30 - metadata::tydecode::parse_bare_fn_ty::h10dffe58312f08db5lT
   8:     0x7f5ffb6e4f10 - metadata::tydecode::parse_ty::h95fd9d38a2b0ccd6twS
   9:     0x7f5ffb0256e0 - metadata::tydecode::parse_ty_data::hd248ff5bd17d9672CwR
  10:     0x7f5ffb1335c0 - middle::ty::lookup_item_type::h6c7f8b77da935e2dOh8
  11:     0x7f5ffb376160 - middle::typeck::check::polytype_for_def::hfdc8046ec823bc19DDr
  12:     0x7f5ffb36a5b0 - middle::typeck::check::check_expr_with_unifier::hf5814c4307d27fb9B5o
  13:     0x7f5ffb36a5b0 - middle::typeck::check::check_expr_with_unifier::hf5814c4307d27fb9B5o
  14:     0x7f5ffb3a3250 - middle::typeck::check::check_stmt::h9a0233bfe3fc01c3Z0q
  15:     0x7f5ffb321c20 - middle::typeck::check::check_block_with_expected::h52c0605dfe4e0370e5q
  16:     0x7f5ffb2f8000 - middle::typeck::check::check_fn::hf02151ade10aa90c1vl
  17:     0x7f5ffb31e5c0 - middle::typeck::check::check_bare_fn::ha6113d5dcdf600485kl
  18:     0x7f5ffb31a430 - middle::typeck::check::check_item::h885926f2b381f4degFl
  19:     0x7f5ffb31e250 - middle::typeck::check::check_item_types::h8aab310eb0ecde88fkl
  20:     0x7f5ffb6db7a0 - util::common::time::h5320206731541846924
  21:     0x7f5ffb6da9b0 - middle::typeck::check_crate::h39fe2ded900846b3w4O
  22:     0x7f5ffccfb440 - driver::driver::phase_3_run_analysis_passes::h323af9bb0040eedb5nS
  23:     0x7f5ffccf04b0 - driver::driver::compile_input::h94e361e56feb434c54R
  24:     0x7f5ffcd73bf0 - driver::run_compiler::h189ea58c9860c9e0l3T
  25:     0x7f5ffcd73ae0 - driver::run::closure.60788
  26:     0x7f5ffcb7a3c0 - task::TaskBuilder::try_future::closure.39745
  27:     0x7f5ffc6af870 - task::TaskBuilder::spawn_internal::closure.30919
  28:     0x7f5ffc3312a0 - task::Task::spawn::closure.5759
  29:     0x7f5ffc38d1e0 - rust_try_inner
  30:     0x7f5ffc38d1d0 - rust_try
  31:     0x7f5ffc331380 - unwind::try::h9c591d3345e5b658pFc
  32:     0x7f5ffc331140 - task::Task::run::h3e347c002326a21afOb
  33:     0x7f5ffc330d30 - task::Task::spawn::closure.5735
  34:     0x7f5ffc332780 - thread::thread_start::hec2f3b1aa0b9b9f3i6b
  35:     0x7f5ff71e3a80 - start_thread
  36:                0x0 - <unknown>
@huonw huonw added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Dec 8, 2014
@huonw
Copy link
Member

huonw commented Dec 8, 2014

Do you happen to have a code example that triggers this bug?

@lifthrasiir
Copy link
Contributor

In IRC @kmcguire3413 has provided a problematic repo: mark3982/kernel-rs@cbe4a49. I cannot reproduce the issue though (rustc 0.13.0-nightly (a31ad6bfc 2014-12-06 23:12:17 +0000)).

@tamird
Copy link
Contributor

tamird commented Apr 21, 2015

Needs a repro case

@steveklabnik
Copy link
Member

We haven't had a way to reproduce this in a long time. @kmcguire3413 , please let us know if this is still an issue, and send us some code, thank you!

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

5 participants