bzr crashed with ShortReadvError in _seek_and_read(): readv() read 0 bytes rather than 182 bytes at 0 for "9063b4ffd78bea8fc7e49a2fad8d066b.rix"

Bug #1019549 reported by Serpent Consulting Services
This bug report is a duplicate of:  Bug #413430: ShortReadvError on index file. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

branch: bzr+ssh://bazaar.launchpad.net/~gekkotek/mws-migration/fedexsms_integration/
--bzr pull
Using saved parent location: bzr+ssh://bazaar.launchpad.net/~gekkotek/mws-migration/fedexsms_integration/
bzr: ERROR: bzrlib.errors.ShortReadvError: readv() read 0 bytes rather than 182 bytes at 0 for "9063b4ffd78bea8fc7e49a2fad8d066b.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 182 bytes at 0 for "9063b4ffd78bea8fc7e49a2fad8d066b.rix"

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2012-06-30T10:52.crash
if a bug-reporting window does not automatically appear.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-15.61-generic 2.6.38.8
Uname: Linux 2.6.38-15-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.3.4
CommandLine: ['/usr/bin/bzr', 'pull']
CrashDb: bzr
Date: Sat Jun 30 16:22:39 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
Locale: en_IN
PackageArchitecture: all
Platform: Linux-2.6.38-15-generic-i686-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr pull
ProcEnviron:
 SHELL=/bin/bash
 LC_MESSAGES=en_IN.UTF-8
 LANG=en_IN
 LANGUAGE=en_IN:en
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with ShortReadvError in _seek_and_read(): readv() read 0 bytes rather than 182 bytes at 0 for "9063b4ffd78bea8fc7e49a2fad8d066b.rix"
UpgradeStatus: No upgrade log present (probably fresh install)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :
Changed in bzr (Ubuntu):
status: New → Confirmed
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #1001169, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.