Bug 737628 - Deja-Dup sometimes crashes when attempting a backup
Summary: Deja-Dup sometimes crashes when attempting a backup
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: deja-dup
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-12 18:33 UTC by Nathan Thomas
Modified: 2011-10-23 14:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-23 14:27:31 UTC


Attachments (Terms of Use)

Description Nathan Thomas 2011-09-12 18:33:52 UTC
Description of problem:

I use Deja-Dup to back up my files to an external USB hard drive. The drive itself is formatted to ext4 and encrypted, but the backup itself is not encrypted. Sometimes (around 50% of the time): Deja-Dup crashes at the backup stage (i.e. after the scanning stage). The following error message is displayed:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1311, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1304, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1286, in main
    incremental_backup(sig_chain)
  File "/usr/bin/duplicity", line 509, in incremental_backup
    bytes_written = dummy_backup(tarblock_iter)
  File "/usr/bin/duplicity", line 185, in dummy_backup
    while tarblock_iter.next():
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 509, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 187, in get_delta_iter
    for new_path, sig_path in collated:
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 275, in collate2iters
    relem2 = riter2.next()
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 344, in combine_path_iters
    refresh_triple_list(triple_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 330, in refresh_triple_list
    new_triple = get_triple(old_triple[1])
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 316, in get_triple
    path = path_iter_list[iter_index].next()
  File "/usr/lib64/python2.7/site-packages/duplicity/diffdir.py", line 229, in sigtar2path_iter
    for tarinfo in tf:
  File "/usr/lib64/python2.7/site-packages/duplicity/tarfile.py", line 1211, in next
    tarinfo = self.tarfile.next()
  File "/usr/lib64/python2.7/site-packages/duplicity/tarfile.py", line 541, in next
    self.throwaway_until(self.next_chunk)
  File "/usr/lib64/python2.7/site-packages/duplicity/tarfile.py", line 523, in throwaway_until
    self.fileobj.read(bytes_to_read)
  File "/usr/lib64/python2.7/site-packages/duplicity/dup_temp.py", line 207, in read
    return self.fileobj.read(length)
  File "/usr/lib64/python2.7/gzip.py", line 252, in read
    self._read(readsize)
  File "/usr/lib64/python2.7/gzip.py", line 316, in _read
    self._read_eof()
  File "/usr/lib64/python2.7/gzip.py", line 338, in _read_eof
    hex(self.crc)))
IOError: CRC check failed 0x3fe231e3 != 0x31e88fa9L

Version info:
deja-dup 18.2.1-1.fc15
duplicity 0.6.14-1.fc15
python 2.7.1-7.fc15
Fedora 15 x86_64, GNOME 3.0.1

Thanks,
Nathan

Comment 1 Michael Terry 2011-09-12 18:42:33 UTC
This is upstream bug https://bugs.launchpad.net/deja-dup/+bug/676767

There is a fix in the 19.x development tree.  But as a workaround, delete ~/.cache/deja-dup


Note You need to log in before you can comment on or make changes to this bug.