mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 21:26:07 +00:00
'Block header corrupt' when decompressing xz file #229
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OtherCrashOverride on GitHub (Aug 18, 2017).
I receive a System.IO.InvalidDataException with the above message (Block header corrupt) when trying to decompress a .xz file. It occurs at SharpCompress.Compressors.Xz.XZBlock.CacheHeader().
The xz file decompresses without issue using 7zip. The file tested can be found here:
https://github.com/ayufan-rock64/linux-build/releases/download/0.4.17/xenial-minimal-rock64-0.4.17-85-arm64.img.xz
To reproduce: