Bug 147326 - "resource std.vcf locked" error on program shutdown
Summary: "resource std.vcf locked" error on program shutdown
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-28 14:35 UTC by reisenweber
Modified: 2007-07-11 14:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reisenweber 2007-06-28 14:36:00 UTC
Version:           1.9.1 (using KDE 3.5.1 Level "a" , SUSE 10.1)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.27-0.9-default

on shutdown of kmail, it complains the 'resource std.vcf is locked by program ""'.
very tricky to reproduce:
start kontact;
1)create "new mail", leave composer window open (at this moment, when closing Kontact, both windows would be correctly closed);
2)send a mail via komqueror "send URL as mail" (probably the crux this invokes kmail);
3)after mail is sent, close Kontact (now the composer window stays alive and kmail shows icon in systray, see difference to 1) );
4) via icon context close kmail 
-> resource locked, can not write, etc (4 requesters)
Comment 1 reisenweber 2007-06-28 14:52:18 UTC
all my contacts vanished 3 times this year. 2 times could recover them from a std.vcf_<n> file.
Guess this is related to this resource-lock error in combination with reboot
Comment 2 reisenweber 2007-06-28 15:30:21 UTC
have two stale locks size 0
0  5. Jun 21.59 _home_jr_.kde_share_apps_kabc_std.vcf.lock
0  5. Jun 21.59 _home_jr_.kde_share_apps_kabc_std.vcfnPZa7Aly
(plus a few older ones)

probably the above mentioned tricky procedure is nonsense: simple "new contact" fails too - same error-msg.

So modify the bug report to 
"there are stale locks. Why - and how to know & get rid of them as a normal user?"

(should i "RESOLVE" ?)
Comment 3 Thomas McGuire 2007-06-28 23:10:51 UTC
I think you describe the same issue as in bug 137515.
KMail's composer uses the addressbook, so it is affected by the lock problem as well I guess.

If you think this is the same as in bug 137515 as well, please close this bug report and add your comments to that one.
Comment 4 reisenweber 2007-07-11 14:29:06 UTC
closed. duplicate/related to bug 137515