error: rustc interrupted by SIGBUS, printing backtrace
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Hi,
Compiling librespot in the context of moose-audio player. The log asks for a report. Sorry, cannot provide must more background.
regards,
Jan-Willem
Compiling lock_api v0.4.14
Compiling symphonia-core v0.5.5
error: rustc interrupted by SIGBUS, printing backtrace
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x3454280) [0x7fbb3c4280]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0) [0x7fbc620820]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZNK4llvm7Mangler17getNameWithPrefixERNS_15SmallVectorImplIcEEPKNS_11GlobalValueEb+0x100) [0x7fb48856a0]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZNK4llvm13TargetMachine9getSymbolEPKNS_11GlobalValueE+0x308) [0x7fb48843a8]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(+0x458ba44) [0x7fb43aba44]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZN4llvm10AsmPrinter16emitFunctionBodyEv+0xb90) [0x7fb486b350]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(+0x4707a20) [0x7fb4527a20]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x6b0) [0x7fb451f934]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x34) [0x7fb451f258]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/libLLVM.so.22.1-rust-1.96.0-stable(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x264) [0x7fb4e2b81c]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x2472b64) [0x7fba3e2b64]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x247276c) [0x7fba3e276c]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x2705460) [0x7fba675460]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(RINvNtNtCsfQfHhyvAE2O_3std3sys9backtrace28___rust_begin_short_backtraceNCINvNtNtCsh7svWMpkJjO_17rustc_codegen_ssa4back5write10spawn_workNtCsdpM18rhDAa8_18rustc_codegen_llvm18LlvmCodegenBackendE0uEB2c+0x144) [0x7fba834fc4]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x28c4ab4) [0x7fba834ab4]
/root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/lib/librustc_driver-461506883ba0dbe1.so(+0x42d51d8) [0x7fbc2451d8]
/lib/aarch64-linux-gnu/libc.so.6(+0x85f38) [0x7fb7dc5f38]
/lib/aarch64-linux-gnu/libc.so.6(+0xede9c) [0x7fb7e2de9c]
note: we would appreciate a report at https://github.com/rust-lang/rust
error: could not compile protobuf (lib)
Caused by:
process didn't exit successfully: /root/.rustup/toolchains/1.96.0-aarch64-unknown-linux-gnu/bin/rustc --crate-name protobuf --edition=2021 /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/protobuf-3.7.2/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 --warn=unexpected_cfgs -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "with-bytes"))' -C metadata=d8162f2b011d036a -C extra-filename=-018bb062293340f3 --out-dir /var/local/www/pkgbuild/packages/librespot/build/librespot-0.8.0/target/release/deps -C strip=debuginfo -L dependency=/var/local/www/pkgbuild/packages/librespot/build/librespot-0.8.0/target/release/deps --extern once_cell=/var/local/www/pkgbuild/packages/librespot/build/librespot-0.8.0/target/release/deps/libonce_cell-4b7eeb02e849b781.rmeta --extern protobuf_support=/var/local/www/pkgbuild/packages/librespot/build/librespot-0.8.0/target/release/deps/libprotobuf_support-243ce69b70d396fd.rmeta --extern thiserror=/var/local/www/pkgbuild/packages/librespot/build/librespot-0.8.0/target/release/deps/libthiserror-1f896a56132c3264.rmeta --cap-lints allow -Ccodegen-units=1 (signal: 7, SIGBUS: access to undefined memory)
warning: build failed, waiting for other jobs to finish...
error: Build failed
Error: cargo-deb failed during build
** - Installing librespot
cp: cannot stat '/var/local/www/pkgbuild/packages/librespot/dist/binary/librespot_0.8.0-1moode1_arm64.deb': No such file or directory
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Error: Unsupported file /tmp/librespot_0.8.0-1moode1_arm64.deb given on commandline
** Install failed
** Exiting update
Install failed, update cancelled
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rustc invocation that compiles protobuf while building librespot 0.8.0 on aarch64-unknown-linux-gnu with Rust 1.96. Inspect the SIGBUS backtrace through librustc_driver and libLLVM.so; done means identifying a reproducible compiler failure and documenting the environment and triggering conditions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100