Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189986 - stabilize app-crypt/md5deep-1.12 (sha1deep segfaults in 1.08)
Summary: stabilize app-crypt/md5deep-1.12 (sha1deep segfaults in 1.08)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2007-08-24 01:16 UTC by Michał Bartoszkiewicz
Modified: 2007-08-28 09:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2007-08-24 01:16:29 UTC
sha1deep used on any file gives a random hash (different every time) and crashes (usually with Segmentation fault, but I also managed to get Bus error).

Reproducible: Always

Steps to Reproduce:
1. sha1deep /dev/null
Actual Results:  
root@ghostwheel:~# sha1deep /dev/null 
dd5595dc1682366ad37a8bd22c8cc032be305277  /dev/null
Segmentation fault

Expected Results:  
root@ghostwheel:~# sha1deep /dev/null 
da39a3ee5e6b4b0d3255bfef95601890afd80709  /dev/null

Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 23 Aug 2007 23:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdep y"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://src.gentoo.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude /lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa amd64 amr ao apache2 audiofile avahi bash-completion bash_completion berkdb bittorrent bzip2 cairo calendar caps cdb cddb cdparanoia cdr crypt cups curl dbus device-mapper djvu dri dts dvd dvdr dvdread dvi encode evdev examples exif expat fam fbcon ffmpeg firefox flac flacv foomaticdb fpx ftp gcj gd gdbm gif gmp gnome gpm graphviz gs gstreamer gtk gtk2 hal iconv idn ieee1394 imagemagick imap imlib ipv6 java javascript jbig jpeg jpeg2k jython ladspa lame lcms libcaca libedit libsamplerate live lua lzo mad madwifi mailwrapper mhash mikmod mmap mmx mng modplug mono mozdevelop mp2 mp3 mpeg musepack ncurses nptl nptlonly nsplugin offensive ogg openal openexr opengl pam pcre pdf perl php plotutils png pnm pop postgres ppds pulseaudio python quicktime rar readline rrdcgi rtc samba sasl sdl session slp sndfile sound speex spell sqlite sqlite3 sse sse2 ssl ssse3 svg t1lib tcl tetex theora tiff tk truetype unicode urandom usb vcd vhosts vim-syntax vorbis wmf x264 xattr xforms xine xinetd xml xorg xv xvid zeroconf zip zlib" ELIBC="glibc" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 06:45:16 UTC
Please, reopen with a backtrace.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Michał Bartoszkiewicz 2007-08-24 13:04:28 UTC
#0  0x00000000004045ae in hash (mode=Cannot access memory at address 0xb2f1edc9b7e76
) at hash.c:297
Cannot access memory at address 0xb2f1edc9b7f26
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 13:13:30 UTC
Hmm, really doesn't say much. emerge --sync and try w/ 1.13
Comment 4 Michał Bartoszkiewicz 2007-08-24 20:23:50 UTC
1.12 and 1.13 work fine.
CHANGES suggests that the issue has been fixed in 1.11 (Fixed SHA-1 to work on 64-bit platforms (changed unsigned long to uin32_t))
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-24 21:12:44 UTC
Arches please stabilize md5deep-1.12, been in the tree for over one year without any bugs.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2007-08-25 23:33:17 UTC
amd64 stable
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-08-27 10:19:04 UTC
x86 stable

ppc-macos: drop your keyword
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2007-08-27 12:17:19 UTC
sparc stable.
Comment 9 nixnut (RETIRED) gentoo-dev 2007-08-28 09:55:12 UTC
stable on ppc