Rustc interrupted by SIGSEGV during cargo install

⚓ Rust    📅 2025-12-03    👤 surdeus    👁️ 2      

surdeus

Dear Rust Community,
i am quite new to Rust and during tinkering, i got the following error for multiple packages, while installing the 'gmail-mbox-analyzer':

error: rustc interrupted by SIGSEGV, printing backtrace

/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x3c07c6f) [0x7f280d207c6f]
/usr/lib/libc.so.6(+0x3e4d0) [0x7f280923e4d0]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x610cfb1) [0x7f280f70cfb1]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x6108613) [0x7f280f708613]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RNvMs_NtNtCsfbyZax6SuR0_11rustc_parse6parser4itemNtB6_6Parser10parse_item+0xab) [0x7f280f7081ff]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x60ff49c) [0x7f280f6ff49c]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RNvXsw_NtCs7Lv0I8Snmue_12rustc_expand6expandNtNtNtB7_3mbe11macro_rules14ParserAnyMacroNtNtB7_4base9MacResult10make_items+0x1d) [0x7f280f6ff179]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RNvMs1_NtCs7Lv0I8Snmue_12rustc_expand6expandNtB5_13MacroExpander21fully_expand_fragment+0xdc8b) [0x7f2810049c8b]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RNvMs1_NtCs7Lv0I8Snmue_12rustc_expand6expandNtB5_13MacroExpander12expand_crate+0x2a9) [0x7f281003bb85]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x5f354ab) [0x7f280f5354ab]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RNvNtCsacStr0NwSFs_15rustc_interface6passes25resolver_for_lowering_raw+0x297) [0x7f280fd5272d]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x675248d) [0x7f280fd5248d]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x6752467) [0x7f280fd52467]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(_RINvNtNtCshBKIpCF9tPI_18rustc_query_system5query8plumbing17try_execute_queryINtCs3SUVlhOS8zf_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs4sc8cdRRml2_12rustc_middle5query5erase6ErasedAhj10_EEKb0_KB3t_KB3t_ENtNtB1f_8plumbing9QueryCtxtKB3t_EB1f_+0x21f) [0x7f280fb6205f]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x6561bbc) [0x7f280fb61bbc]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x66eea8e) [0x7f280fceea8e]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x66df83e) [0x7f280fcdf83e]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x65ea938) [0x7f280fbea938]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x65ea61c) [0x7f280fbea61c]
/home/yanni/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/librustc_driver-39b12c59623303e4.so(+0x65f0c6f) [0x7f280fbf0c6f]
/usr/lib/libc.so.6(+0x9698b) [0x7f280929698b]
/usr/lib/libc.so.6(+0x11a9cc) [0x7f280931a9cc]

note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal

This error occurs while compiling the following packages:

  • ppv-lite86
  • walkdir
  • synstructure

all the other crates compile as they should. As I am also quite new to Linux, I am totally clueless on what the cause might be and how to fix it. I would deeply apprechiate any help.

I am running the following Setup, which I regularly update:

Linux archpc 6.17.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 24 Nov 2025 15:21:09 +0000 x86_64 GNU/Linux
Arch Linux (Omarchy)
CPU: AMD Ryzen 7 3800X 8-Core x86_64
RAM: 32GB DDR4

rustc:
rustc 1.91.1 (ed61e7d7e 2025-11-07)
host: x86_64-unknown-linux-gnu
release: 1.91.1
LLVM version: 21.1.2

cargo:
cargo 1.91.1 (ea2d97820 2025-10-10)
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.15.0-DEV (sys:0.4.83+curl-8.15.0 vendored ssl:OpenSSL/3.5.2)
ssl: OpenSSL 3.5.2 5 Aug 2025
os: Arch Linux Rolling Release [64-bit]

cc (GCC) 15.2.1 20251112
gcc (GCC) 15.2.1 20251112
ldd (GNU libc) 2.42

Thank you in advance!

1 post - 1 participant

Read full topic

🏷️ Rust_feed