Skip to content

ICE: this appears kind of randomly #139266

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
kakserpom opened this issue Apr 2, 2025 · 1 comment
Closed

ICE: this appears kind of randomly #139266

kakserpom opened this issue Apr 2, 2025 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@kakserpom
Copy link

This happens on both stable and nightly.

thread 'rustc' panicked at /rustc/e2014e876e3efaa69bf51c19579adb16c3df5f81/compiler/rustc_query_system/src/dep_graph/serialized.rs:260:21:
Error: A dep graph node (trait_impls_of) does not have an unique index. Running a clean build on a nightly compiler with `-Z incremental-verify-ich` can help narrow down the issue for reporting. A clean build may also work around the issue.

                     DepNode: DepKind { variant: 166 }(43604c87b1f4fe6-4c2a007affd76e85)
stack backtrace:
   0:        0x1128d8a2c - std::backtrace::Backtrace::create::hfd4d14a142a5f22c
   1:        0x110a8d390 - std[7444a97848520358]::panicking::update_hook::<alloc[f1cdf0f985f0b5f9]::boxed::Box<rustc_driver_impl[32c704770e47b2ec]::install_ice_hook::{closure#1}>>::{closure#0}
   2:        0x1128f5c38 - std::panicking::rust_panic_with_hook::h235342a711191fb0
   3:        0x1128f582c - std::panicking::begin_panic_handler::{{closure}}::hb3d2c550177fd648
   4:        0x1128f0fe0 - std::sys::backtrace::__rust_end_short_backtrace::hfc52eeac925f8b4f
   5:        0x1128f54f4 - __rustc[e22706cb8dde8ca2]::rust_begin_unwind
   6:        0x11554bf40 - core::panicking::panic_fmt::h16a713b562b30a31
   7:        0x1111ee2c8 - rustc_incremental[7c2229126dd19e72]::persist::load::setup_dep_graph
   8:        0x110a403a0 - rustc_interface[f8b659a77d8e7d5b]::passes::create_and_enter_global_ctxt::<core[43604c87b1f4fe6]::option::Option<rustc_interface[f8b659a77d8e7d5b]::queries::Linker>, rustc_driver_impl[32c704770e47b2ec]::run_compiler::{closure#0}::{closure#2}>
   9:        0x110a919e4 - rustc_interface[f8b659a77d8e7d5b]::interface::run_compiler::<(), rustc_driver_impl[32c704770e47b2ec]::run_compiler::{closure#0}>::{closure#1}
  10:        0x110ab89dc - <rayon_core[bc4b0229777ec089]::job::StackJob<rayon_core[bc4b0229777ec089]::latch::LatchRef<rayon_core[bc4b0229777ec089]::latch::LockLatch>, <rayon_core[bc4b0229777ec089]::registry::Registry>::in_worker_cold<<rayon_core[bc4b0229777ec089]::thread_pool::ThreadPool>::install<rustc_interface[f8b659a77d8e7d5b]::util::run_in_thread_pool_with_globals<rustc_interface[f8b659a77d8e7d5b]::interface::run_compiler<(), rustc_driver_impl[32c704770e47b2ec]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#3}::{closure#0}::{closure#1}::{closure#0}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> as rayon_core[bc4b0229777ec089]::job::Job>::execute
  11:        0x11555dcc8 - <rayon_core[bc4b0229777ec089]::registry::WorkerThread>::wait_until_cold
  12:        0x110100848 - <rayon_core[bc4b0229777ec089]::registry::ThreadBuilder>::run
  13:        0x110a96580 - <<crossbeam_utils[1c7487a9db4c29d]::thread::ScopedThreadBuilder>::spawn<<rayon_core[bc4b0229777ec089]::ThreadPoolBuilder>::build_scoped<rustc_interface[f8b659a77d8e7d5b]::util::run_in_thread_pool_with_globals<rustc_interface[f8b659a77d8e7d5b]::interface::run_compiler<(), rustc_driver_impl[32c704770e47b2ec]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#3}::{closure#0}::{closure#0}, rustc_interface[f8b659a77d8e7d5b]::util::run_in_thread_pool_with_globals<rustc_interface[f8b659a77d8e7d5b]::interface::run_compiler<(), rustc_driver_impl[32c704770e47b2ec]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#3}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#0} as core[43604c87b1f4fe6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  14:        0x110a803b8 - std[7444a97848520358]::sys::backtrace::__rust_begin_short_backtrace::<alloc[f1cdf0f985f0b5f9]::boxed::Box<dyn core[43604c87b1f4fe6]::ops::function::FnOnce<(), Output = ()> + core[43604c87b1f4fe6]::marker::Send>, ()>
  15:        0x110a955d0 - <<std[7444a97848520358]::thread::Builder>::spawn_unchecked_<alloc[f1cdf0f985f0b5f9]::boxed::Box<dyn core[43604c87b1f4fe6]::ops::function::FnOnce<(), Output = ()> + core[43604c87b1f4fe6]::marker::Send>, ()>::{closure#1} as core[43604c87b1f4fe6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  16:        0x1128f9c18 - std::sys::pal::unix::thread::Thread::new::thread_start::h2844b9d98f687a2c
  17:        0x19f0d72e4 - __pthread_deallocate


rustc version: 1.88.0-nightly (e2014e876 2025-04-01)
platform: aarch64-apple-darwin
@kakserpom kakserpom added the C-bug Category: This is a bug. label Apr 2, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 2, 2025
@naskya
Copy link
Contributor

naskya commented Apr 2, 2025

Duplicate of #139110

@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

5 participants