Closed
Description
Code
Haven't minimized it yet, so I won't upload for now
Meta
rustc --version --verbose
:
rustc 1.61.0-nightly (1eb72580d 2022-03-08)
binary: rustc
commit-hash: 1eb72580d076935a3e590deb6e5813a5aef3eca4
commit-date: 2022-03-08
host: x86_64-unknown-linux-gnu
release: 1.61.0-nightly
LLVM version: 14.0.0
Error output
$ rustc --crate-name pipeline --edition=2021 pipeline/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 --cfg 'feature="default"' --cfg 'feature="encode"' --cfg 'feature="meshopt"' --cfg 'feature="naga"' --cfg 'feature="tobj"' --cfg 'feature="toml"' --cfg 'feature="walkdir"' --cfg 'feature="zip"' -C metadata=8d080d47cc91e1a3 -C extra-filename=-8d080d47cc91e1a3 --out-dir /home/lxb/Desktop/gametechII/target/release/deps -C strip=symbols -L dependency=/home/lxb/Desktop/gametechII/target/release/deps --extern anyhow=/home/lxb/Desktop/gametechII/target/release/deps/libanyhow-0907132c244a7d16.rlib --extern bincode=/home/lxb/Desktop/gametechII/target/release/deps/libbincode-59d69b60a94cd0a8.rlib --extern meshopt=/home/lxb/Desktop/gametechII/target/release/deps/libmeshopt-ab233d7cb12a9ef5.rlib --extern naga=/home/lxb/Desktop/gametechII/target/release/deps/libnaga-17a213fab00b105b.rlib --extern pipeline=/home/lxb/Desktop/gametechII/target/release/deps/libpipeline-1ea559d5b50a99ba.rlib --extern rustc_hash=/home/lxb/Desktop/gametechII/target/release/deps/librustc_hash-06c943fd5e9aa852.rlib --extern serde=/home/lxb/Desktop/gametechII/target/release/deps/libserde-2d1fca6f1c6c7901.rlib --extern tobj=/home/lxb/Desktop/gametechII/target/release/deps/libtobj-2d9a0cfef41943a1.rlib --extern toml=/home/lxb/Desktop/gametechII/target/release/deps/libtoml-39b18f28d95bb95a.rlib --extern walkdir=/home/lxb/Desktop/gametechII/target/release/deps/libwalkdir-0a94a00271779b0e.rlib --extern zip=/home/lxb/Desktop/gametechII/target/release/deps/libzip-07fc1fd0f37015da.rlib -C target-cpu=native -L native=/home/lxb/Desktop/gametechII/target/release/build/meshopt-aff48a42427289c7/out
{"artifact":"/home/lxb/Desktop/gametechII/target/release/deps/pipeline-8d080d47cc91e1a3.d","emit":"dep-info"}
zsh: floating point exception (core dumped) rustc --crate-name pipeline --edition=2021 pipeline/src/main.rs --crate-typ
Coredump info
PID: 39711 (rustc)
UID: 1000 (lxb)
GID: 1000 (lxb)
Signal: 8 (FPE)
Timestamp: Wed 2022-03-09 18:41:42 NZDT (3min 4s ago)
Command Line: /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name pipeline --edition=2021 pipeline/src/main.rs --error-format=json --json=diagnostic-rendered-a>
Executable: /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (lxb)
Boot ID: b36f276488334d8b9e64dc716732839c
Machine ID: 02f67d9f7a6f4981b48e4cb2d15a2082
Hostname: lxbpad
Storage: /var/lib/systemd/coredump/core.rustc.1000.b36f276488334d8b9e64dc716732839c.39711.1646804502000000.zst (present)
Disk Size: 49.1M
Message: Process 39711 (rustc) of user 1000 dumped core.
Module /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc without build-id.
Module /home/lxb/Desktop/gametechII/target/release/deps/libthiserror_impl-2baecec3532f848a.so with build-id 5c99cbec1d0e5fcc4a355acdfcb76e6f768144a8
Module /home/lxb/Desktop/gametechII/target/release/deps/libfailure_derive-4e70176e4bd966fa.so with build-id a7a017a3b6c376fe58289b38946c67bb6b8cba2b
Module /home/lxb/Desktop/gametechII/target/release/deps/libserde_derive-aad463e82827f1c7.so with build-id 14b9f6c243574f502a6e078890bae2574e065ec9
Module linux-vdso.so.1 with build-id bf4ed7d70241039dd0fc7f51de8118e93bf3af20
Module libz.so.1 with build-id 0c1459c56513efd5d53eb3868290e9afee6a6a26
Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
Module librt.so.1 with build-id 4761858b348db8303e872e515aa8d56c046c921c
Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
Stack trace of thread 39736:
#0 0x00007ff283c44916 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Backtrace
#0 0x00007ffff1c44916 in llvm::LoopVectorizationCostModel::selectInterleaveCount(llvm::ElementCount, unsigned int) ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#1 0x00007ffff1c2c0cf in llvm::LoopVectorizePass::processLoop(llvm::Loop*) ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#2 0x00007ffff1c2b36f in llvm::LoopVectorizePass::runImpl(llvm::Function&, llvm::ScalarEvolution&, llvm::LoopInfo&, llvm::TargetTransformInfo&, llvm::DominatorTree&, llvm::BlockFrequencyInfo&, llvm::TargetLibraryInfo*, llvm::DemandedBits&, llvm::AAResults&, llvm::AssumptionCache&, std::function<llvm::LoopAccessInfo const& (llvm::Loop&)>&, llvm::OptimizationRemarkEmitter&, llvm::ProfileSummaryInfo*) () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#3 0x00007ffff1c2af12 in llvm::LoopVectorizePass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#4 0x00007ffff1c2abed in llvm::detail::PassModel<llvm::Function, llvm::LoopVectorizePass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#5 0x00007ffff0e891b9 in llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManager<llvm::Function>>, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#6 0x00007ffff1d767b9 in llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#7 0x00007ffff1d7647d in llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#8 0x00007ffff1bf2ad4 in llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/../lib/libLLVM-14-rust-1.61.0-nightly.so
#9 0x00007ffff65e9841 in LLVMRustOptimizeWithNewPassManager () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#10 0x00007ffff65d8d88 in rustc_codegen_llvm::back::write::optimize_with_new_llvm_pass_manager ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#11 0x00007ffff659cca8 in rustc_codegen_llvm::back::lto::run_pass_manager () from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#12 0x00007ffff47efebf in <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::write::WriteBackendMethods>::run_lto_pass_manager ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#13 0x00007ffff65c68a6 in <rustc_codegen_ssa::back::lto::LtoModuleCodegen<rustc_codegen_llvm::LlvmCodegenBackend>>::optimize ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#14 0x00007ffff65712c2 in rustc_codegen_ssa::back::write::execute_work_item::<rustc_codegen_llvm::LlvmCodegenBackend> ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#15 0x00007ffff6591732 in std::sys_common::backtrace::__rust_begin_short_backtrace::<<rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::spawn_named_thread<rustc_codegen_ssa::back::write::spawn_work<rustc_codegen_llvm::LlvmCodegenBackend>::{closure#0}, ()>::{closure#0}, ()> ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#16 0x00007ffff6580bc7 in <<std::thread::Builder>::spawn_unchecked_<<rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_ssa::traits::backend::ExtraBackendMethods>::spawn_named_thread<rustc_codegen_ssa::back::write::spawn_work<rustc_codegen_llvm::LlvmCodegenBackend>::{closure#0}, ()>::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} ()
from /home/lxb/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/../lib/librustc_driver-74fd03a38d82f654.so
#17 0x00007ffff3eab5b3 in alloc::boxed::{impl#44}::call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> ()
at /rustc/1eb72580d076935a3e590deb6e5813a5aef3eca4/library/alloc/src/boxed.rs:1854
#18 alloc::boxed::{impl#44}::call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> ()
at /rustc/1eb72580d076935a3e590deb6e5813a5aef3eca4/library/alloc/src/boxed.rs:1854
#19 std::sys::unix::thread::{impl#2}::new::thread_start () at library/std/src/sys/unix/thread.rs:108
#20 0x00007ffff3c835c2 in start_thread () from /usr/lib/libc.so.6
#21 0x00007ffff3d08584 in clone () from /usr/lib/libc.so.6
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Category: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Bugs identified for the LLVM ICE-breaker groupRelevant to the compiler team, which will review and decide on the PR/issue.