Bug 236397 - Kmail crashes if Akonadi not available
Summary: Kmail crashes if Akonadi not available
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-05 07:47 UTC by Robert Wenner
Modified: 2010-08-09 00:52 UTC (History)
2 users (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 Robert Wenner 2010-05-05 07:47:16 UTC
Version:           1.13.2 (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Kubuntu 10.4 lucid lynx.

Kmail crashes very soon (within seconds) after starting, but always when trying to write a new email.

Looks like the actual root cause here is Akonadi not running, which in turn had problems with mysql. After I had fixed these, kmail seemed to keep running.

Still it would be nice to recover a little more gracefully if Akonadi isn't available...



The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x0000000000000021 in ?? ()
#6  0x00007fabaea78343 in KMail::JobScheduler::slotJobFinished (this=0xaf3c30) at ../../kmail/jobscheduler.cpp:235
#7  0x00007fabaea783e1 in KMail::JobScheduler::qt_metacall (this=0xaf3c30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./jobscheduler.moc:75
#8  0x00007fabad2bfe3f in QMetaObject::activate (sender=0x261b0e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff379c1d70) at kernel/qobject.cpp:3293
#9  0x00007fabae9ead69 in ~FolderJob (this=0x261b0e0, __in_chrg=<value optimized out>) at ../../kmail/folderjob.cpp:96
#10 0x00007fabaea75e33 in ~MaildirCompactionJob (this=0x261b0e0, __in_chrg=<value optimized out>) at ../../kmail/compactionjob.cpp:216
#11 0x00007fabaea7876c in ~JobScheduler (this=0xaf3c30, __in_chrg=<value optimized out>) at ../../kmail/jobscheduler.cpp:64
#12 0x00007fabad2bba5c in QObjectPrivate::deleteChildren (this=0xd31960) at kernel/qobject.cpp:1986
#13 0x00007fabad2c2ae4 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:975
#14 0x00007fabae8fa2aa in ~KMKernel (this=0x7fff379c1f50, __in_chrg=<value optimized out>) at ../../kmail/kmkernel.cpp:210
#15 0x000000000040349a in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:161
Comment 1 Maciej Mrozowski 2010-08-04 18:06:56 UTC
I think it's already solved in kde 4.4.4 (and 4.4.5) and corresponding akonadi (1.3.1). Now, when akonadi couldn't be started, kmail gracefully quits.
Comment 2 Björn Ruberg 2010-08-09 00:52:16 UTC
Yeah, it exits.