Skip to content

1.99 beta crater regression: SIGSEGV in LLVM in release mode #162348

Closed

Description

@theemathas

This regression was found by the 1.99 crater --release mode run.

This crash presumably only happens when optimization is turned on.

[INFO] [stderr] error: rustc interrupted by SIGILL, printing backtrace
[INFO] [stderr] 
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x3e634bc) [0x7d3cfb6634bc]
[INFO] [stderr] /usr/lib/x86_64-linux-gnu/libc.so.6(+0x45cb0) [0x7d3cf7624cb0]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(+0x9de019c) [0x7d3cf63e019c]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm3EVT6getEVTEPNS_4TypeEb+0x68) [0x7d3cf540136a]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(+0xa0eef10) [0x7d3cf66eef10]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(+0x92fcbc7) [0x7d3cf58fcbc7]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(+0x92fc24b) [0x7d3cf58fc24b]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm13slpvectorizer7BoUpSLP12buildTreeRecENS_8ArrayRefIPNS_5ValueEEEjRKNS1_8EdgeInfoEj+0x1593) [0x7d3cf579a013]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm13slpvectorizer7BoUpSLP12buildTreeRecENS_8ArrayRefIPNS_5ValueEEEjRKNS1_8EdgeInfoEj+0x14b6) [0x7d3cf5799f36]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm17SLPVectorizerPass18tryToVectorizeListENS_8ArrayRefIPNS_5ValueEEERNS_13slpvectorizer7BoUpSLPEbb+0x5e5) [0x7d3cf57bb5ef]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(+0x91b7813) [0x7d3cf57b7813]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm17SLPVectorizerPass22vectorizeChainsInBlockEPNS_10BasicBlockERNS_13slpvectorizer7BoUpSLPE+0x1354) [0x7d3cf57c10e2]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm17SLPVectorizerPass7runImplERNS_8FunctionEPNS_15ScalarEvolutionEPNS_19TargetTransformInfoEPNS_17TargetLibraryInfoEPNS_9AAResultsEPNS_8LoopInfoEPNS_13DominatorTreeEPNS_15AssumptionCacheEPNS_12DemandedBitsEPNS_25OptimizationRemarkEmitterE+0xc2a) [0x7d3cf5a19c2a]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm17SLPVectorizerPass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE+0x1d9) [0x7d3cf5a18f71]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0xf4f) [0x7d3cf5405c4f]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x2f6) [0x7d3cf54daf10]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/libLLVM.so.23.1-rust-1.99.0-beta(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3_+0x1c9) [0x7d3cf5a9e865]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x692242f) [0x7d3cfe12242f]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x67e7d60) [0x7d3cfdfe7d60]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x67e769c) [0x7d3cfdfe769c]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(_RNvXs1_Csdfnn0gXJnUL_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCsaFYWXniHX82_17rustc_codegen_ssa6traits5write19WriteBackendMethods28optimize_and_codegen_fat_lto+0x1383) [0x7d3cfb4b59c3]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(_RNvXs3_Csdfnn0gXJnUL_18rustc_codegen_llvmNtB5_18LlvmCodegenBackendNtNtNtCsaFYWXniHX82_17rustc_codegen_ssa6traits7backend14CodegenBackend12join_codegen+0xb8a) [0x7d3cfe145c4a]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(_RNvMNtCseLPEe1AGWMo_15rustc_interface7queriesNtB2_6Linker4link+0x120) [0x7d3cfe16dd20]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x69680c0) [0x7d3cfe1680c0]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x6933524) [0x7d3cfe133524]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x69332ed) [0x7d3cfe1332ed]
[INFO] [stderr] /opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/lib/librustc_driver-79a971bcf6a44f3b.so(+0x69d1ec7) [0x7d3cfe1d1ec7]
[INFO] [stderr] /usr/lib/x86_64-linux-gnu/libc.so.6(+0xa407a) [0x7d3cf768307a]
[INFO] [stderr] /usr/lib/x86_64-linux-gnu/libc.so.6(__clone+0x44) [0x7d3cf7716534]
[INFO] [stderr] 
[INFO] [stderr] note: we would appreciate a report at https://github.com/rust-lang/rust
[INFO] [stderr] note: backtrace dumped due to SIGILL! resuming signal
[INFO] [stderr] error: could not compile `nnnhl2` (bin "nnnhl2"); 5 warnings emitted

Activity

  1. added
    I-crash
    A-LLVM
    T-compiler
    regression-from-stable-to-beta
    C-bug
    E-needs-bisection
    E-needs-mcve
    on Sep 6, 2026
  2. added
    needs-triage
    I-prioritize
    on Sep 6, 2026
  3. self-assigned this
    on Sep 7, 2026
  4. removed
    I-prioritize
    on Sep 7, 2026
  5. added
    llvm-fixed-upstream
    and removed
    E-needs-bisection
    E-needs-mcve
    on Sep 7, 2026
  6. added a commit that references this issue on Sep 8, 2026
  7. removed
    needs-triage
    on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-LLVMC-bugI-crashT-compilerllvm-fixed-upstreamregression-from-stable-to-beta

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions