Open
Description
Describe the bug
Pants' own CI semi-regularly fails building Rust code with a SIGBUS
error, e.g.
https://github.com/pantsbuild/pants/actions/runs/6404472831/job/17385127349?pr=19969
[=== 00:00 Building native code... ===]
error: process didn't exit successfully: `rustc -vV` (signal: 7, SIGBUS: access to undefined memory)
https://github.com/pantsbuild/pants/actions/runs/6404461446/job/17385097331?pr=19968
error: could not compile `tokio`
Caused by:
process didn't exit successfully: `rustc --crate-name tokio --edition=2021 /home/gha/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.28.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=1 --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="num_cpus"' --cfg 'feature="parking_lot"' --cfg 'feature="process"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="signal"' --cfg 'feature="signal-hook-registry"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' -C metadata=d2fbc804c7b3fbce -C extra-filename=-d2fbc804c7b3fbce --out-dir /home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps -L dependency=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps --extern bytes=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libbytes-1b8ac88b843b6de2.rmeta --extern libc=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/liblibc-4f9ec808ea9781fd.rmeta --extern mio=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libmio-46118e73a4466b50.rmeta --extern num_cpus=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libnum_cpus-411dcd3e1df60cd4.rmeta --extern parking_lot=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libparking_lot-96f9d9b949be431c.rmeta --extern pin_project_lite=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libpin_project_lite-5a6010e6831f239e.rmeta --extern signal_hook_registry=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libsignal_hook_registry-2b0d2c03ca3b8e6b.rmeta --extern socket2=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libsocket2-82b5bff38381e726.rmeta --extern tokio_macros=/home/gha/actions-runner2/_work/pants/pants/src/rust/engine/target/release/deps/libtokio_macros-89210e18854ad40f.so --cap-lints allow --cfg tokio_unstable` (signal: 7, SIGBUS: access to undefined memory)
Pants version
I've seen it on:
- PRs to
2.16.x
(second link above) - PRs to
2.17.x
(first link above) - other places too
OS
Linux CI box
Additional info
Similar(ish) symptoms to #8483
Activity