Skip to content

rustc interrupted by SIGSEGV compiling h2 #136260

@brianheineman

Description

@brianheineman

I received the following error during a GitHub CI build on the new ubuntu-24.04-arm action runner (see: https://github.com/theseus-rs/file-type/actions/runs/13038890898/job/36376044518):

error: rustc interrupted by SIGSEGV, printing backtrace

/home/runner/.rustup/toolchains/1.84.0-aarch64-unknown-linux-gnu/bin/../lib/librustc_driver-bedc4a794a543ce8.so(+0xbf78ec)[0xff3b6d9f78ec]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xff3b76e247e0]

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
error: could not compile `h2` (lib)

Caused by:
  process didn't exit successfully: `/home/runner/.rustup/toolchains/1.84.0-aarch64-unknown-linux-gnu/bin/rustc --crate-name h2 --edition=2021 /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/h2-0.4.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("stream", "unstable"))' -C metadata=91239da3f1ae0e75 -C extra-filename=-91239da3f1ae0e75 --out-dir /home/runner/work/file-type/file-type/target/debug/deps -L dependency=/home/runner/work/file-type/file-type/target/debug/deps --extern atomic_waker=/home/runner/work/file-type/file-type/target/debug/deps/libatomic_waker-6070e94faa428cde.rmeta --extern bytes=/home/runner/work/file-type/file-type/target/debug/deps/libbytes-d6db696a1fab2523.rmeta --extern fnv=/home/runner/work/file-type/file-type/target/debug/deps/libfnv-4a0ef8bb9e12373f.rmeta --extern futures_core=/home/runner/work/file-type/file-type/target/debug/deps/libfutures_core-ee3f9f93297598a2.rmeta --extern futures_sink=/home/runner/work/file-type/file-type/target/debug/deps/libfutures_sink-833f92122775c5a9.rmeta --extern http=/home/runner/work/file-type/file-type/target/debug/deps/libhttp-490e72c08d475876.rmeta --extern indexmap=/home/runner/work/file-type/file-type/target/debug/deps/libindexmap-57d6d98e054ab755.rmeta --extern slab=/home/runner/work/file-type/file-type/target/debug/deps/libslab-e5dd1fc3bd9f7d86.rmeta --extern tokio=/home/runner/work/file-type/file-type/target/debug/deps/libtokio-d6a997448872894a.rmeta --extern tokio_util=/home/runner/work/file-type/file-type/target/debug/deps/libtokio_util-778948e1eba4a6e2.rmeta --extern tracing=/home/runner/work/file-type/file-type/target/debug/deps/libtracing-f374c041691bc163.rmeta --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...

I expected to see this happen: compilation to succeed

Meta

rustc --version --verbose:

rustc 1.84.0 (9fc6b4312 2025-01-07)

(stable-aarch64-unknown-linux-gnu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-AArch64Armv8-A or later processors in AArch64 mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions