Steve Fosdick on 2009-01-14 22:47:03 +0000: > Package: rzip > Version: 2.1-1 > Severity: important
Thanks for the bug report! > I attempted to unzip using a command similar to the following: > > rzip -d -o dir/disk.img disk.img.rz > > This produced the error: > > Bad checksum 0x3b2bfb2a - expected 0x23e76800 > Fatal error - exiting That's the error when it's decompressing a chunk. How far in the file did it get? > Obviously I don't know if the error is in the compression, the uncompression > or the checksum calculation but something is clearly not right and it is > refusing to continue uncompressing the file. > > I am not sure how relevant this is but the original disk image is a sparse > file of about 8Gb in size. For both practical and condifentiality reasons > I can not send the file concerned but I could keep a copy for a while if > this would be helpful. If you can keep it around in the short term, that would be helpful. Be careful copying it, since cp won't preserve the sparseness. I tried to reproduce this with a 200MB and 5GB sparse file (both created with dd and then subject to mkfs.ext3), but everything worked fine. It strikes me as a bad idea in the first place to run a compression program on a sparse file, since you won't get that same sparse file back. I'd tar it up first with the -S option. What happens if you copy the file to de-sparsify it and repeat the experiment? If that still fails, is there a problem with the decompression if you pass it through tar first? Does it compress/decompress fine with another compression program - say, gzip? I glanced through the code and didn't see anything obviously broken with respect to sparse file handling. I won't have a chance before the weekend to look into it, though; even then, without an example bad file, I'm not sure I can track it down. I do understand that you don't want to send the disk image, and I'm not sure I want to figure out a way to receive it, either! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org