*** Bazaar has encountered an internal error

Bug #1096749 reported by lichenghui
This bug report is a duplicate of:  Bug #413430: ShortReadvError on index file. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

apport is set to ignore crashes in this version of bzr.
bzr: ERROR: bzrlib.errors.ShortReadvError: readv() read 0 bytes rather than 193 bytes at 0 for "ad6dbc31e1f934ceec6c79ca9790dcff.rix"

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 924, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1124, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 711, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1008, in run
    show_base=show_base)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1676, in pull
    local=local)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1089, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3492, in pull
    merge_tags_to_master=not source_is_master)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3602, in _pull
    overwrite=overwrite, graph=graph)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 1038, in update_revisions
    overwrite, graph)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 3435, in update_revisions
    self.target.fetch(self.source, stop_revision)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/branch.py", line 687, in fetch
    pb=pb)
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 1777, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3433, in fetch
    find_ghosts=find_ghosts)
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 72, in __init__
    self.__fetch()
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 94, in __fetch
    search = self._revids_to_fetch()
  File "/usr/lib/python2.7/dist-packages/bzrlib/fetch.py", line 160, in _revids_to_fetch
    find_ghosts=self.find_ghosts)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 1604, in search_missing_revision_ids
    revision_id, find_ghosts)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3499, in search_missing_revision_ids
    return self._walk_to_common_revisions([revision_id])
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 3468, in _walk_to_common_revisions
    have_revs = set(target_graph.get_parent_map(revs_to_get))
  File "/usr/lib/python2.7/dist-packages/bzrlib/graph.py", line 167, in get_parent_map
    parent_map = self._get_parent_map(needed_revisions)
  File "/usr/lib/python2.7/dist-packages/bzrlib/repository.py", line 2689, in get_parent_map
    self.revisions.get_parent_map(query_keys).iteritems():
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1332, in get_parent_map
    return self._get_parent_map_with_sources(keys)[0]
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1351, in _get_parent_map_with_sources
    new_result = source.get_parent_map(missing)
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 2047, in get_parent_map
    for node in nodes:
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 2019, in _get_entries
    for node in self._graph_index.iter_entries(keys):
  File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 1360, in iter_entries
    for node in index.iter_entries(keys):
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1162, in iter_entries
    if not self.key_count():
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1443, in key_count
    self._get_root_node()
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 940, in _get_root_node
    self._get_internal_nodes([0])
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 965, in _get_internal_nodes
    return self._get_nodes(self._internal_node_cache, node_indexes)
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 957, in _get_nodes
    found.update(self._get_and_cache_nodes(needed))
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 734, in _get_and_cache_nodes
    for node_pos, node in self._read_nodes(sorted(nodes)):
  File "/usr/lib/python2.7/dist-packages/bzrlib/btree_index.py", line 1557, in _read_nodes
    for offset, data in data_ranges:
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/__init__.py", line 704, in _seek_and_read
    c_offset.length, actual=len(data))
ShortReadvError: readv() read 0 bytes rather than 193 bytes at 0 for "ad6dbc31e1f934ceec6c79ca9790dcff.rix"

bzr 2.3.4 on python 2.7.1 (Linux-2.6.38-16-generic-i686-with-
    Ubuntu-11.04-natty)
arguments: ['/usr/bin/bzr', 'pull']
plugins: bash_completion[2.3.4], bzrtools[2.3.1], explorer[1.1.2],
    extmerge[unknown], launchpad[2.3.4], netrc_credential_store[2.3.4],
    news_merge[2.3.4], push_and_update[0.2.0dev], qbzr[0.20.0]
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'zh_CN.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.