Bug 296583

Summary: Crash on exiting after deleting a message a second before
Product: [Applications] kontact Reporter: Thomas Arend <thomas>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Arend 2012-03-22 21:00:35 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I deleted a single message a second before I clicked on close. Strating kontact and closing without deleteing a message did not result in a crash.

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

Thread 3 (Thread 0x7f039ec78700 (LWP 19860)):
#0  0x00007f03aeed0e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f03b38199dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f03b3819b09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f03aeeccf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f03b452310d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f039e35f700 (LWP 19861)):
#0  0x00007f03b4519ff3 in poll () from /lib64/libc.so.6
#1  0x00007f03adb56a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f03adb56f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f03b590e586 in QEventDispatcherGlib::processEvents (this=0x7f03980008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f03b58e2a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f03b58e2c2f in QEventLoop::exec (this=0x7f039e35ee20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f03b57fa5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f03b57fd025 in QThreadPrivate::start (arg=0x7a32b0) at thread/qthread_unix.cpp:331
#8  0x00007f03aeeccf05 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f03b452310d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f03b6f7f760 (LWP 19858)):
[KCrash Handler]
#6  0x00007f0355cbda2f in MailCommon::FolderTreeWidget::selectedCollections() const () from /usr/lib64/libmailcommon.so.4
#7  0x00007f03560713ee in KMMainWidget::updateFolderMenu() () from /usr/lib64/libkmailprivate.so.4
#8  0x00007f035607f893 in KMMainWidget::slotEndCheckFetchCollectionsDone(KJob*) () from /usr/lib64/libkmailprivate.so.4
#9  0x00007f03560801d8 in KMMainWidget::slotEndCheckMail() () from /usr/lib64/libkmailprivate.so.4
#10 0x00007f0356083831 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#11 0x00007f03b58f65aa in QMetaObject::activate (sender=0xc1c860, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#12 0x00007f0356031a2c in KMKernel::slotProgressItemCompletedOrCanceled(KPIM::ProgressItem*) () from /usr/lib64/libkmailprivate.so.4
#13 0x00007f035603c81c in KMKernel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#14 0x00007f03b58f65aa in QMetaObject::activate (sender=0x860c30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6313f000) at kernel/qobject.cpp:3287
#15 0x00007f03b1ddd3c2 in KPIM::ProgressManager::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#16 0x00007f03b1ddded3 in KPIM::ProgressManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
#17 0x00007f03b58f65aa in QMetaObject::activate (sender=0x10b0610, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6313f110) at kernel/qobject.cpp:3287
#18 0x00007f03b1ddcf92 in KPIM::ProgressItem::progressItemCompleted(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#19 0x00007f03b1ddebae in ?? () from /usr/lib64/libkdepim.so.4
#20 0x00007f03b1ddecea in ?? () from /usr/lib64/libkdepim.so.4
#21 0x00007f03b58f65aa in QMetaObject::activate (sender=0xbb6d30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6313f240) at kernel/qobject.cpp:3287
#22 0x00007f03b12d8635 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libakonadi-kde.so.4
#23 0x00007f03b13374bc in ?? () from /usr/lib64/libakonadi-kde.so.4
#24 0x00007f03b13391de in Akonadi::AgentManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#25 0x00007f03b58f65aa in QMetaObject::activate (sender=0x9d0190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff6313f3b0) at kernel/qobject.cpp:3287
#26 0x00007f03b13bdd6b in ?? () from /usr/lib64/libakonadi-kde.so.4
#27 0x00007f03b13be229 in ?? () from /usr/lib64/libakonadi-kde.so.4
#28 0x00007f03b16579fb in QDBusConnectionPrivate::deliverCall (this=0x62cd30, object=0x9d0190, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#29 0x00007f03b1660d5f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#30 0x00007f03b58fa15a in QObject::event (this=0x9d0190, e=<optimized out>) at kernel/qobject.cpp:1226
#31 0x00007f03b4cb2c34 in notify_helper (e=0x1be3f60, receiver=0x9d0190, this=0x642700) at kernel/qapplication.cpp:4481
#32 QApplicationPrivate::notify_helper (this=0x642700, receiver=0x9d0190, e=0x1be3f60) at kernel/qapplication.cpp:4453
#33 0x00007f03b4cb7ac1 in QApplication::notify (this=0x7fff63142070, receiver=0x9d0190, e=0x1be3f60) at kernel/qapplication.cpp:4360
#34 0x00007f03b6334e36 in KApplication::notify (this=0x7fff63142070, receiver=0x9d0190, event=0x1be3f60) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#35 0x00007f03b58e382c in QCoreApplication::notifyInternal (this=0x7fff63142070, receiver=0x9d0190, event=0x1be3f60) at kernel/qcoreapplication.cpp:787
#36 0x00007f03b58e6c08 in sendEvent (event=0x1be3f60, receiver=0x9d0190) at kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#38 0x00007f03b590e0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#40 0x00007f03adb5658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f03adb56d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f03adb56f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f03b590e51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f03b4d55f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f03b58e2a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f03b58e2c2f in QEventLoop::exec (this=0x7fff63140630, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007f03b5d51406 in KJob::exec (this=0x1fd5a10) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:204
#48 0x00007f0355cb50d4 in MailCommon::FolderCollectionMonitor::slotExpungeJobSync(KJob*) () from /usr/lib64/libmailcommon.so.4
#49 0x00007f0355c80fcc in MailCommon::FolderCollectionMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libmailcommon.so.4
#50 0x00007f03b58f65aa in QMetaObject::activate (sender=0x10dd240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff63140790) at kernel/qobject.cpp:3287
#51 0x00007f03b5d515e2 in KJob::result (this=<optimized out>, _t1=0x10dd240) at /usr/src/debug/kdelibs-4.7.2/build/kdecore/kjob.moc:194
#52 0x00007f03b5d51620 in KJob::emitResult (this=0x10dd240) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:312
#53 0x00007f03b13325ed in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#54 0x00007f03b1362305 in Akonadi::ItemFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#55 0x00007f03b58fa15a in QObject::event (this=0x10dd240, e=<optimized out>) at kernel/qobject.cpp:1226
#56 0x00007f03b4cb2c34 in notify_helper (e=0x1c76850, receiver=0x10dd240, this=0x642700) at kernel/qapplication.cpp:4481
#57 QApplicationPrivate::notify_helper (this=0x642700, receiver=0x10dd240, e=0x1c76850) at kernel/qapplication.cpp:4453
#58 0x00007f03b4cb7ac1 in QApplication::notify (this=0x7fff63142070, receiver=0x10dd240, e=0x1c76850) at kernel/qapplication.cpp:4360
#59 0x00007f03b6334e36 in KApplication::notify (this=0x7fff63142070, receiver=0x10dd240, event=0x1c76850) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#60 0x00007f03b58e382c in QCoreApplication::notifyInternal (this=0x7fff63142070, receiver=0x10dd240, event=0x1c76850) at kernel/qcoreapplication.cpp:787
#61 0x00007f03b58e6c08 in sendEvent (event=0x1c76850, receiver=0x10dd240) at kernel/qcoreapplication.h:215
#62 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#63 0x00007f03b590e0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#64 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#65 0x00007f03adb5658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#66 0x00007f03adb56d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#67 0x00007f03adb56f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#68 0x00007f03b590e51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#69 0x00007f03b4d55f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f03b58e2a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f03b58e2c2f in QEventLoop::exec (this=0x7fff63141130, flags=...) at kernel/qeventloop.cpp:201
#72 0x00007f03b5d51406 in KJob::exec (this=0x10dd240) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:204
#73 0x00007f0355cb4ed4 in MailCommon::FolderCollectionMonitor::expunge(Akonadi::Collection const&, bool) () from /usr/lib64/libmailcommon.so.4
#74 0x00007f035603a5b3 in KMKernel::cleanup() () from /usr/lib64/libkmailprivate.so.4
#75 0x00007f0356374ca2 in ?? () from /usr/lib64/kde4/kmailpart.so
#76 0x00007f0356374da9 in ?? () from /usr/lib64/kde4/kmailpart.so
#77 0x00007f03b677a59e in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#78 0x00007f035730b4bf in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#79 0x00007f035730b4e9 in ?? () from /usr/lib64/kde4/kontact_kmailplugin.so
#80 0x00007f03b6bafa67 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#81 0x00007f03b6bafbc9 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#82 0x00007f03b58fa188 in QObject::event (this=0x796540, e=<optimized out>) at kernel/qobject.cpp:1209
#83 0x00007f03b4d02d4b in QWidget::event (this=0x796540, event=0x17befa0) at kernel/qwidget.cpp:8754
#84 0x00007f03b50c104b in QMainWindow::event (this=0x796540, event=0x17befa0) at widgets/qmainwindow.cpp:1478
#85 0x00007f03b64316b8 in KXmlGuiWindow::event (this=0x796540, ev=0x17befa0) at /usr/src/debug/kdelibs-4.7.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#86 0x00007f03b4cb2c34 in notify_helper (e=0x17befa0, receiver=0x796540, this=0x642700) at kernel/qapplication.cpp:4481
#87 QApplicationPrivate::notify_helper (this=0x642700, receiver=0x796540, e=0x17befa0) at kernel/qapplication.cpp:4453
#88 0x00007f03b4cb7ac1 in QApplication::notify (this=0x7fff63142070, receiver=0x796540, e=0x17befa0) at kernel/qapplication.cpp:4360
#89 0x00007f03b6334e36 in KApplication::notify (this=0x7fff63142070, receiver=0x796540, event=0x17befa0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#90 0x00007f03b58e382c in QCoreApplication::notifyInternal (this=0x7fff63142070, receiver=0x796540, event=0x17befa0) at kernel/qcoreapplication.cpp:787
#91 0x00007f03b58e6c08 in sendEvent (event=0x17befa0, receiver=0x796540) at kernel/qcoreapplication.h:215
#92 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cd40) at kernel/qcoreapplication.cpp:1428
#93 0x00007f03b590e0c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#94 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#95 0x00007f03adb5658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#96 0x00007f03adb56d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#97 0x00007f03adb56f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#98 0x00007f03b590e51f in QEventDispatcherGlib::processEvents (this=0x60c970, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#99 0x00007f03b4d55f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#100 0x00007f03b58e2a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#101 0x00007f03b58e2c2f in QEventLoop::exec (this=0x7fff63142000, flags=...) at kernel/qeventloop.cpp:201
#102 0x00007f03b58e6df7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#103 0x0000000000403919 in ?? ()
#104 0x00007f03b446923d in __libc_start_main () from /lib64/libc.so.6
#105 0x0000000000403e61 in _start ()

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

Possible duplicates by query: bug 296581, bug 295122, bug 293564, bug 293553, bug 293260.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-03-23 02:55:13 UTC

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