Bug 294426 - Kontact crashes on alternate startups
Summary: Kontact crashes on alternate startups
Status: RESOLVED NOT A BUG
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 13:29 UTC by Alex Wright
Modified: 2012-02-23 14:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Wright 2012-02-19 13:29:38 UTC
Application: kontact (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
- What I was doing when the application crashed:

The first launch of Kontact crashes immediately.
The next launch works, but fails to synchronise email properly.
The next launch crashes.
Rinse, repeat!

Kontact is closed with the quit menu item between launches.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1e89301760 (LWP 25042))]

Thread 3 (Thread 0x7f1e6e99d700 (LWP 25043)):
#0  0x00007f1e8117c32c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1e85b03264 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f1e81177c2c in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1e8683e7bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1e6e09c700 (LWP 25044)):
#0  0x00007f1e86835c83 in poll () from /lib64/libc.so.6
#1  0x00007f1e801d7d50 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1e801d8201 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1e87c50ef6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f1e87c21752 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f1e87c21a05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f1e87b21cf5 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f1e87b24307 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f1e81177c2c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f1e8683e7bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1e89301760 (LWP 25042)):
[KCrash Handler]
#6  0x00007f1e88f3ae18 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.4
#7  0x00007f1e88f36287 in Kontact::MainWindow::activateInitialPluginModule() () from /usr/lib64/libkontactprivate.so.4
#8  0x000000000040368a in KontactApp::newInstance() ()
#9  0x00007f1e886bd241 in KUniqueApplicationAdaptor::newInstance(QByteArray const&, QByteArray const&) () from /usr/lib64/libkdeui.so.5
#10 0x00007f1e886bd2c4 in KUniqueApplicationAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#11 0x00007f1e886bd40b in KUniqueApplicationAdaptor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#12 0x00007f1e83942612 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#13 0x00007f1e8394375d in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) () from /usr/lib64/qt4/libQtDBus.so.4
#14 0x00007f1e83943fa9 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#15 0x00007f1e839441bb in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#16 0x00007f1e87c36f7e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f1e86fcf635 in QApplication::event (this=0x7fff39642450, e=0x1c7f190) at kernel/qapplication.cpp:2532
#18 0x00007f1e86fcd004 in QApplicationPrivate::notify_helper (this=0xb666a0, receiver=0x7fff39642450, e=0x1c7f190) at kernel/qapplication.cpp:4550
#19 0x00007f1e86fd1b6f in QApplication::notify (this=<optimized out>, receiver=0x7fff39642450, e=0x1c7f190) at kernel/qapplication.cpp:4411
#20 0x00007f1e886b7356 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f1e87c226e3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f1e87c25c0f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f1e87c50d13 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f1e801d7842 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f1e801d8020 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f1e801d8201 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f1e87c50e9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f1e87070c3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f1e87c21752 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f1e87c21a05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f1e880bc0b6 in KJob::exec() () from /usr/lib64/libkdecore.so.5
#32 0x00007f1e25b6cb3e in KMKernel::cleanup (this=0x10aab90) at /var/tmp/portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kmail/kmkernel.cpp:1251
#33 0x00007f1e25ef3004 in KMailPart::~KMailPart (this=0xf92e30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kmail/kmail_part.cpp:137
#34 0x00007f1e25ef3109 in KMailPart::~KMailPart (this=0xf92e30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kmail/kmail_part.cpp:140
#35 0x00007f1e88b021ee in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#36 0x00007f1e26ed0b30 in KMailPlugin::~KMailPlugin (this=0xf72ac0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kontact/plugins/kmail/kmail_plugin.cpp:159
#37 0x00007f1e26ed0b69 in KMailPlugin::~KMailPlugin (this=0xf72ac0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kontact/plugins/kmail/kmail_plugin.cpp:163
#38 0x00007f1e88f3a13e in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#39 0x00007f1e88f3a299 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#40 0x00007f1e87c36fa8 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f1e8701d6bd in QWidget::event (this=0xc7cde0, event=0x2dca190) at kernel/qwidget.cpp:8820
#42 0x00007f1e873d426b in QMainWindow::event (this=0xc7cde0, event=0x2dca190) at widgets/qmainwindow.cpp:1478
#43 0x00007f1e887b1630 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#44 0x00007f1e86fcd004 in QApplicationPrivate::notify_helper (this=0xb666a0, receiver=0xc7cde0, e=0x2dca190) at kernel/qapplication.cpp:4550
#45 0x00007f1e86fd1b6f in QApplication::notify (this=<optimized out>, receiver=0xc7cde0, e=0x2dca190) at kernel/qapplication.cpp:4411
#46 0x00007f1e886b7356 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#47 0x00007f1e87c226e3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#48 0x00007f1e87c25c0f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f1e87c50d13 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f1e801d7842 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f1e801d8020 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f1e801d8201 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f1e87c50e9f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#54 0x00007f1e87070c3e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f1e87c21752 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#56 0x00007f1e87c21a05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#57 0x00007f1e87c26093 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#58 0x0000000000404497 in main ()

Possible duplicates by query: bug 289403, bug 268978, bug 268966.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-02-23 13:49:21 UTC
Unfortunately, the backtrace is not helpful.
If you can reproduce this bug, please install the debug package and paste a better one.
More informations on this page: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Alex Wright 2012-02-23 14:59:52 UTC
It turned out that it was some problem with Akonadi. Rebooting the machine fixed the problem. It has not reoccurred.