[master] zlib "incorrect data check" error while decompressing should mention hardware error and the associated filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Jonathan Riddell |
Bug Description
I was pushing a nontrivial branch to a new branch on a USB disk... the source branch is a couple years old, has a few hundred revisions, and takes up about 800mb, so making a simple set of repro steps could be quite a challenge.
G:\>mkdir Development
G:\>cd Development
G:\Development>bzr init
Created a standalone tree (format: 2a)
G:\Development>c:
C:\Users\
bzr: ERROR: zlib.error: Error -3 while decompressing: incorrect data check
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\push.pyo", line 128, in _show_push_branch
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\merge.pyo", line 1538, in merge_inner
File "bzrlib\merge.pyo", line 508, in do_merge
File "bzrlib\merge.pyo", line 480, in _do_merge_to
File "bzrlib\merge.pyo", line 620, in do_merge
File "bzrlib\merge.pyo", line 664, in _compute_transform
File "bzrlib\merge.pyo", line 1166, in merge_contents
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
error: Error -3 while decompressing: incorrect data check
bzr 2.0.2 on python 2.5.4 (Windows-
arguments: ['bzr', 'push', 'g:\\Development']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files (x86)\Bazaar\
explorer C:\Program Files (x86)\Bazaar\
launchpad C:\Program Files (x86)\Bazaar\
netrc_
qbzr C:\Program Files (x86)\Bazaar\
rebase C:\Program Files (x86)\Bazaar\
svn C:\Program Files (x86)\Bazaar\
upload C:\Program Files (x86)\Bazaar\
xmloutput C:\Program Files (x86)\Bazaar\
*** 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:/
including this traceback and a description of the problem.
Related branches
- Jelmer Vernooij (community): Approve (code)
- John A Meinel: Needs Fixing
-
Diff: 60 lines (+27/-1)3 files modifiedbzrlib/errors.py (+12/-0)
bzrlib/groupcompress.py (+4/-1)
bzrlib/tests/blackbox/test_branch.py (+11/-0)
summary: |
- zlib "incorrect data check" error while decompressing should mention - harware error and the associated filename + [master] zlib "incorrect data check" error while decompressing should + mention harware error and the associated filename |
Changed in bzr: | |
importance: | Low → Medium |
tags: | added: data-integrity error-reporting |
summary: |
[master] zlib "incorrect data check" error while decompressing should - mention harware error and the associated filename + mention hardware error and the associated filename |
Changed in bzr: | |
assignee: | canonical-bazaar (canonical-bazaar) → Jonathan Riddell (jr) |
status: | Confirmed → In Progress |
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzr: | |
milestone: | none → 2.4b4 |
I tried copying all files from the source branch to the destination, then ran "bzr check" at the destination, and got a slightly different error. It might be helpful to name the file that was being processed when this happened...
Checking working tree at 'H:/Development'. //H:/Developmen t/'. //H:/Developmen t/'.
Checking branch at 'file:/
Checking repository at 'file:/
bzr: ERROR: zlib.error: Error -3 while decompressing data: invalid distance too far back
Traceback (most recent call last): commands. pyo", line 853, in exception_ to_return_ code commands. pyo", line 1055, in run_bzr commands. pyo", line 661, in run_argv_aliases commands. pyo", line 665, in run_direct cleanup. pyo", line 122, in run_simple cleanup. pyo", line 156, in _do_with_cleanups builtins. pyo", line 3225, in run decorators. pyo", line 140, in read_locked repository. pyo", line 2777, in check repository. pyo", line 2781, in _check repository. pyo", line 1178, in _check_inventories repository. pyo", line 1229, in _do_check_ inventories groupcompress. pyo", line 1413, in get_record_stream groupcompress. pyo", line 1518, in _get_remaining_ record_ stream groupcompress. pyo", line 2006, in get_build_details groupcompress. pyo", line 1941, in _get_entries btree_index. pyo", line 1162, in iter_entries btree_index. pyo", line 1116, in _walk_through_ internal_ nodes btree_index. pyo", line 957, in _get_leaf_nodes btree_index. pyo", line 934, in _get_nodes btree_index. pyo", line 711, in _get_and_ cache_nodes btree_index. pyo", line 1538, in _read_nodes
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\check.pyo", line 456, in check_dwim
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\check.pyo", line 102, in check
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\index.pyo", line 1321, in iter_entries
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
error: Error -3 while decompressing data: invalid distance too far back
bzr 2.1.1 on python 2.5.4 (Windows- Vista-6. 1.7600) plugins\ bzrtools [2.1.0] plugins\ explorer [1.0.1] plugins\ launchpad [2.1.1] credential_ store C:\Program Files (x86)\Bazaar\ plugins\ netrc_credentia l_store [2.1.1] plugins\ news_merge [2.1.1] plugins\ qbzr [0.18.4] plugins\ rebase [0.5.5] plugins\ svn [1.0.2] plugins\ upload [1.0.0dev] plugins\ xmloutput [0.8.7.dev]
arguments: ['bzr', 'check']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files (x86)\Bazaar\
explorer C:\Program Files (x86)\Bazaar\
launchpad C:\Program Files (x86)\Bazaar\
netrc_
news_merge C:\Program Files (x86)\Bazaar\
qbzr C:\Program Files (x86)\Bazaar\
rebase C:\Program Files (x86)\Bazaar\
svn C:\Program Files (x86)\Bazaar\
upload C:\Program Files (x86)\Bazaar\
xmloutput C:\Program Files (x86)\Bazaar\
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including t...