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: 'rustc' panicked at 'assertion failed: *start <= *end' #18586

Closed
jansegre opened this issue Nov 3, 2014 · 1 comment
Closed

ICE: 'rustc' panicked at 'assertion failed: *start <= *end' #18586

jansegre opened this issue Nov 3, 2014 · 1 comment

Comments

@jansegre
Copy link

jansegre commented Nov 3, 2014

I got an ICE while updating rust-protobuf to latest nightly rust (rustc 0.13.0-nightly (88b6e93d3 2014-10-31 23:36:48 +0000)), here's the backtrace:

   Compiling protobuf v0.0.1 (file:///Users/jan/Projects/rust-protobuf)
     Running `rustc src/lib/protobuf.rs --crate-name protobuf --crate-type lib -g -C metadata=6909f272933e7527 -C extra-filename=-6909f272933e7527 --out-dir /Users/jan/Projects/rust-protobuf/target --dep-info /Users/jan/Projects/rust-protobuf/target/.fingerprint/protobuf-6909f272933e7527/dep-lib-protobuf -L /Users/jan/Projects/rust-protobuf/target -L /Users/jan/Projects/rust-protobuf/target/deps`
task 'rustc' panicked at 'assertion failed: *start <= *end', /Users/rustbuild/src/rust-buildbot/slave/nightly-mac/build/src/libcore/slice.rs:396

stack backtrace:
   1:        0x109a0b619 - rt::backtrace::imp::write::h03fee16d4a0b6b41moq
   2:        0x109a0e85c - failure::on_fail::h3e0f6b3c6c4bbcc3VEq
   3:        0x109c6cf05 - unwind::begin_unwind_inner::h6c7f4532e72658d7SJd
   4:        0x109c6cb9f - unwind::begin_unwind_fmt::h9863b25c438d6314kHd
   5:        0x109c6c8f2 - rust_begin_unwind
   6:        0x109cc353c - panicking::panic_fmt::hc53a414d3d53805bi7j
   7:        0x109cb9f6f - panicking::panic::h5cf45d77d6cb56acm4j
   8:        0x106c0283b - middle::typeck::check::vtable::check_object_safety::h3ee32f70bc2a6910cvN
   9:        0x106c6cc5b - middle::typeck::check::FnCtxt<'a, 'tcx>::register_unsize_obligations::hcb6b97efb60320deqbX
  10:        0x106c6caf0 - middle::typeck::check::FnCtxt<'a, 'tcx>::register_autoref_obligations::hd570a6511af03072oaX
  11:        0x106c6cb11 - middle::typeck::check::FnCtxt<'a, 'tcx>::register_autoref_obligations::hd570a6511af03072oaX
  12:        0x106c48847 - middle::typeck::check::FnCtxt<'a, 'tcx>::write_adjustment::h33cb2b16f4b43377s7W
  13:        0x106c3988b - middle::typeck::check::FnCtxt<'a, 'tcx>::mk_assignty::h6874effc3ee97aa8hpX
  14:        0x106c39622 - middle::typeck::check::demand::coerce::h76915b0b074cd833BJR
  15:        0x106c9a109 - middle::typeck::check::check_expr_coercable_to_type::closure.132402
  16:        0x106c920f6 - middle::typeck::check::check_expr_with_unifier::h153e2ccf9b0cb061XCY
  17:        0x106c90501 - middle::typeck::check::check_argument_types::h6f5570c4fc68686bS3X
  18:        0x106c96bb4 - middle::typeck::check::check_expr_with_unifier::h153e2ccf9b0cb061XCY
  19:        0x106c5e2d1 - middle::typeck::check::check_block_with_expected::heb9a0fb2300c4559PJ0
  20:        0x106c59d42 - middle::typeck::check::check_fn::h0449d63e5b4f3e3a9oV
  21:        0x106c5926f - middle::typeck::check::check_bare_fn::hf2de12c52654551eoeV
  22:        0x106c60a10 - middle::typeck::check::check_method_body::h41f873f9bc8553cbhJV
  23:        0x106c5534b - middle::typeck::check::check_item::hfaeea23703d7dd28xyV
  24:        0x106c58942 - visit::Visitor::visit_mod::h5804396625110068135
  25:        0x106c57490 - visit::walk_item::h5035255892352898114
  26:        0x106c590ca - middle::typeck::check::check_item_types::haaff85b74e988d92ydV
  27:        0x10676f556 - util::common::time::h11920059333862041717
  28:        0x106f1959e - middle::typeck::check_crate::h50fcc5c8b39993f4LVn
  29:        0x106f81bcf - driver::driver::phase_3_run_analysis_passes::h1425a4ca465c7b097DA
  30:        0x106f7c2b8 - driver::driver::compile_input::h60bc42ef7fabbfd4SkA
  31:        0x106ff9ca8 - driver::run_compiler::h4031243f49082a9fw7D
  32:        0x106ff7ece - driver::run::closure.145349
  33:        0x10678781b - task::TaskBuilder<S>::try_future::closure.103709
  34:        0x106787713 - task::TaskBuilder<S>::spawn_internal::closure.103680
  35:        0x10670998d - task::NativeSpawner.Spawner::spawn::closure.8526
  36:        0x109cd320c - rust_try_inner
  37:        0x109cd31f6 - rust_try
  38:        0x109c6a677 - unwind::try::hab84862d0081b274cyd
  39:        0x109c6a50c - task::Task::run::h39093ecd59554b49ZJc
  40:        0x1067097b3 - task::NativeSpawner.Spawner::spawn::closure.8463
  41:        0x109c6bd37 - thread::thread_start::h589be8c0a398d299e5c
  42:     0x7fff89c842fc - _pthread_body
  43:     0x7fff89c84279 - _pthread_body

The code which led to this is available at jansegre/rust-protobuf#21e7e46

@ghost
Copy link

ghost commented Nov 3, 2014

Thanks for the report! Closing as a dupe of #18490, feel free to track that issue for progress on it (in fact, I believe a fix for it is just about to land).

@ghost ghost closed this as completed Nov 3, 2014
lnicola pushed a commit to lnicola/rust that referenced this issue Dec 11, 2024
fix: Fix debug configuration querying not inheriting environment
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant