Bug 298958 - kmail crashes on startup on new installation
Summary: kmail crashes on startup on new installation
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-28 05:04 UTC by illumilore
Modified: 2012-08-04 08:27 UTC (History)
1 user (show)

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 illumilore 2012-04-28 05:04:13 UTC
On a new installation of kubuntu 12.04, attempting to launch kmail gives me following error followed by it shutting down.

KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection.


$ "/usr/bin/kmail(2788)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
kmail2(2788)/nepomuk (library) {anonymous}::GlobalModelContainer::init: Connecting to local socket "/tmp/ksocket-ill/nepomuk-socket"
"/usr/bin/kmail(2788)" Soprano: "QLocalSocket::connectToServer: Invalid name"
kmail2(2788)/nepomuk (library) {anonymous}::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/tmp/ksocket-ill/nepomuk-socket"
"/usr/bin/kmail(2788)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(2788)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(2788)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(2788)" Soprano: "Unsupported operation (2)": "Invalid model"
"/usr/bin/kmail(2788)" Soprano: "Invalid iterator."
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJob::slotResult: Failed SpecialCollectionsRequestJob::slotResult "Unknown error. (Failed to fetch the resource collection.)" 
kmail2(2788) MailCommon::Kernel::emergencyExit: "KMail encountered a fatal error and will terminate now.
The error was:
Failed to fetch the resource collection." 
kmail2(2788)/libakonadi Akonadi::SpecialCollectionsRequestJobPrivate::resourceScanResult: Failed to request resource "akonadi_maildir_resource_0" : "Unknown error. (Failed to fetch the resource collection.)"
Comment 1 Martin Koller 2012-07-28 22:46:42 UTC
This seems to be some setup problem. kmail does not crash here but exits due to the mentioned error.
Can you check if akonadi is already running when you start kmail and try again, please ?
Also, what akonadi resources are configured ?
Comment 2 illumilore 2012-07-29 01:02:19 UTC
About 30 processes are running that have akonadi in their names. And kmail will reliably crash on startup on a new kubuntu install without messing with akonadi resources for me.