Your message dated Sat, 14 Apr 2012 13:47:31 +0000
with message-id <[email protected]>
and subject line Bug#668306: fixed in rs 20120414-1
has caused the Debian Bug report #668306,
regarding rs: immediate segfault, apparently caused by hardening options (-pie)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
668306: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668306
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rs
Version: 20120325-1
Severity: serious
rjy@vile ~ % seq 1 9 | rs 3 3
zsh: done seq 1 9 |
zsh: segmentation fault rs 3 3
This happens regardless of input.
It appears to be caused by -pie in the parameters passed to cc
rjy@vile /tmp/rs/rs-20120325 % cc -D_FORTIFY_SOURCE=2 -DUSE_LIBBSD -g -O2
-fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -Wall -Wextra -Wformat -flto=jobserver -fPIE -pie
-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o rs rs.c -lbsd
In file included from /usr/include/bsd/bsd.h:41:0,
from rs.c:47:
/usr/include/bsd/getopt.h:34:2: warning: #warning "Deprecated header, use
<bsd/unistd.h> or <unistd.h> with libbsd-overlay.pc instead." [-Wcpp]
rjy@vile /tmp/rs/rs-20120325 % seq 1 9 | ./rs 3 3
zsh: done seq 1 9 |
zsh: segmentation fault ./rs 3 3
After removing -pie (from between the second -fPIE and -Wl,-z,relro)
rjy@vile /tmp/rs/rs-20120325 % cc -D_FORTIFY_SOURCE=2 -DUSE_LIBBSD -g -O2
-fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -Wall -Wextra -Wformat -flto=jobserver -fPIE
-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o rs rs.c -lbsd
In file included from /usr/include/bsd/bsd.h:41:0,
from rs.c:47:
/usr/include/bsd/getopt.h:34:2: warning: #warning "Deprecated header, use
<bsd/unistd.h> or <unistd.h> with libbsd-overlay.pc instead." [-Wcpp]
rjy@vile /tmp/rs/rs-20120325 % seq 1 9 | ./rs 3 3
1 2 3
4 5 6
7 8 9
Sorry if this is hard to read, the command lines are so long...
Build command was copied from debuild output, which was
rjy@vile /tmp/rs/rs-20120325 % debuild -us -uc
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package rs
dpkg-buildpackage: source version 20120325-1
dpkg-buildpackage: source changed by Thorsten Glaser <[email protected]>
dpkg-source --before-build rs-20120325
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh_testdir
rm -f rs
dh_clean
dpkg-source -b rs-20120325
dpkg-source: info: using source format `1.0'
dpkg-source: info: building rs using existing rs_20120325.orig.tar.gz
dpkg-source: info: building rs in rs_20120325-1.diff.gz
dpkg-source: info: building rs in rs_20120325-1.dsc
debian/rules build
dh_testdir
rm -f rs
for opts in '-flto=jobserver' '-fwhole-program --combine' ''; do \
set -x; \
cc -D_FORTIFY_SOURCE=2 -DUSE_LIBBSD -g -O2 -fPIE
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -Wall -Wextra -Wformat $opts -fPIE -pie -Wl,-z,relro
-Wl,-z,now -Wl,--as-needed -o rs \
rs.c -lbsd; \
test -x rs && exit 0; \
done; echo >&2 Compiling failed.; exit 1
+ cc -D_FORTIFY_SOURCE=2 -DUSE_LIBBSD -g -O2 -fPIE -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
-Wall -Wextra -Wformat -flto=jobserver -fPIE -pie -Wl,-z,relro -Wl,-z,now
-Wl,--as-needed -o rs rs.c -lbsd
In file included from /usr/include/bsd/bsd.h:41:0,
from rs.c:47:
/usr/include/bsd/getopt.h:34:2: warning: #warning "Deprecated header, use
<bsd/unistd.h> or <unistd.h> with libbsd-overlay.pc instead." [-Wcpp]
+ test -x rs
+ exit 0
fakeroot debian/rules binary
dh_testdir
dh_testroot
if test -x "$(which dh_prep)"; then dh_prep; else dh_clean -k; fi
dh_installchangelogs
dh_installdocs
dh_install
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/rs/usr/bin/rs was not linked against libgcc_s.so.1 (it uses none of the
library's symbols).
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `rs' in `../rs_20120325-1_amd64.deb'.
dpkg-genchanges >../rs_20120325-1_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build rs-20120325
dpkg-buildpackage: full upload (original source is included)
rjy@vile /tmp/rs/rs-20120325 % seq 1 9 | ./rs 3 3
zsh: done seq 1 9 |
zsh: segmentation fault ./rs 3 3
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rs depends on:
ii libbsd0 0.3.0-2
ii libc6 2.13-27
ii libgcc1 1:4.7.0-3
rs recommends no packages.
rs suggests no packages.
-- no debconf information
--
http://rjy.org.uk/
--- End Message ---
--- Begin Message ---
Source: rs
Source-Version: 20120414-1
We believe that the bug you reported is fixed in the latest version of
rs, which is due to be installed in the Debian FTP archive:
rs_20120414-1.diff.gz
to main/r/rs/rs_20120414-1.diff.gz
rs_20120414-1.dsc
to main/r/rs/rs_20120414-1.dsc
rs_20120414-1_amd64.deb
to main/r/rs/rs_20120414-1_amd64.deb
rs_20120414.orig.tar.gz
to main/r/rs/rs_20120414.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thorsten Glaser <[email protected]> (supplier of updated rs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384
Format: 1.8
Date: Sat, 14 Apr 2012 13:22:33 +0000
Source: rs
Binary: rs
Architecture: source amd64
Version: 20120414-1
Distribution: unstable
Urgency: medium
Maintainer: Thorsten Glaser <[email protected]>
Changed-By: Thorsten Glaser <[email protected]>
Description:
rs - reshape a data array
Closes: 668306
Changes:
rs (20120414-1) unstable; urgency=medium
.
* Updated upstream version (Closes: #668306)
- also fix manpage portability
- no longer uses unreliable libbsd header files
* Add a testsuite to prevent issues like #668306 from happening again
Checksums-Sha1:
24c3bfbb14a9703bb414a3088ad712c8cb4d507d 1790 rs_20120414-1.dsc
bb077bd142467ce050c949513c0547bfd4d54cdb 8769 rs_20120414.orig.tar.gz
02ef79bbee2056f3e8e86f30b32a1f5dff14329f 3274 rs_20120414-1.diff.gz
5ed02720bd63df2df262209fe42aab866a8192f4 13058 rs_20120414-1_amd64.deb
Checksums-Sha256:
a9c5c16c53e2a15050772098f39b5dae53c549340aeeed52c233968cf2242acf 1790
rs_20120414-1.dsc
16e7db9a7e04c85d9f24b4236577408976d01d9bbade9b166ef65fb6199db114 8769
rs_20120414.orig.tar.gz
de9c0405091c982a3ccee7b77e9ce33e8f99fe192373c2a00aee5b239b6094a6 3274
rs_20120414-1.diff.gz
7ec87f565baa18fb61c9e7c52e03f03f3af611ae0906ee707e6c53be3782d923 13058
rs_20120414-1_amd64.deb
Files:
2c919d3c655b90b8374cd17447a6b49c 1790 utils optional rs_20120414-1.dsc
7b29ed0704c15e99d63fe88149d7775b 8769 utils optional rs_20120414.orig.tar.gz
0c1b026505eaaeadf6e3e944f5820296 3274 utils optional rs_20120414-1.diff.gz
1fda23c79dd6d77f8f37f70308649e19 13058 utils optional rs_20120414-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MirBSD)
iQIcBAEBCQAGBQJPiX19AAoJEHa1NLLpkAfgi08P/20+rf/HYrYacOzuFlJD2McL
qTSz5sz5swrf5Ad+5JvsST2evQdyhsmdWPkYWBv1pP5InctqxuX5apY75p2Ys5S2
xf7GP0iOIf5gmg8j/mbpHr49kdDidNe66pCQHktxp8fSfDOGBLqLITZGeEeOVenp
Xz3H2u3637X8eMvJsH3fW/EPHPZKAhS7NmTDnLK5LbUashwiUWE0oZvX8PvMNqWI
9w2afO3OESkMbn5Nx7EoiClhFHMQ5+g9qvuYAyAWVC/JtqqVtGVanENslDC+sRRd
1umOpSYDp03R2Gjf6rGU/E0mnYOAU1SYaL8z7rsPqI5ll0EjMMDtBqGu/If1cfHr
Yot+PpRQAJN8cAIq2SqGMQ29oKIQz+Ak/FULt/IRhUgrBeqSEkAe3TNhBnSaIMmx
xHpESZDW1p88aToR1v5O0I6AgcZmszhLDD9lHFevlCB26R6xHGNYemv53WVJdeOg
pShLgcJhUz0KWzC77zFaLHlaXj4cQgmc7zU911JxWM6PAqqykj08+1FTw5JD3goz
y/j4pJNi433fJpFc7v5rzK9ethvak4VXINo1++N54FwptvuRfbsxPuwowvq0LmhI
U6sg4YuFB80r9uS4+ZR2w+SJJBhQXUuOryhyAMDYrrndOTQbSX8pXgqmNCAIuQQ4
mfxQcSCz3okOzZ5r1eYQ
=TNkY
-----END PGP SIGNATURE-----
--- End Message ---