Bug 287667

Summary: Kontact crashes when quitting
Product: [Applications] kontact Reporter: bernard.nysten
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bernard.nysten 2011-11-27 09:25:26 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic x86_64
Distribution: Ubuntu 11.10

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

I quitted the application by clicking on the quit button in the menu...

The crash can be reproduced some of the time.

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

Thread 5 (Thread 0x7fa33e022700 (LWP 5803)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa3546a3c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa3546a3d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa34faa2efc in start_thread (arg=0x7fa33e022700) at pthread_create.c:304
#4  0x00007fa3553b189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa33d709700 (LWP 5804)):
#0  0x00007fa3553a5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa34efd4f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa34efd5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa3567ecf3e in QEventDispatcherGlib::processEvents (this=0x1d794c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa3567c0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa3567c0ef7 in QEventLoop::exec (this=0x7fa33d708de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa3566d827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fa3566dad05 in QThreadPrivate::start (arg=0x1d78420) at thread/qthread_unix.cpp:331
#8  0x00007fa34faa2efc in start_thread (arg=0x7fa33d709700) at pthread_create.c:304
#9  0x00007fa3553b189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa2f1844700 (LWP 5809)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007fa2f1843ad0 in ?? ()
#2  0x00007fff043ff7e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fa2e906e700 (LWP 7927)):
#0  0x00007fa34faa5034 in __pthread_mutex_lock (mutex=0x70a4fd8) at pthread_mutex_lock.c:61
#1  0x00007fa34efd4f2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa34efd5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa3567ecf3e in QEventDispatcherGlib::processEvents (this=0x789c430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa3567c0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa3567c0ef7 in QEventLoop::exec (this=0x7fa2e906ddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fa3566d827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fa3567a3cbf in QInotifyFileSystemWatcherEngine::run (this=0x7021ee0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa3566dad05 in QThreadPrivate::start (arg=0x7021ee0) at thread/qthread_unix.cpp:331
#9  0x00007fa34faa2efc in start_thread (arg=0x7fa2e906e700) at pthread_create.c:304
#10 0x00007fa3553b189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa357e4c7a0 (LWP 5802)):
[KCrash Handler]
#6  0x00007fa2f956ba0d in KMMainWidget::slotSendQueued() () from /usr/lib/libkmailprivate.so.4
#7  0x00007fa2f9583d49 in KMMainWidget::slotEndCheckMail() () from /usr/lib/libkmailprivate.so.4
#8  0x00007fa2f95873b1 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#9  0x00007fa3567d4eba in QMetaObject::activate (sender=0x2156cf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#10 0x00007fa2f95354dc in KMKernel::slotProgressItemCompletedOrCanceled(KPIM::ProgressItem*) () from /usr/lib/libkmailprivate.so.4
#11 0x00007fa2f95402cc in KMKernel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#12 0x00007fa3567d4eba in QMetaObject::activate (sender=0x1df63d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff043e96c0) at kernel/qobject.cpp:3278
#13 0x00007fa352c70282 in KPIM::ProgressManager::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib/libkdepim.so.4
#14 0x00007fa352c70d93 in KPIM::ProgressManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdepim.so.4
#15 0x00007fa3567d4eba in QMetaObject::activate (sender=0x2dd16b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff043e97d0) at kernel/qobject.cpp:3278
#16 0x00007fa352c6fe52 in KPIM::ProgressItem::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib/libkdepim.so.4
#17 0x00007fa352c71a6e in ?? () from /usr/lib/libkdepim.so.4
#18 0x00007fa352c71baa in ?? () from /usr/lib/libkdepim.so.4
#19 0x00007fa3567d4eba in QMetaObject::activate (sender=0x21419c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff043e9900) at kernel/qobject.cpp:3278
#20 0x00007fa35212dcb5 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib/libakonadi-kde.so.4
#21 0x00007fa3521324cf in ?? () from /usr/lib/libakonadi-kde.so.4
#22 0x00007fa352134b5e in Akonadi::AgentManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#23 0x00007fa3567d4eba in QMetaObject::activate (sender=0x20a8c60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff043e9a70) at kernel/qobject.cpp:3278
#24 0x00007fa352251dcb in ?? () from /usr/lib/libakonadi-kde.so.4
#25 0x00007fa352252289 in ?? () from /usr/lib/libakonadi-kde.so.4
#26 0x00007fa3524fa0e9 in QDBusConnectionPrivate::deliverCall (this=0x1b79e30, object=0x20a8c60, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#27 0x00007fa35250338f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#28 0x00007fa3567d8a5e in QObject::event (this=0x20a8c60, e=<optimized out>) at kernel/qobject.cpp:1217
#29 0x00007fa355b72424 in notify_helper (e=0x68a9200, receiver=0x20a8c60, this=0x1b92520) at kernel/qapplication.cpp:4486
#30 QApplicationPrivate::notify_helper (this=0x1b92520, receiver=0x20a8c60, e=0x68a9200) at kernel/qapplication.cpp:4458
#31 0x00007fa355b77291 in QApplication::notify (this=0x7fff043ec210, receiver=0x20a8c60, e=0x68a9200) at kernel/qapplication.cpp:4365
#32 0x00007fa3571f7126 in KApplication::notify (this=0x7fff043ec210, receiver=0x20a8c60, event=0x68a9200) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fa3567c1afc in QCoreApplication::notifyInternal (this=0x7fff043ec210, receiver=0x20a8c60, event=0x68a9200) at kernel/qcoreapplication.cpp:787
#34 0x00007fa3567c551f in sendEvent (event=0x68a9200, receiver=0x20a8c60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b588e0) at kernel/qcoreapplication.cpp:1428
#36 0x00007fa3567eca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007fa34efd4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fa34efd5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fa34efd5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa3567eced6 in QEventDispatcherGlib::processEvents (this=0x1b59fd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007fa355c1a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fa3567c0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fa3567c0ef7 in QEventLoop::exec (this=0x7fff043eab30, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007fa356c273d6 in KJob::exec (this=0x2808990) at ../../kdecore/jobs/kjob.cpp:204
#46 0x00007fa2f91be6f4 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync(KJob*) () from /usr/lib/libmailcommon.so.4
#47 0x00007fa2f918a5ec in MailCommon::FolderCollectionMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libmailcommon.so.4
#48 0x00007fa3567d4eba in QMetaObject::activate (sender=0x74f5fc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff043eac90) at kernel/qobject.cpp:3278
#49 0x00007fa356c275b2 in KJob::result (this=<optimized out>, _t1=0x74f5fc0) at ./kjob.moc:194
#50 0x00007fa356c275f0 in KJob::emitResult (this=0x74f5fc0) at ../../kdecore/jobs/kjob.cpp:312
#51 0x00007fa3521d2f4d in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#52 0x00007fa3521c0745 in Akonadi::ItemFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#53 0x00007fa3567d8a5e in QObject::event (this=0x74f5fc0, e=<optimized out>) at kernel/qobject.cpp:1217
#54 0x00007fa355b72424 in notify_helper (e=0x82d62d0, receiver=0x74f5fc0, this=0x1b92520) at kernel/qapplication.cpp:4486
#55 QApplicationPrivate::notify_helper (this=0x1b92520, receiver=0x74f5fc0, e=0x82d62d0) at kernel/qapplication.cpp:4458
#56 0x00007fa355b77291 in QApplication::notify (this=0x7fff043ec210, receiver=0x74f5fc0, e=0x82d62d0) at kernel/qapplication.cpp:4365
#57 0x00007fa3571f7126 in KApplication::notify (this=0x7fff043ec210, receiver=0x74f5fc0, event=0x82d62d0) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007fa3567c1afc in QCoreApplication::notifyInternal (this=0x7fff043ec210, receiver=0x74f5fc0, event=0x82d62d0) at kernel/qcoreapplication.cpp:787
#59 0x00007fa3567c551f in sendEvent (event=0x82d62d0, receiver=0x74f5fc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b588e0) at kernel/qcoreapplication.cpp:1428
#61 0x00007fa3567eca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#62 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#63 0x00007fa34efd4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fa34efd5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fa34efd5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fa3567eced6 in QEventDispatcherGlib::processEvents (this=0x1b59fd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007fa355c1a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007fa3567c0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#69 0x00007fa3567c0ef7 in QEventLoop::exec (this=0x7fff043eb4a0, flags=...) at kernel/qeventloop.cpp:201
#70 0x00007fa356c273d6 in KJob::exec (this=0x74f5fc0) at ../../kdecore/jobs/kjob.cpp:204
#71 0x00007fa2f91be4f4 in MailCommon::FolderCollectionMonitor::expunge(Akonadi::Collection const&, bool) () from /usr/lib/libmailcommon.so.4
#72 0x00007fa2f953e063 in KMKernel::cleanup() () from /usr/lib/libkmailprivate.so.4
#73 0x00007fa2f989b642 in ?? () from /usr/lib/kde4/kmailpart.so
#74 0x00007fa2f989b749 in ?? () from /usr/lib/kde4/kmailpart.so
#75 0x00007fa35763932e in KontactInterface::Plugin::~Plugin() () from /usr/lib/libkontactinterface.so.4
#76 0x00007fa2fa673b1f in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#77 0x00007fa2fa673b49 in ?? () from /usr/lib/kde4/kontact_kmailplugin.so
#78 0x00007fa357a6e577 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#79 0x00007fa357a6e6d9 in Kontact::MainWindow::~MainWindow() () from /usr/lib/libkontactprivate.so.4
#80 0x00007fa3567d8a88 in QObject::event (this=0x1b88540, e=<optimized out>) at kernel/qobject.cpp:1200
#81 0x00007fa355bc26eb in QWidget::event (this=0x1b88540, event=0x6df33f0) at kernel/qwidget.cpp:8754
#82 0x00007fa355f84ceb in QMainWindow::event (this=0x1b88540, event=0x6df33f0) at widgets/qmainwindow.cpp:1478
#83 0x00007fa3572f3638 in KXmlGuiWindow::event (this=0x1b88540, ev=0x6df33f0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#84 0x00007fa355b72424 in notify_helper (e=0x6df33f0, receiver=0x1b88540, this=0x1b92520) at kernel/qapplication.cpp:4486
#85 QApplicationPrivate::notify_helper (this=0x1b92520, receiver=0x1b88540, e=0x6df33f0) at kernel/qapplication.cpp:4458
#86 0x00007fa355b77291 in QApplication::notify (this=0x7fff043ec210, receiver=0x1b88540, e=0x6df33f0) at kernel/qapplication.cpp:4365
#87 0x00007fa3571f7126 in KApplication::notify (this=0x7fff043ec210, receiver=0x1b88540, event=0x6df33f0) at ../../kdeui/kernel/kapplication.cpp:311
#88 0x00007fa3567c1afc in QCoreApplication::notifyInternal (this=0x7fff043ec210, receiver=0x1b88540, event=0x6df33f0) at kernel/qcoreapplication.cpp:787
#89 0x00007fa3567c551f in sendEvent (event=0x6df33f0, receiver=0x1b88540) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#90 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b588e0) at kernel/qcoreapplication.cpp:1428
#91 0x00007fa3567eca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#92 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#93 0x00007fa34efd4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#94 0x00007fa34efd5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#95 0x00007fa34efd5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#96 0x00007fa3567eced6 in QEventDispatcherGlib::processEvents (this=0x1b59fd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#97 0x00007fa355c1a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#98 0x00007fa3567c0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#99 0x00007fa3567c0ef7 in QEventLoop::exec (this=0x7fff043ec1a0, flags=...) at kernel/qeventloop.cpp:201
#100 0x00007fa3567c5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#101 0x0000000000403629 in ?? ()
#102 0x00007fa3552f130d in __libc_start_main (main=0x402b40, argc=1, ubp_av=0x7fff043ec838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff043ec828) at libc-start.c:226
#103 0x0000000000403b71 in _start ()

This bug may be a duplicate of or related to bug 286551.

Possible duplicates by query: bug 286551, bug 283664, bug 281418, bug 281328, bug 281153.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-27 09:54:16 UTC

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