[BUG] Knit code assertion error
John Arbash Meinel
john at arbash-meinel.com
Thu Apr 20 03:20:18 BST 2006
Robert Collins wrote:
> On Fri, 2006-04-14 at 14:18 -0500, John Arbash Meinel wrote:
>> I sent this a few days ago, but my traceback was too long, so I'm
>> re-sending with a compressed log.
>>
>> Anyway, I wanted to try checking out a Arch converted project on a
>> Windows machine, and since the only format that supports file id
>> escaping is knit, I figured I would do the conversion and check it out.
>>
>> But it fails (after about 20 minutes) with the attached traceback & log.
>
> This is a race condition in the tuned_gzip - a partial read of the last
> 8 bytes of a gzip file will trigger it. its fixed in bzr.dev.
>
>
> Rob
I was very happy to agree with you. Except I'm pretty sure I have the
fix, and it is still occurring:
bzr log:
1642 Canonical.com Patch Queue Manager 2006-04-18
Fix race condition between end of stream and end of file with
tuned_gzip.
1643 Canonical.com Patch Queue Manager 2006-04-18
Fix and test upgrades from bzrdir 6 over SFTP.
1644 Canonical.com Patch Queue Manager 2006-04-18
implementation of --reprocess for weave merge
1645 Canonical.com Patch Queue Manager 2006-04-19
(mbp) two small cleanups
1646 Canonical.com Patch Queue Manager 2006-04-19
Change the default branch format to be metadir. (Robert Collins,
Aaron Ben tley).
1647 Canonical.com Patch Queue Manager 2006-04-19
Implement plan_merge for knits
1648 Canonical.com Patch Queue Manager 2006-04-19
diff and merge handle binaries safely
$ time bzr branch /srv/bzr/public/mirror-repo/mifar/dev/0.7-jam/
mifar-knit/dev-0.7-jam Backup Inventory created.
Inventory regenerated.
bzr: ERROR: exceptions.AssertionError:
at /local/01/system/srv/bzr/public/mirrors/bzr.dev/bzrlib/knit.py line
1270
in _parse_record
real 13m13.879s
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060419/81dba31e/attachment.pgp
More information about the bazaar
mailing list