[Pkg-rust-maintainers] Bug#865416: cargo: segfaults some of the time on ppc64el, can't reproduce in gdb

Ximin Luo infinity0 at debian.org
Wed Jun 21 09:50:48 UTC 2017


Package: cargo
Version: 0.17.0-2+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
Segmentation fault
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
cargo-0.17.0 (built 2017-05-03)
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
cargo-0.17.0 (built 2017-05-03)
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
Segmentation fault
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
Segmentation fault
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
cargo-0.17.0 (built 2017-05-03)
(sid_ppc64el-dchroot)infinity0 at plummer:~$ RUST_BACKTRACE=1 cargo -V
cargo-0.17.0 (built 2017-05-03)

Unfortunately I can't reproduce this in gdb to get a backtrace:

(sid_ppc64el-dchroot)infinity0 at plummer:~$ rust-gdb -q -ex 'run -V' -ex bt -ex quit cargo
Reading symbols from cargo...(no debugging symbols found)...done.
Starting program: /usr/bin/cargo -V
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
cargo-0.17.0 (built 2017-05-03)
[Inferior 1 (process 11144) exited normally]
No stack.

Doesn't change even after many runs.

This is causing rustc 1.17 to not be buildable in Debian unstable.

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cargo depends on:
ii  binutils            2.28-5
ii  gcc [c-compiler]    4:6.3.0-4
ii  gcc-6 [c-compiler]  6.3.0-18
ii  libc6               2.24-11
ii  libcurl3-gnutls     7.52.1-5
ii  libgcc1             1:6.3.0-18
ii  libhttp-parser2.1   2.1-2
ii  libssh2-1           1.7.0-1
ii  libssl1.1           1.1.0f-3
ii  rustc               1.17.0+dfsg2-5
ii  zlib1g              1:1.2.8.dfsg-5

cargo recommends no packages.

Versions of packages cargo suggests:
pn  cargo-doc  <none>

-- no debconf information



More information about the Pkg-rust-maintainers mailing list