bazaar fails in commit - revert - merge commands

Bug #1809738 reported by abdelmunem on 2018-12-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

bzr: ERROR: bzrlib.errors.ShortReadvError: readv() read 0 bytes rather than 1530821 bytes at 2496757671 for "d81f19e5852
94775327c893ae3b7eb33.pack"

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4821, in run
    self._revert_tree_to_revision(tree, revision, file_list, no_backup)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4827, in _revert_tree_to_revision
    report_changes=True)
  File "/usr/lib/python2.7/dist-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/workingtree.py", line 1342, in revert
    report_changes)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 2844, in revert
    working_tree, target_tree, tt, filenames, backups, pp)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 2870, in _prepare_revert_transform
    merge_modified, basis_tree)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transform.py", line 2988, in _alter_files
    target_tree.iter_files_bytes(deferred_files)):
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1564, in iter_files_bytes
    for record in self.texts.get_record_stream(text_keys, 'unordered', True):
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1456, in get_record_stream
    orig_keys, ordering, include_delta_closure):
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1609, in _get_remaining_record_stream
    for factory in batcher.yield_factories():
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1170, in yield_factories
    block_read_memo, block = blocks.next()
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 1412, in _get_blocks
    zdata = raw_records.next()
  File "/usr/lib/python2.7/dist-packages/bzrlib/repofmt/pack_repo.py", line 2043, in get_raw_records
    for names, read_func in reader.iter_records():
  File "/usr/lib/python2.7/dist-packages/bzrlib/pack.py", line 298, in _iter_records
    for record in self._iter_record_objects():
  File "/usr/lib/python2.7/dist-packages/bzrlib/pack.py", line 303, in _iter_record_objects
    record_kind = self.reader_func(1)
  File "/usr/lib/python2.7/dist-packages/bzrlib/pack.py", line 244, in reader_func
    return self._source.read(length)
  File "/usr/lib/python2.7/dist-packages/bzrlib/pack.py", line 200, in read
    self._next()
  File "/usr/lib/python2.7/dist-packages/bzrlib/pack.py", line 195, in _next
    offset, data = self.readv_result.next()
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/__init__.py", line 721, in _seek_and_read
    c_offset.length, actual=len(data))
ShortReadvError: readv() read 0 bytes rather than 1530821 bytes at 2496757671 for "d81f19e585294775327c893ae3b7eb33.pack
"

bzr 2.7.0dev1 on python 2.7.6 (Linux-3.13.0-112-generic-x86_64-with-
    Ubuntu-14.04-trusty)
arguments: ['/usr/bin/bzr', 'revert', 'views/applications/exams/examView.pug']
plugins: bash_completion[2.7.0dev1], changelog_merge[2.7.0dev1],
    grep[2.7.0dev1], launchpad[2.7.0dev1], netrc_credential_store[2.7.0dev1],
    news_merge[2.7.0dev1], po_merge[2.7.0dev1], stats[0.2.0dev],
    weave_fmt[2.7.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.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
    including this traceback and a description of the problem.

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

Other bug subscribers