[Bug 789] gunzip/bunzip2/zcat output corrupted

bugzilla at busybox.net bugzilla at busybox.net
Thu Dec 10 22:04:44 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=789





--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  2009-12-10 22:04:43 UTC ---
(In reply to comment #0)
> However, when I try one of my own files which contains sparse data, the output
> *sometimes* does not match:

What is "sparse data"? File with holes? Can you attach data.gz which is
producing errors when decompressed?

> Inspecting
> a badly expanded file shows that only 1 or 2 bits somewhere in the file are
> wrong, although their location sometimes changes.
...
> Finally I wondered if the corruption is typical.  Given a file with a known
> sum, the following test can be ran:
> 
>   while [ true ] ; do
>     gunzip -c data.gz | md5sum | grep -v b542db59f26251cf7899484bc384dd3d
>   done
> 
> The output shows the following:
> 
>   58feaeb3349aeb1b97cef52ed454bc2c  -
>   58feaeb3349aeb1b97cef52ed454bc2c  -
>   58feaeb3349aeb1b97cef52ed454bc2c  -
>   58feaeb3349aeb1b97cef52ed454bc2c  -
>   58feaeb3349aeb1b97cef52ed454bc2c  -
>   ...
>   58feaeb3349aeb1b97cef52ed454bc2c  -
> 
> i.e. the corruption is always the same.

You contradict yourself. Is corruption always the same, or not?
You effectively say "both" - ??!
> 
> I think this could be a hard bug, so let me know if you need more info.
> 
> Regards,
> 
> Mike
> 


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list