Package: pbzip2 Version: 1.1.5-1 Severity: normal Some files with trailing garbage aren't decompressed correctly (but some are).
How to reproduce: $ pbzip2 -d --ignore-trailing-garbage=1 <trash.bz2 >/dev/null pbzip2: *ERROR on decompress - last in segment reached before BZ_STREAM_END: ret=0; block=1; seq=-1; isLastInSeq=1; avail_in=0 pbzip2: *WARNING: Trailing garbage after EOF ignored! Terminator thread: premature exit requested - quitting... $ echo $? 1 $ pbzip2 -d --ignore-trailing-garbage=1 <gap.bz2 >/dev/null pbzip2: *WARNING: Trailing garbage after EOF ignored! $ echo $? 0 Both files are decompressed correctly by bzip2: $ bzip2 -dc <trash.bz2 >/dev/null bzip2: (stdin): trailing garbage after EOF ignored $ echo $? 0 $ bzip2 -dc <gap.bz2 >/dev/null bzip2: (stdin): trailing garbage after EOF ignored $ echo $? 0 The files gap.bz2 and trash.bz2 are available in lbzip2 git repository and can be downloaded from: https://github.com/kjn/lbzip2/blob/master/tests/gap.bz2?raw=true https://github.com/kjn/lbzip2/blob/master/tests/trash.bz2?raw=true -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages pbzip2 depends on: ii libbz2-1.0 1.0.5-7 ii libc6 2.13-21 ii libgcc1 1:4.6.1-15 ii libstdc++6 4.6.1-15 pbzip2 recommends no packages. pbzip2 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org