On Wednesday 14 July 2010 18:29:58 Mick wrote:
> Over the last two days I have noticed a lot of crashes every time I
> start kmail.  The popup says:
> 
> Details:  Executable: akonadi_maildir_resource PID:27916 Signal: 6
> (Aborted)
> 
> This pop up keeps repeating itself with different PIDs.  Eventually,
> all settles and I can use kmail.
> 
> The problem has started without me updating any KDE related package (I
> think) and have run lafilefixer and revdep-rebuild for good measure.
> 
> It is worth mentioning that with KDE-4.4.4 akonadi would crash
> randomly when trying to launch kmail and take kmail down with it.
> Restarting kmail worked on the second attempt.  Unfortunately, the
> multiple popups are hindering productivity and am thinking of calling
> it a day on kmail.
> 
> Any ideas on what is causing this and more importantly how I could fix it?
> 
> I'm attaching the errors when I launch kmail from a terminal.
> 
> PS.  While I'm at it:  any other good mail clients out there (other
> than T'bird) which include an address book and S/MIME, GnuPG, but do
> *not* require a lorry load of gnome libs?


Things go much easier when your erorr log is only 15k if you just in-line it. 
You made an attachment which is gzipped. The effort that implies almost bad me 
delete your mail and no answer as being tl;dr

So here it is:

$ kmail
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_klauncher.so
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kded4.so
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kbuildsycoca4.so
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kconf_update.so
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit4: preparing to launch /usr/lib64/libkdeinit4_kwalletd.so
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"org.freedesktop.DBus.Error.ServiceUnknown - The name 
org.kde.nepomuk.services.nepomukstorage was not provided by any .service 
files"
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"org.freedesktop.DBus.Error.ServiceUnknown - The name 
org.kde.nepomuk.services.nepomukstorage was not provided by any .service 
files"
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"QLocalSocket::connectToServer: Invalid name"
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"org.freedesktop.DBus.Error.ServiceUnknown - The name 
org.kde.nepomuk.services.nepomukstorage was not provided by any .service 
files"
"/usr/bin/kmail(12552)" Error in thread 140590807091040 : 
"QLocalSocket::connectToServer: Invalid name"
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[akonadiserver] QSqlDatabasePrivate::removeDatabase: connection 
'initConnection' is still in use, all queries will cease to work.
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] DbInitializer::run()
[akonadiserver] checking table  "SchemaVersionTable"
[akonadiserver] checking table  "ResourceTable"
[akonadiserver] checking table  "CollectionTable"
[akonadiserver] checking table  "MimeTypeTable"
[akonadiserver] checking table  "PimItemTable"
[akonadiserver] checking table  "FlagTable"
[akonadiserver] checking table  "PartTable"
[akonadiserver] checking table  "CollectionAttributeTable"
[akonadiserver] checking relation  "PimItemFlagRelation"
[akonadiserver] checking relation  "CollectionMimeTypeRelation"
[akonadiserver] checking relation  "CollectionPimItemRelation"
[akonadiserver] DbInitializer::run() done
[akonadiserver] skipping update 2
[akonadiserver] skipping update 3
[akonadiserver] skipping update 4
[akonadiserver] skipping update 8
[akonadiserver] skipping update 10
[akonadiserver] skipping update 12
[akonadiserver] skipping update 13
[akonadiserver] DbUpdater: update to version: 14  mandatory: false  code: 
"UPDATE ResourceTable SET isVirtual = true WHERE name = 
'akonadi_nepomuktag_resource';
[akonadiserver] UPDATE ResourceTable SET isVirtual = true WHERE name = 
'akonadi_search_resource';"
[akonadiserver] DBUpdater: query error: "no such column: true Unable to 
execute statement" " "


akonadi is attempting to update your database structure when it starts. This 
accounts for any long start-up times you are experiencing. You should try 
access the db manually (with akonadi and kmail both dead) and attempt the 
update. Investigate and see why it doesn't work. It's 100% bog standard sql


[akonadiserver] Query was:  "UPDATE ResourceTable SET isVirtual = true WHERE 
name = 'akonadi_nepomuktag_resource';
[akonadiserver] UPDATE ResourceTable SET isVirtual = true WHERE name = 
'akonadi_search_resource';"
[akonadiserver] Target version was:  14
[akonadiserver] Mandatory:  false
[akonadiserver] Failed to commit transaction for database update
[akonadiserver] Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] QDBusConnectionPrivate::connectSignal: received error from D-
Bus server while connecting signal to 
QDBusConnectionInterface::NameOwnerChanged(QString,QString,QString): 
org.freedesktop.DBus.Error.NoMemory (Not enough memory)
[akonadiserver] Nepomuk QueryServer interface not available!
[akonadiserver] DataStore::unhideAllPimItems()
[akonadiserver] UPDATE ResourceTable SET isVirtual = true WHERE name = 
'akonadi_search_resource';"
[akonadiserver] Target version was:  14
[akonadiserver] Mandatory:  false
[akonadiserver] Failed to commit transaction for database update
[akonadiserver] Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
                     ^^^^^^^

