bugrdiff-backup - Bugs: bug #42463, rdiff-backup 1.3.3 crashed --...

 
 

bug #42463: rdiff-backup 1.3.3 crashed -- zlib.error: Error -3 while decompressing: invalid stored block lengths

Submitted by:  Brother Lister <bblister>
Submitted on:  Fri 30 May 2014 05:32:04 AM UTC  
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 12 Feb 2016 09:01:14 AM UTC, comment #1: 

Your repository was corrupt. Its hard to hear I know, but backups of backups are the only way to be sure about this.

david kempe <davekempe>
Project Administrator
Fri 30 May 2014 05:32:04 AM UTC, original submission:  

First, I searched the mailing list for "invalid stored block lengths" but I did not find any relavent info:
http://lists.nongnu.org/archive/cgi-bin/namazu.cgi?query=invalid+stored+block+lengths&submit=Search%21&idxname=rdiff-backup-bugs&max=20&result=normal&sort=score

My problem is that a backup has failed, and from that time I can no longer use this archive. I haven't found any
solution yet and no workarround.

Operating system: 9.2-STABLE FreeBSD 9.2-STABLE #1 r264312: amd64

Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 306, in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 326, in Main
    take_action(rps)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 282, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 339, in Backup
    backup_final_init(rpout)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 504, in backup_final_init
    checkdest_if_necessary(rpout)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 938, in checkdest_if_necessary
    dest_rp.conn.regress.Regress(dest_rp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 71, in Regress
    for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 197, in iterate_meta_rfs
    for raw_rf, metadata_rorp in collated:
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
    try: relem2 = riter2.next()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 274, in iterate
    for record in self.iterate_records():
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 283, in iterate_records
    next_pos = self.get_next_pos()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 266, in get_next_pos
    newbuf = self.fileobj.read(self.blocksize)
  File "/usr/local/lib/python2.7/gzip.py", line 261, in read
    self._read(readsize)
  File "/usr/local/lib/python2.7/gzip.py", line 312, in _read
    uncompress = self.decompress.decompress(buf)
zlib.error: Error -3 while decompressing: invalid stored block lengths

I tried also:
rdiff-backup --check-destination-dir --force XXXXXXXXXXXX

but the result:

Exception 'Error -3 while decompressing: invalid stored block lengths' raised of class '<class 'zlib.error'>':
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 306, in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 326, in Main
    take_action(rps)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 284, in take_action
    elif action == "check-destination-dir": CheckDest(rps[0])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 888, in CheckDest
    dest_rp.conn.regress.Regress(dest_rp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 71, in Regress
    for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 197, in iterate_meta_rfs
    for raw_rf, metadata_rorp in collated:
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
    try: relem2 = riter2.next()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 274, in iterate
    for record in self.iterate_records():
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 283, in iterate_records
    next_pos = self.get_next_pos()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 266, in get_next_pos
    newbuf = self.fileobj.read(self.blocksize)
  File "/usr/local/lib/python2.7/gzip.py", line 261, in read
    self._read(readsize)
  File "/usr/local/lib/python2.7/gzip.py", line 312, in _read
    uncompress = self.decompress.decompress(buf)

Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 306, in error_check_Main
    try: Main(arglist)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 326, in Main
    take_action(rps)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 284, in take_action
    elif action == "check-destination-dir": CheckDest(rps[0])
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/Main.py", line 888, in CheckDest
    dest_rp.conn.regress.Regress(dest_rp)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 71, in Regress
    for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/regress.py", line 197, in iterate_meta_rfs
    for raw_rf, metadata_rorp in collated:
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/rorpiter.py", line 100, in Collate2Iters
    try: relem2 = riter2.next()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 274, in iterate
    for record in self.iterate_records():
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 283, in iterate_records
    next_pos = self.get_next_pos()
  File "/usr/local/lib/python2.7/site-packages/rdiff_backup/metadata.py", line 266, in get_next_pos
    newbuf = self.fileobj.read(self.blocksize)
  File "/usr/local/lib/python2.7/gzip.py", line 261, in read
    self._read(readsize)
  File "/usr/local/lib/python2.7/gzip.py", line 312, in _read
    uncompress = self.decompress.decompress(buf)
zlib.error: Error -3 while decompressing: invalid stored block lengths

Brother Lister <bblister>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by davekempe (Posted a comment)
  • -email is unavailable- added by bblister (Submitted the item)
  • -email is unavailable- added by bblister
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-12 davekempe Severity3 - Normal => 2 - Minor
        StatusNone => Wont Fix
        Open/ClosedOpen => Closed
    2014-05-30 bblister Carbon-Copy- => Added bblister

    Back to the top


    Powered by Savane 3.5