Bug 284218

Summary: Kontact crashes when closing
Product: [Applications] kontact Reporter: Ian <ian>
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 Ian 2011-10-16 20:12:16 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:  Kontact appears to be crashing every time that I exit the program.  I have not noticed any unusual behavior, yet, while the program is open, but every time I close it, Kontact crashes.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7fb5ed2fc700 (LWP 3418)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb60377ac2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fb60377ad59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fb5feb7befc in start_thread (arg=0x7fb5ed2fc700) at pthread_create.c:304
#4  0x00007fb60448889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb5ec9eb700 (LWP 3419)):
#0  0x00007fb5feb7e034 in __pthread_mutex_lock (mutex=0x1059c18) at pthread_mutex_lock.c:61
#1  0x00007fb5fe0ac649 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5fe0add81 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5fe0ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb6058c3f3e in QEventDispatcherGlib::processEvents (this=0x1059790, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb605897cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb605897ef7 in QEventLoop::exec (this=0x7fb5ec9eade0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fb6057af27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fb6057b1d05 in QThreadPrivate::start (arg=0x1050a60) at thread/qthread_unix.cpp:331
#9  0x00007fb5feb7befc in start_thread (arg=0x7fb5ec9eb700) at pthread_create.c:304
#10 0x00007fb60448889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb5a16b3700 (LWP 3430)):
#0  0x00007fb60447c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fb5fe0adf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5fe0ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb6058c3f3e in QEventDispatcherGlib::processEvents (this=0x1ba12d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb605897cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb605897ef7 in QEventLoop::exec (this=0x7fb5a16b2db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb6057af27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fb60587acbf in QInotifyFileSystemWatcherEngine::run (this=0x1b9fe80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb6057b1d05 in QThreadPrivate::start (arg=0x1b9fe80) at thread/qthread_unix.cpp:331
#9  0x00007fb5feb7befc in start_thread (arg=0x7fb5a16b3700) at pthread_create.c:304
#10 0x00007fb60448889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb606f2f7a0 (LWP 3417)):
[KCrash Handler]
#6  operator QItemSelectionModel* (this=) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#7  QAbstractItemView::selectionModel (this=0x656d686361747441) at itemviews/qabstractitemview.cpp:760
#8  0x00007fb5a83f20b8 in MailCommon::FolderTreeWidget::selectedCollections (this=<optimized out>) at ../../mailcommon/foldertreewidget.cpp:246
#9  0x00007fb5a879ff5e in KMMainWidget::updateFolderMenu (this=0x155ace0) at ../../kmail/kmmainwidget.cpp:3856
#10 0x00007fb5a87ae3f3 in KMMainWidget::slotEndCheckFetchCollectionsDone (this=0x155ace0, job=<optimized out>) at ../../kmail/kmmainwidget.cpp:436
#11 0x00007fb5a87aed38 in KMMainWidget::slotEndCheckMail (this=0x155ace0) at ../../kmail/kmmainwidget.cpp:389
#12 0x00007fb5a87b23b1 in KMMainWidget::qt_metacall (this=0x155ace0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff5397edb0) at ./kmmainwidget.moc:373
#13 0x00007fb6058abeba in QMetaObject::activate (sender=0x14b4820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00007fb5a87604dc in KMKernel::slotProgressItemCompletedOrCanceled (this=0x14b4820, item=<optimized out>) at ../../kmail/kmkernel.cpp:1697
#15 0x00007fb5a876b2cc in KMKernel::qt_metacall (this=0x14b4820, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fff5397f010) at ./kmkernel.moc:209
#16 0x00007fb6058abeba in QMetaObject::activate (sender=0x10f1670, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5397f010) at kernel/qobject.cpp:3278
#17 0x00007fb601d47282 in KPIM::ProgressManager::progressItemCompleted (this=<optimized out>, _t1=0x17a80e0) at ./progressmanager.moc:272
#18 0x00007fb601d47d93 in KPIM::ProgressManager::qt_metacall (this=0x10f1670, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5397f120) at ./progressmanager.moc:246
#19 0x00007fb6058abeba in QMetaObject::activate (sender=0x17a80e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5397f120) at kernel/qobject.cpp:3278
#20 0x00007fb601d46e52 in KPIM::ProgressItem::progressItemCompleted (this=<optimized out>, _t1=0x17a80e0) at ./progressmanager.moc:121
#21 0x00007fb601d48a6e in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x16db0b0, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:88
#22 0x00007fb601d48baa in KPIM::AgentProgressMonitor::qt_metacall (this=0x16438e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5397f250) at ./agentprogressmonitor.moc:78
#23 0x00007fb6058abeba in QMetaObject::activate (sender=0x14cb250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5397f250) at kernel/qobject.cpp:3278
#24 0x00007fb601206cb5 in Akonadi::AgentManager::instanceStatusChanged (this=<optimized out>, _t1=<optimized out>) at ./agentmanager.moc:177
#25 0x00007fb60120b4cf in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x14cfe60, identifier=<optimized out>, status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#26 0x00007fb60120db5e in Akonadi::AgentManager::qt_metacall (this=0x14cb250, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5397f3c0) at ./agentmanager.moc:131
#27 0x00007fb6058abeba in QMetaObject::activate (sender=0x14cb1f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5397f3c0) at kernel/qobject.cpp:3278
#28 0x00007fb60132adcb in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=<optimized out>) at agentmanagerinterface.moc:285
#29 0x00007fb60132b289 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x14cb1f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff5397fc60) at agentmanagerinterface.moc:167
#30 0x00007fb6015d30e9 in QDBusConnectionPrivate::deliverCall (this=0xe9ce40, object=0x14cb1f0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#31 0x00007fb6015dc38f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#32 0x00007fb6058afa5e in QObject::event (this=0x14cb1f0, e=<optimized out>) at kernel/qobject.cpp:1217
#33 0x00007fb604c49424 in notify_helper (e=0x16c4110, receiver=0x14cb1f0, this=0xeaef90) at kernel/qapplication.cpp:4486
#34 QApplicationPrivate::notify_helper (this=0xeaef90, receiver=0x14cb1f0, e=0x16c4110) at kernel/qapplication.cpp:4458
#35 0x00007fb604c4e291 in QApplication::notify (this=0x7fff53981b60, receiver=0x14cb1f0, e=0x16c4110) at kernel/qapplication.cpp:4365
#36 0x00007fb6062ce1e6 in KApplication::notify (this=0x7fff53981b60, receiver=0x14cb1f0, event=0x16c4110) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007fb605898afc in QCoreApplication::notifyInternal (this=0x7fff53981b60, receiver=0x14cb1f0, event=0x16c4110) at kernel/qcoreapplication.cpp:787
#38 0x00007fb60589c51f in sendEvent (event=0x16c4110, receiver=0x14cb1f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe7b8e0) at kernel/qcoreapplication.cpp:1428
#40 0x00007fb6058c3a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007fb5fe0ada5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fb5fe0ae258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fb5fe0ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fb6058c3ed6 in QEventDispatcherGlib::processEvents (this=0xe7cfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007fb604cf107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fb605897cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fb605897ef7 in QEventLoop::exec (this=0x7fff53980480, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007fb605cfdff6 in KJob::exec (this=0x155d3f0) at ../../kdecore/jobs/kjob.cpp:204
#50 0x00007fb5a83e96f4 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync (this=0x14ba950, job=<optimized out>) at ../../mailcommon/foldercollectionmonitor.cpp:138
#51 0x00007fb5a83b55ec in MailCommon::FolderCollectionMonitor::qt_metacall (this=0x14ba950, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff539805e0) at moc_foldercollectionmonitor.cpp:78
#52 0x00007fb6058abeba in QMetaObject::activate (sender=0x17026a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff539805e0) at kernel/qobject.cpp:3278
#53 0x00007fb605cfe1d2 in KJob::result (this=<optimized out>, _t1=0x17026a0) at ./kjob.moc:194
#54 0x00007fb605cfe210 in KJob::emitResult (this=0x17026a0) at ../../kdecore/jobs/kjob.cpp:312
#55 0x00007fb6012abf4d in Akonadi::Job::qt_metacall (this=0x17026a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1eefb10) at ./job.moc:91
#56 0x00007fb601299745 in Akonadi::ItemFetchJob::qt_metacall (this=0x17026a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x1eefb10) at ./itemfetchjob.moc:73
#57 0x00007fb6058afa5e in QObject::event (this=0x17026a0, e=<optimized out>) at kernel/qobject.cpp:1217
#58 0x00007fb604c49424 in notify_helper (e=0x1637b20, receiver=0x17026a0, this=0xeaef90) at kernel/qapplication.cpp:4486
#59 QApplicationPrivate::notify_helper (this=0xeaef90, receiver=0x17026a0, e=0x1637b20) at kernel/qapplication.cpp:4458
#60 0x00007fb604c4e291 in QApplication::notify (this=0x7fff53981b60, receiver=0x17026a0, e=0x1637b20) at kernel/qapplication.cpp:4365
#61 0x00007fb6062ce1e6 in KApplication::notify (this=0x7fff53981b60, receiver=0x17026a0, event=0x1637b20) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x00007fb605898afc in QCoreApplication::notifyInternal (this=0x7fff53981b60, receiver=0x17026a0, event=0x1637b20) at kernel/qcoreapplication.cpp:787
#63 0x00007fb60589c51f in sendEvent (event=0x1637b20, receiver=0x17026a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe7b8e0) at kernel/qcoreapplication.cpp:1428
#65 0x00007fb6058c3a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#66 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#67 0x00007fb5fe0ada5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007fb5fe0ae258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007fb5fe0ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007fb6058c3ed6 in QEventDispatcherGlib::processEvents (this=0xe7cfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#71 0x00007fb604cf107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007fb605897cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007fb605897ef7 in QEventLoop::exec (this=0x7fff53980df0, flags=...) at kernel/qeventloop.cpp:201
#74 0x00007fb605cfdff6 in KJob::exec (this=0x17026a0) at ../../kdecore/jobs/kjob.cpp:204
#75 0x00007fb5a83e94f4 in MailCommon::FolderCollectionMonitor::expunge (this=0x14ba950, col=..., sync=true) at ../../mailcommon/foldercollectionmonitor.cpp:98
#76 0x00007fb5a8769063 in KMKernel::cleanup (this=0x14b4820) at ../../kmail/kmkernel.cpp:1247
#77 0x00007fb5a8aa2642 in KMailPart::~KMailPart (this=0x11e4af0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#78 0x00007fb5a8aa2749 in KMailPart::~KMailPart (this=0x11e4af0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:141
#79 0x00007fb60671032e in KontactInterface::Plugin::~Plugin (this=0x11e3860, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#80 0x00007fb5a9a3cb1f in KMailPlugin::~KMailPlugin (this=0x11e3860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#81 0x00007fb5a9a3cb49 in KMailPlugin::~KMailPlugin (this=0x11e3860, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#82 0x00007fb606b45577 in Kontact::MainWindow::~MainWindow (this=0x1041cb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:287
#83 0x00007fb606b456d9 in Kontact::MainWindow::~MainWindow (this=0x1041cb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:289
#84 0x00007fb6058afa88 in QObject::event (this=0x1041cb0, e=<optimized out>) at kernel/qobject.cpp:1200
#85 0x00007fb604c996eb in QWidget::event (this=0x1041cb0, event=0x111da50) at kernel/qwidget.cpp:8754
#86 0x00007fb60505bceb in QMainWindow::event (this=0x1041cb0, event=0x111da50) at widgets/qmainwindow.cpp:1478
#87 0x00007fb6063ca848 in KXmlGuiWindow::event (this=0x1041cb0, ev=0x111da50) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#88 0x00007fb604c49424 in notify_helper (e=0x111da50, receiver=0x1041cb0, this=0xeaef90) at kernel/qapplication.cpp:4486
#89 QApplicationPrivate::notify_helper (this=0xeaef90, receiver=0x1041cb0, e=0x111da50) at kernel/qapplication.cpp:4458
#90 0x00007fb604c4e291 in QApplication::notify (this=0x7fff53981b60, receiver=0x1041cb0, e=0x111da50) at kernel/qapplication.cpp:4365
#91 0x00007fb6062ce1e6 in KApplication::notify (this=0x7fff53981b60, receiver=0x1041cb0, event=0x111da50) at ../../kdeui/kernel/kapplication.cpp:311
#92 0x00007fb605898afc in QCoreApplication::notifyInternal (this=0x7fff53981b60, receiver=0x1041cb0, event=0x111da50) at kernel/qcoreapplication.cpp:787
#93 0x00007fb60589c51f in sendEvent (event=0x111da50, receiver=0x1041cb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#94 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe7b8e0) at kernel/qcoreapplication.cpp:1428
#95 0x00007fb6058c3a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#96 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#97 0x00007fb5fe0ada5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#98 0x00007fb5fe0ae258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#99 0x00007fb5fe0ae429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#100 0x00007fb6058c3ed6 in QEventDispatcherGlib::processEvents (this=0xe7cfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#101 0x00007fb604cf107e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#102 0x00007fb605897cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#103 0x00007fb605897ef7 in QEventLoop::exec (this=0x7fff53981af0, flags=...) at kernel/qeventloop.cpp:201
#104 0x00007fb60589c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#105 0x0000000000403629 in main (argc=1, argv=0x7fff53982188) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 284165, bug 284065.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-10-17 10:05:25 UTC

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