Error -3 while decompressing data
Andrew Bennetts
andrew.bennetts at canonical.com
Tue Jan 11 04:03:45 UTC 2011
Liam Routt wrote:
[...]
> The error reported is:
> ====
> bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from
> smart server: ('error', 'Error -3 while decompressing data:
> incorrect data check')
Can you run
md5sum .bzr/repository/packs/*
on the server? The filenames and md5sums should match, e.g.:
$ md5sum .bzr/repository/packs/*
9fd5364a303eca3abf5f57b75e00fead .bzr/repository/packs/9fd5364a303eca3abf5f57b75e00fead.pack
b8997f3808ed2717bf6b228aa1fe8f57 .bzr/repository/packs/b8997f3808ed2717bf6b228aa1fe8f57.pack
cd4b7271e271c06a11887347bfc49be8 .bzr/repository/packs/cd4b7271e271c06a11887347bfc49be8.pack
ed1967f34bfc2732c6e5562fd605921b .bzr/repository/packs/ed1967f34bfc2732c6e5562fd605921b.pack
f6828f51cfd80eb350c0596da768dee0 .bzr/repository/packs/f6828f51cfd80eb350c0596da768dee0.pack
These files are written to a temporary location, and then when the file is
finished the md5sum is calculated, and the file is renamed to that
md5sum. The file is never changed by bzr after that process. So if
they don't match, then there's almost certainly some sort of corruption
not due to bzr.
If they do match, then bzr is apparently causing invalid gzip data to be
generated. I don't know how that could happen, but if it does we'll
certainly try to figure it out!
-Andrew.
More information about the bazaar
mailing list