Skip to content

SIGSEGV error on release build (nightly) #125354

Closed as not planned
Closed as not planned
@jnickg

Description

@jnickg

Code

Failure occurs on this commit of a crate I am working on when running cargo +nightly build --examples --release. Running cargo +stable build --examples --release works without issue

Meta

lscpu

Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          46 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   32
  On-line CPU(s) list:    0-31
Vendor ID:                GenuineIntel
  Model name:             Intel(R) Core(TM) i9-14900K
    CPU family:           6
    Model:                183
    Thread(s) per core:   2
    Core(s) per socket:   24
    Socket(s):            1
    Stepping:             1
    CPU(s) scaling MHz:   17%
    CPU max MHz:          6000.0000
    CPU min MHz:          800.0000
    BogoMIPS:             6376.00
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonsto
                          p_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowpr
                          efetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xge
                          tbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear
                           serialize pconfig arch_lbr ibt flush_l1d arch_capabilities
Virtualization features:  
  Virtualization:         VT-x
Caches (sum of all):      
  L1d:                    896 KiB (24 instances)
  L1i:                    1.3 MiB (24 instances)
  L2:                     32 MiB (12 instances)
  L3:                     36 MiB (1 instance)
NUMA:                     
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-31
Vulnerabilities:          
  Gather data sampling:   Not affected
  Itlb multihit:          Not affected
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Not affected
  Reg file data sampling: Mitigation; Clear Register File
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI BHI_DIS_S
  Srbds:                  Not affected
  Tsx async abort:        Not affected

rustc --version --verbose:

rustc 1.80.0-nightly (b1ec1bd65 2024-05-18)
binary: rustc
commit-hash: b1ec1bd65f89c1375d2cf2fb733a87ef390276d3
commit-date: 2024-05-18
host: x86_64-unknown-linux-gnu
release: 1.80.0-nightly
LLVM version: 18.1.4

Error output

See backtrace for more info

[<output>](error: rustc interrupted by SIGSEGV)
Backtrace

error: rustc interrupted by SIGSEGV, printing backtrace

/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x311c2c6)[0x74d06c11c2c6]
/usr/lib/libc.so.6(+0x3ce20)[0x74d068e58e20]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.80.0-nightly(+0x6013385)[0x74d067413385]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.80.0-nightly(+0x60109a2)[0x74d0674109a2]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.80.0-nightly(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0xa8f)[0x74d067135b0f]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.80.0-nightly(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x2f)[0x74d067134fc5]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libLLVM.so.18.1-rust-1.80.0-nightly(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x260)[0x74d06769df60]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(LLVMRustWriteOutputFile+0x190)[0x74d06e0b75d0]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x50b71e8)[0x74d06e0b71e8]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x50b4e6f)[0x74d06e0b4e6f]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x50b4b45)[0x74d06e0b4b45]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x50b2e5d)[0x74d06e0b2e5d]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/librustc_driver-19928b511f4c0fd8.so(+0x50b241b)[0x74d06e0b241b]
/home/jnickg/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/libstd-de48b8168d6cf4fa.so(rust_metadata_std_66d359a9a7bc158b+0xc378b)[0x74d06f68078b]
/usr/lib/libc.so.6(+0x8e1cf)[0x74d068eaa1cf]
/usr/lib/libc.so.6(+0x10f6ec)[0x74d068f2b6ec]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-defective-hardwareCategory: Issue that was filed as a possible software bug but is actually defective hardware

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions