[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #23157] Duplicity crash 'IOError: CRC check fai

From: Andrew Simpson
Subject: [Duplicity-tracker] [bug #23157] Duplicity crash 'IOError: CRC check failed'
Date: Sat, 03 May 2008 22:52:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0


                 Summary: Duplicity crash 'IOError: CRC check failed'
                 Project: duplicity
            Submitted by: andrewsimpson
            Submitted on: Saturday 05/03/2008 at 22:52
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



Duplicity is having reproducible crashes on one of my machines:

1. Running Debian Etch with Duplicity 0.4.10.

2. Do a full backup over an existing backup.

3. Verify data with Duplicity - crash occurs

No crash after doing a full backup not over existing backup.   I had the same
problem with an earlier version of Duplicity, so I upgraded to 0.4.10.

The problem does not occur on another machine running Kubuntu 7.10.   

This is script used for backups:





/usr/local/bin/duplicity -v5 --no-encryption  \
                         --full-if-older-than 1M \
                         --include ${HOME}  \
                         --exclude '**'  \

/usr/local/bin/duplicity remove-all-but-n-full 2 \
                         -v5 --no-encryption  \
                         --force \


The crash occurs after one month (1M) when new full backup is done.  I have
encoutered this over two consecutive months now.  

This is the result of verify:

duplicity verify -v4 --no-encryption --include /home/asimpson  --exclude '**'
scp://address@hidden/backup /

Last full backup date: Sun May  4 09:41:52 2008
Difference found: File home/asimpson has mtime Sun May  4 10:00:02 2008,
expected Sun May  4 09:41:31 2008
Traceback (most recent call last):
  File "/usr/local/bin/duplicity", line 463, in ?
  File "/usr/local/bin/duplicity", line 458, in with_tempdir
  File "/usr/local/bin/duplicity", line 430, in main
  File "/usr/local/bin/duplicity", line 288, in verify
    for backup_ropath, current_path in collated:
  File "/usr/local/lib/python2.4/site-packages/duplicity/diffdir.py", line
170, in collate2iters
    try: relem1 = riter1.next()
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
430, in integrate_patch_iters
    for patch_seq in collated:
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
331, in yield_tuples
    setrorps(overflow, elems)
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
320, in setrorps
    try: elems[i] = iter_list[i].next()
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
97, in difftar2path_iter
    multivol_fileobj.close() # aborting in middle of multivol
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
204, in close
    if not self.addtobuffer(): break
  File "/usr/local/lib/python2.4/site-packages/duplicity/patchdir.py", line
189, in addtobuffer
    self.buffer += fp.read()
  File "/usr/local/lib/python2.4/site-packages/duplicity/tarfile.py", line
1325, in _readnormal
    return self.fileobj.read(bytestoread)
  File "/usr/local/lib/python2.4/site-packages/duplicity/dup_temp.py", line
103, in read
    def read(self, length = -1): return self.fileobj.read(length)
  File "/usr/lib/python2.4/gzip.py", line 225, in read
  File "/usr/lib/python2.4/gzip.py", line 290, in _read
  File "/usr/lib/python2.4/gzip.py", line 309, in _read_eof
    raise IOError, "CRC check failed"
IOError: CRC check failed


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]