bzr crash dump

John Arbash Meinel john at arbash-meinel.com
Wed Oct 31 22:10:33 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


...

> KnitCorrupt: Knit <bzrlib.knit._KnitAccess object at 0x221dcf0> corrupt: While reading {rjk at greenend.org.uk-20071030230320-797aee3fd4927253} got IOError(CRC check failed 1569738316 2371602488)

Robert, as an aside, this is why I wanted _KnitAccess to have a filename, if
you remember our earlier discussions. You felt like it was clumsy to pass it
through the various layers, but it means that when we get a corrupted .knit
object, we can know which one it is.

As is, I can't say much more than that the file should contain the revision
 rjk at greenend.org.uk-20071030230320-797aee3fd4927253.

So Richard, if you can do:

find . -name '*.kndx' -print0 \
 | xargs -0 grep -l 'rjk at greenend.org.uk-20071030230320-797aee3fd4927253' \
 | sed -e 's/\.kndx/.knit/'


That should give you a list of .knit files that have that revision id in them.

You should be able to

zcat XXX.knit

without it giving you errors.

So I think you can expand the above shell expression by adding
 | xargs zcat >/dev/null

And I'm guessing it will print out an error on one of the files, because the
gzip CRC checksum is invalid.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKP1YJdeBCYSNAAMRAtKmAKCjxRMUd/brUjG58AJQ7SjKPnVb/gCbBqZD
d8FvnsyS1tXcQbtzfRmUpAw=
=CxPi
-----END PGP SIGNATURE-----



More information about the bazaar mailing list