akonadi docs specifically recommend you do not use sqlite. It just is not up 
to the job. I think you should just delete this database, start akonadi and 
kmail and let it rebuild all the stuff it wants. This implies and lot of 
starting over on your behalf.


[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] QDBusConnectionPrivate::connectSignal: received error from D-
Bus server while connecting signal to 
QDBusConnectionInterface::NameOwnerChanged(QString,QString,QString): 
org.freedesktop.DBus.Error.NoMemory (Not enough memory)
                                     ^^^^^^^^^^^^^^^^^

Oops......


[akonadiserver] Nepomuk QueryServer interface not available!
[akonadiserver] DataStore::unhideAllPimItems()
PLUGINS:  "/usr/share/akonadi/agents" 
PLUGINS:  ("birthdaysresource.desktop", "contactsresource.desktop", 
"icalresource.desktop", "imapresource.desktop", "kabcresource.desktop", 
"kcalresource.desktop", "knutresource.desktop", "kolabproxyresource.desktop", 
"localbookmarksresource.desktop", "maildirresource.desktop", 
"maildispatcheragent.desktop", "mboxresource.desktop", "microblog.desktop", 
"mtdummyresource.desktop", "nepomukcalendarfeeder.desktop", 
"nepomukcontactfeeder.desktop", "nepomuktagresource.desktop", 
"nntpresource.desktop", "notesresource.desktop", "pop3resource.desktop", 
"vcarddirresource.desktop", "vcardresource.desktop") 
search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin", 
"/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3", "/opt/ICAClient") 
PLUGINS inserting:  "akonadi_birthdays_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_contacts_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_ical_resource" 1 ("Resource") 
PLUGINS inserting:  "akonadi_imap_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kabc_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kcal_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_knut_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_kolabproxy_resource" 0 ("Resource", "Unique", 
"NoConfig") 
PLUGINS inserting:  "akonadi_localbookmarks_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_maildir_resource" 84 ("Resource") 
PLUGINS inserting:  "akonadi_maildispatcher_agent" 0 ("Unique", "Autostart", 
"NoConfig") 
PLUGINS inserting:  "akonadi_mbox_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_microblog_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_mailtransport_dummy_resource" 0 ("Resource", 
"MailTransport") 
PLUGINS inserting:  "akonadi_nepomuk_calendar_feeder" 0 ("Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nepomuk_contact_feeder" 0 ("Unique", "Autostart", 
"NoConfig") 
PLUGINS inserting:  "akonadi_nepomuktag_resource" 0 ("Resource", "Virtual", 
"Unique", "NoConfig") 
PLUGINS inserting:  "akonadi_nntp_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_notes_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_pop3_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_vcarddir_resource" 0 ("Resource") 
PLUGINS inserting:  "akonadi_vcard_resource" 1 ("Resource") 
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_40(12617): 
Couldn't remove lockfile "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock"
^^^^^^^^^^^^^^^^^^^^^^^^


Does this file exist?


[/usr/bin/akonadi_maildir_resource] terminate called after throwing an 
instance of 'std::bad_alloc'
[/usr/bin/akonadi_maildir_resource] what():  std::bad_alloc
[/usr/bin/akonadi_maildir_resource] KCrash: Application 
'akonadi_maildir_resource' crashing...
kdeinit4: preparing to launch /usr/lib64/kde4/libexec/drkonqi
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_32(12604): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_35(12610): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_33(12607): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_39(12615): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_4(12616): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_43(12623): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_38(12614): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_36(12611): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_41(12619): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_37(12613): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] qUncompress: Input data is corrupted
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_36(12611): stream 
is bad :-(  status= 1
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_50(12633): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_54(12637): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 2
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_43(12623): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_51(12634): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 1
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] qUncompress: Input data is corrupted
kmail(12552)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/usr/bin/akonadi_maildir_resource] qUncompress: Input data is corrupted
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_36(12611): stream 
is bad :-(  status= 1
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_58(12643): stream 
is bad :-(  status= 1
kmail(12552): Couldn't remove lockfile "/var/tmp/kdecache-michael/kpc/kde-
icon-cache.lock" 
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[akonadiserver] Database "/home/michael/.local/share/akonadi/akonadi.db" 
opened using driver "QSQLITE"
[/usr/bin/akonadi_maildir_resource] akonadi_maildir_resource_56(12640): Failed 
to lock file "/var/tmp/kdecache-michael/kpc/kde-icon-cache.lock" , last result 
= 2
kmail(12552)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:



I must be honest that on the whole I'm left with an overwhelming feeling that 
you simply did not bother to read the errors.

This is a bad habit for a gentoo user. Very bad indeed.


-- 
alan dot mckinnon at gmail dot com

Reply via email to