lbzip2-2.2: Assertion failure while compressing #8

jlec opened this Issue Oct 7, 2012 · 1 comment

2 participants


I am just copying over from downstream report:

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 Oct 7, 2012

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

@kjn kjn added a commit that closed this issue Oct 20, 2012
@kjn Fix assertion failure, closes #8
src/encode.c (generate_initial_trees): Rewrite from scratch.
@kjn kjn closed this in 57eeee3 Oct 20, 2012
@kjn kjn added a commit that referenced this issue Jul 23, 2013
@kjn Add patch fixing upstream bug #8 e015160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment