zstd icon indicating copy to clipboard operation
zstd copied to clipboard

Decoding error (36) : Data corruption detected

Open cmwl opened this issue 2 years ago • 3 comments

Describe the bug "Decoding error (36) : Data corruption detected"

To Reproduce 1、on debian 11(x86_64): zstd -T0 file.qcow2 2、copy file.qcow2.zst from debian 11(x86_64) to windows 10(x86_64) 3、copy file.qcow2.zst from windows 10(x86_64) debian 11(x86_64) 4、on debian 11(x86_64): zstd -T0 -d file.qcow2.zst 5、ERROR:"Decoding error (36) : Data corruption detected"

cmwl avatar Mar 21 '23 07:03 cmwl

zstd version:1.5.4+dfsg2-5

cmwl avatar Mar 21 '23 07:03 cmwl

A reproduction case will be necessary to properly debug this issue.

With only these elements available, it's possible that any of the intermediate operations, including network and storage, have introduced corruption, which is then correctly detected by zstd.

At a minimum, checksum the produced file at every stage, to ensure the same exact file is properly forwarded from producer to consumer.

Cyan4973 avatar Mar 21 '23 15:03 Cyan4973

Hi, I am also facing similar issue. unable to decompress a small file which is compressed by other utility. i have attached the compressed file in a zip format, please have a look on this issue compressed_output.txt.zip

vishnucheerakoda avatar Mar 22 '23 07:03 vishnucheerakoda