rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] key error - crash on certain file


From: Ben Escoto
Subject: Re: [rdiff-backup-users] key error - crash on certain file
Date: Wed, 23 Nov 2005 21:23:57 -0600

>>>>> Dave Kempe <address@hidden>
>>>>> wrote the following on Wed, 23 Nov 2005 13:16:25 +1100
> Ben Escoto wrote:
> > Interesting, I've never been able to reproduce that bug (I haven't
> > seen it for years, but it gets reported occasionally on the list).
> > How much data is involved?  Small enough that could you tar it up and
> > have me download it?
> 
> I  deleted the old file that was causing problems and it crashed again 
> on another file. Its so small I tarred it up and attached it. the file 
> is part of an internet explorer cache on an smbfs mounted drive. The 
> file is not important, so I don't mind not backing it up, but 
> rdiff-backup crashing is bad.
> Here is the trace for this particular file:

After looking at this more closely it's not the possible bug I was
thinking of.  I don't think it's caused by any particular file.

This may be a silly question, but is possible there are two files in
your directory that have exactly the same name (I've seen it before
but think it's some kind of directory bug)?  As in, maybe

cd raid5/Support/temp/lisa/Local Settings/Temporary Internet
Files/Content.IE5/IVUDKFUP
ls

shows MumsDay_105x85[1].gif twice?

If not, this patch may give a bit more feedback to see what the
problem is:

--- rorpiter.py 24 Oct 2005 17:16:05 -0000      1.28
+++ rorpiter.py 24 Nov 2005 03:23:29 -0000
@@ -345,7 +345,9 @@
                self.cache_indicies.append(next_index)
 
                if len(self.cache_indicies) > self.cache_size: 
-                       del self.cache_dict[self.cache_indicies[0]]
+                       cur_index = self.cache_indicies[0]
+                       log.Log("Deleting %s from cache" % (cur_index,), 2)
+                       del self.cache_dict[cur_index]
                        del self.cache_indicies[0]
 
                return next_elem

-- 
Ben Escoto

Attachment: pgpH8CKgohvm7.pgp
Description: PGP signature


reply via email to

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