Comment 0 for bug 248275

Revision history for this message
Marnanel Thurman (marnanel) wrote : Crash when pulling from svn with --no-plugins

Bazaar crashed attempting to pull from a svn repository. In #229848 it was said that such crashes should only be reported if they appear with --no-plugins turned on. I tried this, and saw:

Script started on Dydd Sul 13 mis Gorffennaf 2008 21:42:59 EDT
tthurman@haematite:~/gnome-bzr/src/metacity$ bzr pull --no-plugins
Using saved location: bzr+ssh://bzr-playground.gnome.org/bzr/gnome/metacity/trunk/
Server is too old for streaming pull, reconnecting. (Upgrade the server to Bazaar 1.2 to avoid this)

/ [ ] Pull phase 0/2
- [========= ] Pull phase 0/2

bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit text:1@41da6766-de25-0410-b389-9acf47e490d7:trunk: corrupt: line-delta from stream for version svn-v3-trunk0:41da6766-de25-0410-b389-9acf47e490d7:trunk:3789 references missing parent <email address hidden>
Try running "bzr check" on the source repository, and "bzr reconcile" if necessary.

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 652, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 1570, in pull
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1714, in pull
    run_hooks=run_hooks)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1513, in pull
    self.update_revisions(source, stop_revision, overwrite=overwrite)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1465, in update_revisions
    self.fetch(other, stop_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 266, in fetch
    pb=nested_pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 949, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 2963, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 109, in __init__
    self.__fetch()
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 139, in __fetch
    self._fetch_everything_for_search(search, pp)
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 418, in _fetch_everything_for_search
    self.to_repository.insert_data_stream(data_stream)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 860, in insert_data_stream
    (format, data_list, reader_func))
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 847, in insert_data_stream
    (version_id, parents[0]))
KnitCorrupt: Knit text:1@41da6766-de25-0410-b389-9acf47e490d7:trunk: corrupt: line-delta from stream for version svn-v3-trunk0:41da6766-de25-0410-b389-9acf47e490d7:trunk:3789 references missing parent <email address hidden>
Try running "bzr check" on the source repository, and "bzr reconcile" if necessary.

bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'pull', '--no-plugins']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'cy_GB.UTF-8'
plugins:
*** 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.
/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py:110: UserWarning: file group LockableFiles(<bzrlib.transport.remote.RemoteSSHTransport url=bzr+ssh://bzr-playground.gnome.org/bzr/gnome/metacity/.bzr/repository/>) was not explicitly unlocked
  warn("file group %r was not explicitly unlocked" % self)
tthurman@haematite:~/gnome-bzr/src/metacity$ exit

Script done on Dydd Sul 13 mis Gorffennaf 2008 21:43:28 EDT

bzr versions:
Bazaar (bzr) 1.3.1
  Python interpreter: /usr/bin/python 2.5.2.final.0
  Python standard library: /usr/lib/python2.5
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib