Crash in bzr-svn

Paul Moore p.f.moore at gmail.com
Thu Feb 28 18:34:57 GMT 2008


On 28/02/2008, Brian de Alwis <bsd at cs.ubc.ca> wrote:
> Hi Paul.  You look like you might be having similar problems as what I
>  suffered earlier.  You might need the small patch to fix bzr-svn bug
>  190331, which I've attached below.

Thanks. I gave this a try. It made some difference - I got a different
error this time:

>bzr branch http://svn.python.org/projects/python/trunk python
bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit <bzrlib.knit._PackAccess
object at 0x0176BF50> corrupt: While reading {svn-v3-trunk1:6015
fed2-1504-0410-9fe1-9d1591cc4771:python%2Ftrunk:33604} got MemoryError()

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 806, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 762, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "bzrlib\builtins.pyc", line 907, in run
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\remote.py", line 75, in sprout
  File "bzrlib\repository.pyc", line 916, in fetch
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fetch.py", line 716, in fetch
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fetch.py", line 673, in _fetch_switch
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\errors.py", line 110, in convert
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\transport.py", line 271, in finish_report
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\_ext\libsvn\ra.py", line 783, in
svn_ra_reporter2_in
voke_finish_report
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fetch.py", line 413, in close_edit
  File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fetch.py", line 476, in _finish_commit
  File "bzrlib\decorators.pyc", line 165, in write_locked
  File "bzrlib\repository.pyc", line 555, in add_revision
  File "bzrlib\decorators.pyc", line 165, in write_locked
  File "bzrlib\repository.pyc", line 516, in add_inventory
  File "bzrlib\repofmt\knitrepo.pyc", line 111, in _inventory_add_lines
  File "bzrlib\versionedfile.pyc", line 138, in add_lines_with_ghosts
  File "bzrlib\knit.pyc", line 918, in _add_lines_with_ghosts
  File "bzrlib\knit.pyc", line 994, in _add
  File "bzrlib\knit.pyc", line 854, in _merge_annotations
  File "bzrlib\knit.pyc", line 906, in _get_content
  File "bzrlib\knit.pyc", line 1086, in _get_content_maps
  File "bzrlib\knit.pyc", line 1051, in _get_record_map
  File "bzrlib\knit.pyc", line 2427, in read_records_iter
  File "bzrlib\knit.pyc", line 2333, in _parse_record
KnitCorrupt: Knit <bzrlib.knit._PackAccess object at 0x0176BF50>
corrupt: While reading {svn-v3-trunk1:6015fed2-1504-0410-9fe1-9d1591
cc4771:python%2Ftrunk:33604} got MemoryError()

bzr 1.1.0 on python 2.5.1.final.0 (win32)
arguments: ['bzr', 'branch',
'http://svn.python.org/projects/python/trunk', 'python']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  launchpad
C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\launchpad [unknown]
  multiparent
C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\multiparent.pyc
[unknown]
  svn                  C:\Documents and Settings\Gustav\Application
Data\bazaar\2.0\plugins\svn [0.4.7]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Paul.



More information about the bazaar mailing list