kjn / lbzip2

Parallel bzip2 utility
GNU General Public License v3.0
132 stars 17 forks source link

lbzip2-2.2: Assertion failure while compressing #8

Closed jlec closed 12 years ago

jlec commented 12 years ago

I am just copying over from downstream report:

https://bugs.gentoo.org/show_bug.cgi?id=436382

Something in a certain QEMU raw image seems to upset lbzip2-2.2. Other images are okay but I could not test another NTFS file system image. The error happens with a small part of the image so I will attach it.

Earlier versions of lbzip2 seem to be unaffected.

Reproducible: Always

Steps to Reproduce:

  1. lbzip2 -c hpwin.img >/dev/null Actual Results:
    lbzip2: /var/tmp/portage/app-arch/lbzip2-2.2/work/lbzip2-2.2/src/encode.c:794: generate_initial_trees: Assertion `a < b' failed.
kjn commented 12 years ago

I confirm this bug. It will be fixed in the next release.