Here is another bug. I've tried to PreComp the following Ubuntu image and got the crash. Details below.
PreComp v0.4.0 -o<outfile.pcf> <infile> gives crash at 10.8%
Running it with -v gives the last line:
Code:
Possible zLib-Stream in GZip found at position 79008154, windowbits = 15
Can be decompressed to 5766 bytes
Identical recompressed bytes: 2489
Identical decompressed bytes: 5766 of 5766
Real identical bytes: 2489
Best match with compression level 9: 2489 bytes, decompressed to 5766 bytes
Recursion start - new recursion level 1
No recursion streams found
Recursion end - back to recursion level 0
PreComp v0.4.0 -l0 -o<outfile.pcf> <infile> also crash at about 10.7% but interesting thing:
PreComp v0.4.0 -v -l0 -o<outfile.pcf> <infile> somehow allowes to go beyond this error (300 MB output instead of 80 MB) but anyway crashes:
Code:
Possible zLib-Stream in GZip found at position 303384380, windowbits = 15
Can be decompressed to 63125 bytes
Identical recompressed bytes: 5200
Identical decompressed bytes: 14659 of 63125
Real identical bytes: 5199
Identical recompressed bytes: 5200
Identical decompressed bytes: 14659 of 63125
Real identical bytes: 5199
Identical recompressed bytes: 5200
Identical decompressed bytes: 14659 of 63125
Real identical bytes: 5199
Best match with compression level 9: 5199 bytes, decompressed to 14659 bytes
Penalty bytes were used: 5 bytes
v0.3.8 works fine by the way.