[Pkg-rust-maintainers] Bug#1104704: rust-timerfd: FTBFS: signal: 11, SIGSEGV: invalid memory reference
Chris Hofstaedtler
zeha at debian.org
Thu May 8 23:24:31 BST 2025
Control: reassign -1 rust-rustix 0.38.37
Control: affects -1 src:rust-timerfd
On Sun, May 04, 2025 at 11:41:36PM +0200, Chris Hofstaedtler wrote:
> process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/build/reproducible-path/rust-timerfd-1.5.0 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-timerfd-1.5.0/Cargo.toml CARGO_PKG_AUTHORS='main() <main at ehvag.de>' CARGO_PKG_DESCRIPTION='A rust interface to the Linux kernel'\''s timerfd API' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=timerfd CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/main--/rust-timerfd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.5.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/build/reproducible-path/rust-timerfd-1.5.0/target/aarch64-unknown-linux-gnu/debug/deps:/build/reproducible-path/rust-timerfd-1.5.0/target/aarch64-unknown-linux-gnu/debug:/usr/lib/rustlib/aarch64-unknown-linux-gnu/lib' /build/reproducible-path/rust-timerfd-1.5.0/target/aarch64-unknown-linux-gnu/debug/deps/timerfd-782df7dd57033e04` (signal: 11, SIGSEGV: invalid memory reference)
This is caused by a Linux vDSO change on aarch64, see:
https://github.com/torvalds/linux/commit/48f6430505c0b0498ee9020ce3cf9558b1caaaeb
Upstream fix in rust-rustix:
https://github.com/bytecodealliance/rustix/pull/1259
Attached is a backported patch that works for me.
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdso-dt-hash.patch
Type: text/x-diff
Size: 14061 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250509/6b138ffe/attachment.patch>
More information about the Pkg-rust-maintainers
mailing list