[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Duplicity crashes on locked files (windows)
From: |
Georg Lutz |
Subject: |
Re: [Duplicity-talk] Duplicity crashes on locked files (windows) |
Date: |
Thu, 9 Apr 2009 16:38:11 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.8-5.el4.centos.3 |
>
>>
>> It seems like you explained - one can open the file but not access it.
>> BTW
>> the crash can also be reproduced with opened Excel or OOWrite files.
>
> This patch seems to work for me with OOWrite files. Care to give it a
> try with Outlook files?
>
Hi Ken,
just tried it with outlook. Unfourtunately the effect is the same:
Duplicity keeps crashing. But I must admit that I cannot reproduce it
anymore with OOWrite. I tried to track the problem a bit down and looked
through the processmon logs.
I am not very familiar with Windows locking semantics, but I think the
problem is the exclusive lock (also blocking other read requests):
18019 16:40:43,8549556 OUTLOOK.EXE 2536 LockFile
D:\Documents and
Settings\GeLutz\Local Settings\Application
Data\Microsoft\Outlook\archiv.pst SUCCESS Exclusive: True, Offset: 533,
Length: 3.176.520.908
Later on python tries to read a range within this locking range. It fails,
because it is exclusively locked:
70292 16:41:05,3581132 python.exe 3728 ReadFile
D:\Documents and
Settings\GeLutz\Local Settings\Application
Data\Microsoft\Outlook\archiv.pst FILE LOCK CONFLICT Offset: 0,
Length:
65.536
Perhaps the exceptions needs really to be caught when reading the file
with "read(length)". I think this is not only windows related. It could
happen under linux too when e.g. reading a large file and the NFS server
went down or some filesystem errors occurs.
In that cases I would expect that the backup application just skips the
file but does not crash. :-)
Regards
Georg
duplicity_log.zip
Description: Zip archive
- Re: Re: [Duplicity-talk] Duplicity crashes on locked files (windows), (continued)
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows), Kenneth Loafman, 2009/04/07
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows), Georg Lutz, 2009/04/08
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows), Kenneth Loafman, 2009/04/08
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows), Georg Lutz, 2009/04/08
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows), Kenneth Loafman, 2009/04/08
- [Duplicity-talk] Error 30 TypeError: bad operand type for unary +: 'str', Bonvicini, Alessandro, 2009/04/09
- Re: [Duplicity-talk] Error 30 TypeError: bad operand type for unary +: 'str', Kenneth Loafman, 2009/04/09
- Re: [Duplicity-talk] Error 30 TypeError: bad operand type for unary +: 'str', Jacob, 2009/04/09
- Re: [Duplicity-talk] Error 30 TypeError: bad operand type for unary +: 'str', Kenneth Loafman, 2009/04/09
- Re: [Duplicity-talk] Duplicity crashes on locked files (windows),
Georg Lutz <=
Re: [Duplicity-talk] Duplicity crashes on locked files (windows), NwDsk, 2009/04/25