kspalaiologos / bzip3

A better and stronger spiritual successor to BZip2.
GNU Lesser General Public License v3.0
687 stars 38 forks source link

Failed to decode a block: CRC32 check failed #76

Closed quidnu closed 1 year ago

quidnu commented 1 year ago
% bunzip3 messages.log.99.bz3
Failed to decode a block: CRC32 check failed

Decompression attempted using bzip3 1.2.0 from nix Compression was done using whatever bzip3 version was on nix around 2022-09-24.

Although the data isn't critical I'd like to try to recover it if possible.

Unfortunately I don't think I can share the file because the data is third-party proprietary.

kspalaiologos commented 1 year ago

Consider using bzip3 1.2.1 which fixes an issue while decoding blocks with a LZP match at the end of the block. The data is not corrupted, it's just a small regression in the decoder.

quidnu commented 1 year ago

Thanks I managed to use an earlier version to recover the data.