-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-parallel-compilerArea: parallel compilerArea: parallel compilerC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Meta
environment variables
:
export RUSTFLAGS="-Z threads=8"
export RUST_BACKTRACE=full
rustc --version --verbose
:
rustc 1.75.0-nightly (0f44eb32f 2023-11-09)
binary: rustc
commit-hash: 0f44eb32f1123ac93ab404d74c295263ce468343
commit-date: 2023-11-09
host: aarch64-apple-darwin
release: 1.75.0-nightly
LLVM version: 17.0.4
Error output
thread '<unnamed>' panicked at compiler/rustc_query_system/src/query/job.rs:543:9:
deadlock detected
stack backtrace:
0: 0x1057e8270 - std::backtrace::Backtrace::create::hd93532a1a94bd2fd
1: 0x10ec06d38 - <alloc[e142c9bf9c63cfc4]::boxed::Box<rustc_driver_impl[1a98898d3f3a38ed]::install_ice_hook::{closure#0}> as core[4e0a19b8f4e7b450]::ops::function::Fn<(&dyn for<'a, 'b> core[4e0a19b8f4e7b450]::ops::function::Fn<(&'a core[4e0a19b8f4e7b450]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[4e0a19b8f4e7b450]::marker::Send + core[4e0a19b8f4e7b450]::marker::Sync, &core[4e0a19b8f4e7b450]::panic::panic_info::PanicInfo)>>::call
2: 0x10580016c - std::panicking::rust_panic_with_hook::h9625542414b348eb
3: 0x1057fff10 - std::panicking::begin_panic_handler::{{closure}}::hb4fa343c314105dc
4: 0x1057fd720 - std::sys_common::backtrace::__rust_end_short_backtrace::he263cec7b035e782
5: 0x1057ffcd0 - _rust_begin_unwind
6: 0x1058590b8 - core::panicking::panic_fmt::h624e311b541e9a0d
7: 0x110016c6c - rustc_query_system[2c5cf56d08163fd7]::query::job::deadlock
8: 0x10ec17a58 - std[f37625d93cba7df1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[6fd153b9b61224af]::util::run_in_thread_pool_with_globals<rustc_interface[6fd153b9b61224af]::interface::run_compiler<(), rustc_driver_impl[1a98898d3f3a38ed]::run_compiler::{closure#0}>::{closure#0}, ()>::{closure#2}::{closure#1}, ()>
9: 0x10ebe8cfc - <<std[f37625d93cba7df1]::thread::Builder>::spawn_unchecked_<rustc_interface[6fd153b9b61224af]::util::run_in_thread_pool_with_globals<rustc_interface[6fd153b9b61224af]::interface::run_compiler<core[4e0a19b8f4e7b450]::result::Result<(), rustc_span[7d3d88934d9d268]::ErrorGuaranteed>, rustc_driver_impl[1a98898d3f3a38ed]::run_compiler::{closure#1}>::{closure#0}, core[4e0a19b8f4e7b450]::result::Result<(), rustc_span[7d3d88934d9d268]::ErrorGuaranteed>>::{closure#2}::{closure#1}, ()>::{closure#1} as core[4e0a19b8f4e7b450]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
10: 0x105808368 - std::sys::unix::thread::Thread::new::thread_start::h6af77cae4d08b8df
11: 0x18d94b034 - __pthread_joiner_wake
rustc version: 1.75.0-nightly (0f44eb32f 2023-11-09)
platform: aarch64-apple-darwin
Metadata
Metadata
Assignees
Labels
A-parallel-compilerArea: parallel compilerArea: parallel compilerC-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
SparrowLii commentedon Nov 21, 2023
Could you provide the minimal example causes the ICE?
SparrowLii commentedon Nov 29, 2023
Can you reproduce this bug using the latest nightly version to get the new error output?
SparrowLii commentedon Dec 14, 2023
I think it has been fixed by #118488