Bug 243315 - KMail Crashes on Startup if Akonadi is running
Summary: KMail Crashes on Startup if Akonadi is running
Status: RESOLVED DUPLICATE of bug 242926
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.90
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 08:40 UTC by Blackpaw
Modified: 2010-07-01 14:57 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 Blackpaw 2010-07-01 08:40:59 UTC
Application: kmail (2.0 beta1)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
On first boot and login to KDE akonadi is running, trying to start KMail from this state always results in the  attached crash. If I stop akonadi (akonadictl stop, verified with ps -e|grep ak), then try to start KMail it starts fine, briefly displays the "akonadi not running" msg and starts akonadi itself with no issues.

There after I can use kmail with few :) issues, including stoping kmail and restarting it while akonadi is still running.

If I reboot than I have to repeat the whole process.

Akonadi is configured with one disconnect IMAP acc, Local Folders, Personal Contacts and the iCal calendar.

Using the KDE 4.5 RC1 platform SDK in Kubuntu 10.04
KDEPIM and KDEPIMPLATFORM are compiled from the 4.5 branch

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8b8f5d0780 (LWP 6336))]

Thread 2 (Thread 0x7f8b71c19710 (LWP 6348)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8b8355c90e in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f8b8355ca29 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f8b895b29ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f8b88b626cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b8f5d0780 (LWP 6336)):
[KCrash Handler]
#4  0x00007f8b89957136 in QVariant::QVariant(QVariant const&) () from /usr/lib/libQtCore.so.4
#5  0x00007f8b89cc8f67 in QDBusPendingReplyData::argumentAt(int) const () from /usr/lib/libQtDBus.so.4
#6  0x00007f8b8e16717a in QDBusPendingReply<QString, void, void, void, void, void, void, void>::operator QString() const () from /home/lindsay/kde/lib/libkmailprivate.so.4
#7  0x00007f8b8e164f54 in KMail::Util::findSieveUrlForAccount (a=0xe71630, ident=<value optimized out>) at /home/lindsay/kdesvn/kdepim/kmail/util.cpp:160
#8  0x00007f8b8e0e557f in KMail::Vacation::findURL (this=<value optimized out>) at /home/lindsay/kdesvn/kdepim/kmail/vacation.cpp:503
#9  0x00007f8b8e0e689d in Vacation (this=0xe74690, parent=<value optimized out>, checkOnly=true, name=<value optimized out>) at /home/lindsay/kdesvn/kdepim/kmail/vacation.cpp:434
#10 0x00007f8b8e119947 in KMMainWidget::slotCheckVacation (this=0xbfa230) at /home/lindsay/kdesvn/kdepim/kmail/kmmainwidget.cpp:2291
#11 0x00007f8b8e12d76d in KMMainWidget::qt_metacall (this=0xbfa230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xe72080)
    at /home/lindsay/kdesvn/build/kdepim/kmail/kmmainwidget.moc:402
#12 0x00007f8b8994866e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007f8b8ac1382f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f8b8abbe84c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f8b8abc42ed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f8b8efec6b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#17 0x00007f8b8993687c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f8b899397a2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0x00007f8b89962e33 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007f8b7facf8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x00007f8b7fad3748 in ?? () from /lib/libglib-2.0.so.0
#22 0x00007f8b7fad38fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#23 0x00007f8b89962973 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f8b8ac6fdee in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f8b899355b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0x00007f8b8993598c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f8b89939a3b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#28 0x00000000004031ec in main (argc=<value optimized out>, argv=<value optimized out>) at /home/lindsay/kdesvn/kdepim/kmail/main.cpp:145

Possible duplicates by query: bug 242926.

Reported using DrKonqi
Comment 1 Thomas McGuire 2010-07-01 14:57:21 UTC

*** This bug has been marked as a duplicate of bug 242926 ***