[kmail2] [Bug 343186] New: Timeout trying to get lock on each start of kmail

Martin Steigerwald Martin at Lichtvoll.de
Fri Jan 23 09:38:53 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=343186

            Bug ID: 343186
           Summary: Timeout trying to get lock on each start of kmail
           Product: kmail2
           Version: 4.14.2
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: Martin at Lichtvoll.de

Before I only had it something on high load, but now after redoing Akonadi from
scratch due to what seems to me a loss of the MySQL database, I get it
everytime I start KMail. Even after Akonadi indexed the local maildir.


Reproducible: Always

Steps to Reproduce:
I have no idea.

Maybe have a large one million mail local maildir, wipe all of Akonadi and let
it reindex it and then try?

Actual Results:  
After only a few seconds, after starting KMail, and while I am able to see the
folder list and mail lists just fine, I get the following dialog from KMail:



The Email program encountered a fatal error and will terminate now.
The error was:
Timeout trying to get lock.


I can only press "Ok" and then kmail finished.




martin at merkaba:~> LANG=C kmail
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kmail2(3146) KDirWatch::removeDir: doesn't know
"/home/martin/.kde/share/apps/messageviewer/themes/" 
kmail2(3146) KDirWatch::removeDir: doesn't know
"/usr/share/kde4/apps/messageviewer/themes/" 
martin at merkaba:~> kmail2(3146)/libakonadi
Akonadi::GetLockJob::Private::timeout: Timeout trying to get lock. Check who
has acquired the name "org.kde.pim.SpecialCollections" on DBus, using qdbus or
qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 
kmail2(3146)/libakonadi Akonadi::GetLockJob::Private::timeout: Timeout trying
to get lock. Check who has acquired the name "org.kde.pim.SpecialCollections"
on DBus, using qdbus or qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 
kmail2(3146)/libakonadi Akonadi::GetLockJob::Private::timeout: Timeout trying
to get lock. Check who has acquired the name "org.kde.pim.SpecialCollections"
on DBus, using qdbus or qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 
kmail2(3146)/libakonadi Akonadi::GetLockJob::Private::timeout: Timeout trying
to get lock. Check who has acquired the name "org.kde.pim.SpecialCollections"
on DBus, using qdbus or qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 
kmail2(3146)/libakonadi Akonadi::GetLockJob::Private::timeout: Timeout trying
to get lock. Check who has acquired the name "org.kde.pim.SpecialCollections"
on DBus, using qdbus or qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 
kmail2(3146)/libakonadi Akonadi::GetLockJob::Private::timeout: Timeout trying
to get lock. Check who has acquired the name "org.kde.pim.SpecialCollections"
on DBus, using qdbus or qdbusviewer. 
kmail2(3146)/libakonadi
Akonadi::SpecialCollectionsRequestJobPrivate::lockResult: Failed to get lock:
"Timeout trying to get lock." 
kmail2(3146) MailCommon::Kernel::emergencyExit: "The Email program encountered
a fatal error and will terminate now.
The error was:
Timeout trying to get lock." 

Expected Results:  
KMail just works.

I think I will try these steps next:

1) Log out, make sure no user processes anymore, wipe out /tmp and /var/tmp KDE
stuff, login, retry

2) Wipe KMail 2 configuration as well after I have wiped out and redone all of
Akonadi due to the major breakage yesterday I reported in kde-pim-ml just a
moment ago.

I am using database optimized Akonagi 1.13 git master branch. This has not
caused me any issues so far and reduced the MySQL load quite considerably.

Okay, now mysql is running wild on I/O again, so maybe Akonadi is still doing
something without Akonadiconsole reporting it, but still, I want to be able to
start KMail. Maybe the timeout is too low for my setup? Or it is an issue in
Akonadi?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list