Application: kontact (4.4.5) KDE Platform Version: 4.5.00 (KDE 4.5.0) Qt Version: 4.6.3 Operating System: Linux 2.6.31.12-0.2-desktop x86_64 Distribution: "openSUSE 11.2 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: My new emails won't lose their "Unread" status. When I try to move the unread ones to a different folder or manually mark them as read Kontact crashes. The crash can be reproduced every time. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault [KCrash Handler] #6 0x0000000002cf9c90 in ?? () #7 0x00007fa08855154d in ?? () from /usr/lib64/libkmailprivate.so.4 #8 0x00007fa08871d0f8 in KMMainWidget::slotMsgSelected(KMMessage*) () from /usr/lib64/libkmailprivate.so.4 #9 0x00007fa088738a08 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4 #10 0x00007fa0a2454dd6 in QMetaObject::activate (sender=0x2205810, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2141e90) at kernel/qobject.cpp:3295 #11 0x00007fa0884691af in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #12 0x00007fa08846962c in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #13 0x00007fa0a2454dd6 in QMetaObject::activate (sender=0x220fb50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2141e90) at kernel/qobject.cpp:3295 #14 0x00007fa08846905f in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #15 0x00007fa087cf6552 in MessageList::Core::View::slotSelectionChanged (this=0x221d390) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:1904 #16 0x00007fa087cf90b6 in MessageList::Core::View::qt_metacall (this=0x221d390, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff35d06c40) at /usr/src/debug/kdepim-4.4.5/build/messagelist/view.moc:93 #17 0x00007fa0a2454dd6 in QMetaObject::activate (sender=0x213a620, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2141e90) at kernel/qobject.cpp:3295 #18 0x00007fa0a1d77497 in QItemSelectionModel::selectionChanged (this=0x368bf10, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152 #19 0x00007fa0a1d7bc8f in QItemSelectionModel::emitSelectionChanged (this=<value optimized out>, newSelection=<value optimized out>, oldSelection=...) at itemviews/qitemselectionmodel.cpp:1592 #20 0x00007fa0a1d7d608 in QItemSelectionModel::select (this=0x213a620, selection=<value optimized out>, command=<value optimized out>) at itemviews/qitemselectionmodel.cpp:1099 #21 0x00007fa0a1d63557 in QTreeViewPrivate::select (this=0x221da80, topIndex=..., bottomIndex=<value optimized out>, command=<value optimized out>) at itemviews/qtreeview.cpp:3683 #22 0x00007fa0a1d64381 in QTreeView::setSelection (this=0x221d390, rect=<value optimized out>, command=) at itemviews/qtreeview.cpp:2246 #23 0x00007fa0a1d266ff in QAbstractItemView::mousePressEvent (this=0x221d390, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1661 #24 0x00007fa087cf75a9 in MessageList::Core::View::mousePressEvent (this=0x221d390, e=0x7fff35d083d0) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:2085 #25 0x00007fa0a1855ad9 in QWidget::event (this=0x221d390, event=0x7fff35d083d0) at kernel/qwidget.cpp:8040 #26 0x00007fa0a1bfb1a6 in QFrame::event (this=0x221d390, e=0x7fff35d083d0) at widgets/qframe.cpp:557 #27 0x00007fa0a1d2b7ab in QAbstractItemView::viewportEvent (this=0x221d390, event=0x7fff35d083d0) at itemviews/qabstractitemview.cpp:1615 #28 0x00007fa0a1d666e2 in QTreeView::viewportEvent (this=0x221d390, event=0x7fff35d083d0) at itemviews/qtreeview.cpp:1248 #29 0x00007fa0a2440f27 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x221d500, event=0x7fff35d083d0) at kernel/qcoreapplication.cpp:841 #30 0x00007fa0a17ff7cc in QApplicationPrivate::notify_helper (this=0x64cff0, receiver=0x221d500, e=0x7fff35d083d0) at kernel/qapplication.cpp:4298 #31 0x00007fa0a18065bb in QApplication::notify (this=0x7fff35d090e0, receiver=0x221d500, e=0x7fff35d083d0) at kernel/qapplication.cpp:3867 #32 0x00007fa0a2ddf5c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #33 0x00007fa0a2441b1c in QCoreApplication::notifyInternal (this=0x7fff35d090e0, receiver=0x221d500, event=0x7fff35d083d0) at kernel/qcoreapplication.cpp:726 #34 0x00007fa0a1805796 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215 #35 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2967 #36 0x00007fa0a1885395 in QETWidget::translateMouseEvent (this=0x6d80e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380 #37 0x00007fa0a18840aa in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff35d08cf0) at kernel/qapplication_x11.cpp:3513 #38 0x00007fa0a18ae632 in x11EventSourceDispatch (s=0x63e6b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #39 0x00007fa099987dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #40 0x00007fa09998b7b8 in ?? () from /usr/lib64/libglib-2.0.so.0 #41 0x00007fa09998b8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #42 0x00007fa0a246b193 in QEventDispatcherGlib::processEvents (this=0x613230, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #43 0x00007fa0a18ae21e in QGuiEventDispatcherGlib::processEvents (this=0x368bf10, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #44 0x00007fa0a2440432 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #45 0x00007fa0a244080c in QEventLoop::exec (this=0x7fff35d09020, flags=) at kernel/qeventloop.cpp:201 #46 0x00007fa0a24454bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #47 0x0000000000403ede in _start () Possible duplicates by query: bug 247139, bug 246350, bug 223857. Reported using DrKonqi
When I start Kontact, I get a few minutes in which it behaves normally. I can click on new (unread) emails and they change status to read and I can move onto other emails. After a few minutes, I can click on an unread email and read it, but as soon as I attempt to move to another email Kontact crashes.
Upgrading to 4.5.1 appears to have rectified this bug.
Please ignore my last comment. The upgrade to 4.5.1 has not rectified this bug. I attach a new trace based on 4.5.1. Application: Kontact (kontact), signal: Aborted [KCrash Handler] #6 0x00007f806d33b4e5 in raise () from /lib64/libc.so.6 #7 0x00007f806d33c9b0 in abort () from /lib64/libc.so.6 #8 0x00007f806d72adc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6 #9 0x00007f806d7291f6 in ?? () from /usr/lib64/libstdc++.so.6 #10 0x00007f806d729223 in std::terminate() () from /usr/lib64/libstdc++.so.6 #11 0x00007f806d729aff in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6 #12 0x00007f80548e654d in ?? () from /usr/lib64/libkmailprivate.so.4 #13 0x00007f8054ab20f8 in KMMainWidget::slotMsgSelected(KMMessage*) () from /usr/lib64/libkmailprivate.so.4 #14 0x00007f8054acda08 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4 #15 0x00007f806e7cdc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #16 0x00007f80547fe1af in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #17 0x00007f80547fe62c in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #18 0x00007f806e7cdc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #19 0x00007f80547fe05f in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4 #20 0x00007f805408b552 in MessageList::Core::View::slotSelectionChanged (this=0x21d9cb0) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:1904 #21 0x00007f805408e0b6 in MessageList::Core::View::qt_metacall (this=0x21d9cb0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5802cb10) at /usr/src/debug/kdepim-4.4.5/build/messagelist/view.moc:93 #22 0x00007f806e7cdc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #23 0x00007f806e0d3997 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4 #24 0x00007f806e0d73f7 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4 #25 0x00007f806e0d917b in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4 #26 0x00007f806e0c0527 in ?? () from /usr/lib64/libQtGui.so.4 #27 0x00007f806e0c1351 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4 #28 0x00007f806e08390f in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #29 0x00007f805408c5a9 in MessageList::Core::View::mousePressEvent (this=0x21d9cb0, e=0x7fff5802e250) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:2085 #30 0x00007f806db8f219 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #31 0x00007f806df52046 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #32 0x00007f806e08842b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4 #33 0x00007f806e0c5f35 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4 #34 0x00007f806e7b57a7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #35 0x00007f806db3817c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #36 0x00007f806db410ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #37 0x00007f806f170846 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #38 0x00007f806e7b5f7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #39 0x00007f806db3dfd6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4 #40 0x00007f806dbc0955 in ?? () from /usr/lib64/libQtGui.so.4 #41 0x00007f806dbbf64a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #42 0x00007f806dbe9da2 in ?? () from /usr/lib64/libQtGui.so.4 #43 0x00007f8065d9cdee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #44 0x00007f8065da07b8 in ?? () from /usr/lib64/libglib-2.0.so.0 #45 0x00007f8065da08e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #46 0x00007f806e7e2083 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #47 0x00007f806dbe970e in ?? () from /usr/lib64/libQtGui.so.4 #48 0x00007f806e7b4ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #49 0x00007f806e7b508c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #50 0x00007f806e7b9ff9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #51 0x0000000000403ede in _start ()
Kontact and kmail are crashing almost every time I use them for more than 10-20 seconds. Any help or workarounds would be greatly appreciated.
Problem solved. After some advice on the kde forum, I removed my .kde4/share/config/kmailrc file (or rather renamed it to ...-keep - which was fortuitous since I was able to import its filters to the new one). On restarting kontact, it is now behaving correctly. So the power failure seemed to have left kmailrc in a corrupted state. Unfortunately I had to manually re-instate all my POP accounts and kmail preferred settings.