repository on flash bzr pack error

Bug #680935 reported by VDas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

Trying to do bzr pack on flash drive. Getting error. Flash 8Gb checked with no chkdsk errors, 7Gb free (ntfs)

repository created by bzr init-repo
all branches created by bzr branch and synchronized by bzr push \ pull

bzr: ERROR: zlib.error: Error -5 while decompressing data

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 4468, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\repofmt\pack_repo.pyo", line 2399, in pack
  File "bzrlib\repofmt\pack_repo.pyo", line 1585, in pack
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 690, in _execute_pack_operations
  File "bzrlib\repofmt\pack_repo.pyo", line 746, in pack
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 474, in _create_pack_from_packs
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 444, in _copy_chk_texts
  File "bzrlib\groupcompress.pyo", line 1653, in _insert_record_stream
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 301, in next_stream
  File "bzrlib\groupcompress.pyo", line 438, in get_bytes_as
  File "bzrlib\groupcompress.pyo", line 538, in _prepare_for_extract
  File "bzrlib\groupcompress.pyo", line 151, in _ensure_content
error: Error -5 while decompressing data

bzr 2.2.1 on python 2.6.4 (Windows-post2008Server-6.1.7600)
arguments: ['bzr', 'pack']
encoding: 'cp1257', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.2.0]
  colo C:\Program Files\Bazaar\plugins\colo [0.1.0]
  explorer C:\Program Files\Bazaar\plugins\explorer [1.1.1]
  fastimport C:\Program Files\Bazaar\plugins\fastimport [0.9.0dev]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.2.1]
  loom C:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.2.1]
  news_merge C:\Program Files\Bazaar\plugins\news_merge [2.2.1]
  pipeline C:\Program Files\Bazaar\plugins\pipeline [unknown]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.19.2]
  rewrite C:\Program Files\Bazaar\plugins\rewrite [0.6.1]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.4]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.6]

*** 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.

Revision history for this message
Martin Packman (gz) wrote :

That's Z_BUF_ERROR and note <http://www.zlib.net/zlib_faq.html#faq05> which suggests this may be a logic error rather than data corruption.

Changed in bzr:
importance: Undecided → High
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: data-integrity
Revision history for this message
Martin Pool (mbp) wrote :

Despite that it's a different error code, I think it's still something that could be hit by data corruption, and considering that it's on a usb drive (which are typically less reliable) and that there have been no other dupes, I think that's what it is.

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.