No idea yet whether that's reproducible. I just deleted an imap account in KMail (akonadiconsole was also opened) #6 0x00007f3052985aed in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg= 0x7f3052ad7ba8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffc27e8110) at global/qglobal.cpp:2328 #7 0x00007f3052985c85 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2511 #8 0x00007f3052985cca in qt_assert (assertion=0x671f <Address 0x671f out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1) at global/qglobal.cpp:2027 #9 0x00007f304dfb82dd in Akonadi::CollectionStatisticsDelegatePrivate::getCountRecursive<(Akonadi::CountType)0> (this=0xb52c40, index=...) at /kde/src/KDE/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp:72 #10 0x00007f304dfb83d8 in Akonadi::CollectionStatisticsDelegatePrivate::getCountRecursive<(Akonadi::CountType)0> (this=0xb52c40, index=...) at /kde/src/KDE/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp:82 #11 0x00007f304dfb6c66 in Akonadi::CollectionStatisticsDelegate::paint (this=0xb52670, painter=0x7fffc27e8e90, option=..., index=...) at /kde/src/KDE/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp:237 #12 0x00007f305238694a in QTreeView::drawRow (this=0xb4b9c0, painter=0x7fffc27e8e90, option=..., index=...) at itemviews/qtreeview.cpp:1678 #13 0x00007f305238ab8a in QTreeView::drawTree (this=0xb4b9c0, painter=0x7fffc27e8e90, region=<optimized out>) at itemviews/qtreeview.cpp:1441 #14 0x00007f305238b5a3 in QTreeView::paintEvent (this=0xb4b9c0, event=0x7fffc27e9b00) at itemviews/qtreeview.cpp:1274 #15 0x00007f3051e91c0e in QWidget::event (this=0xb4b9c0, event=0x7fffc27e9b00) at kernel/qwidget.cpp:8405 #16 0x00007f3052236a86 in QFrame::event (this=0xb4b9c0, e=0x7fffc27e9b00) at widgets/qframe.cpp:557 #17 0x00007f3052346ec3 in QAbstractItemView::viewportEvent (this=0xb4b9c0, event=0x7fffc27e9b00) at itemviews/qabstractitemview.cpp:1628 #18 0x00007f305238bcc5 in QTreeView::viewportEvent (this=0xb4b9c0, event=0x7fffc27e9b00) at itemviews/qtreeview.cpp:1256 #19 0x00007f3052a78607 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xb4b620, event=0x7fffc27e9b00) at kernel/qcoreapplication.cpp:846 #20 0x00007f3051e40111 in QApplicationPrivate::notify_helper (this=0x662410, receiver=0xb4b620, e=0x7fffc27e9b00) at kernel/qapplication.cpp:4458 #21 0x00007f3051e486fa in QApplication::notify (this=<optimized out>, receiver=0xb4b620, e=0x7fffc27e9b00) at kernel/qapplication.cpp:4341 #22 0x00007f3053914b96 in KApplication::notify (this=0x7fffc27eae70, receiver=0xb4b620, event=0x7fffc27e9b00) at /usr/src/debug/kdelibs-4.6.41_20110416/kdeui/kernel/kapplication.cpp:311 #23 0x00007f3052a7847c in QCoreApplication::notifyInternal (this=0x7fffc27eae70, receiver=0xb4b620, event=0x7fffc27e9b00) at kernel/qcoreapplication.cpp:731 #24 0x00007f3051e8eae2 in sendSpontaneousEvent (event=0x7fffc27e9b00, receiver=0xb4b620) at ../../src/corelib/kernel/qcoreapplication.h:218 #25 QWidgetPrivate::drawWidget (this=0xb4af90, pdev=0xc70718, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0xc60a80) ---Type <return> to continue, or q <return> to quit--- at kernel/qwidget.cpp:5492 #26 0x00007f3052051c98 in QWidgetBackingStore::sync (this=0xc60a80) at painting/qbackingstore.cpp:1325 #27 0x00007f3051e84720 in QWidgetPrivate::syncBackingStore (this=0xb36420) at kernel/qwidget.cpp:1842 #28 0x00007f3051e92112 in QWidget::event (this=0x68af90, event=0x113b600) at kernel/qwidget.cpp:8552 #29 0x00007f305225063b in QMainWindow::event (this=0x68af90, event=0x113b600) at widgets/qmainwindow.cpp:1480 #30 0x00007f3053a04903 in KXmlGuiWindow::event (this=0x68af90, ev=0x113b600) at /usr/src/debug/kdelibs-4.6.41_20110416/kdeui/xmlgui/kxmlguiwindow.cpp:126 #31 0x00007f3051e40144 in QApplicationPrivate::notify_helper (this=0x662410, receiver=0x68af90, e=0x113b600) at kernel/qapplication.cpp:4462 #32 0x00007f3051e486fa in QApplication::notify (this=<optimized out>, receiver=0x68af90, e=0x113b600) at kernel/qapplication.cpp:4341 #33 0x00007f3053914b96 in KApplication::notify (this=0x7fffc27eae70, receiver=0x68af90, event=0x113b600) at /usr/src/debug/kdelibs-4.6.41_20110416/kdeui/kernel/kapplication.cpp:311 #34 0x00007f3052a7847c in QCoreApplication::notifyInternal (this=0x7fffc27eae70, receiver=0x68af90, event=0x113b600) at kernel/qcoreapplication.cpp:731 #35 0x00007f3052a7bc75 in sendEvent (event=0x113b600, receiver=0x68af90) at kernel/qcoreapplication.h:215 #36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x612770) at kernel/qcoreapplication.cpp:1372 #37 0x00007f3052aa6480 in QEventDispatcherUNIX::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:906 #38 0x00007f3051ee69cc in QEventDispatcherX11::processEvents (this=0x611f50, flags=...) at kernel/qeventdispatcher_x11.cpp:152 #39 0x00007f3052a778d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #40 0x00007f3052a77ae5 in QEventLoop::exec (this=0x7fffc27ead30, flags=...) at kernel/qeventloop.cpp:201 #41 0x00007f3052a7bf2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #42 0x0000000000403486 in main (argc=3, argv=0x7fffc27eb008) at /kde/src/KDE/kdepim/kmail/main.cpp:145
*** Bug 279802 has been marked as a duplicate of this bug. ***
still valid in master. kmail & plasma both crashed (with different bt) when removing the tag resource. #5 0x00007feabfea71cf in qt_message_output (msgType=QtFatalMsg, buf=0x6f0f5d8 "ASSERT: \"collection.isValid()\" in file /kde/src/pim/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp, line 231") at global/qglobal.cpp:2255 #6 0x00007feabfea7365 in qt_message(enum QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7feac006b478 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff4de2c148) at global/qglobal.cpp:2301 #7 0x00007feabfea7af5 in qFatal (msg=0x7feac006b478 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2484 #8 0x00007feabfea6d94 in qt_assert (assertion=0x7feabc4d2a01 "collection.isValid()", file=0x7feabc4d29c0 "/kde/src/pim/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp", line=231) at global/qglobal.cpp:1999 #9 0x00007feabc3ceabb in Akonadi::CollectionStatisticsDelegate::paint (this=0x75b410, painter=0x7fff4de2ccc0, option=..., index=...) at /kde/src/pim/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp:231 #10 0x00007feac0c9c60a in QTreeView::drawRow (this=0x4c99d0, painter=0x7fff4de2ccc0, option=..., index=...) at itemviews/qtreeview.cpp:1708 #11 0x00007feac0c9b328 in QTreeView::drawTree (this=0x4c99d0, painter=0x7fff4de2ccc0, region=...) at itemviews/qtreeview.cpp:1459 #12 0x00007feac0c9a70a in QTreeView::paintEvent (this=0x4c99d0, event=0x7fff4de2db80) at itemviews/qtreeview.cpp:1275 #13 0x00007feac061ad99 in QWidget::event (this=0x4c99d0, event=0x7fff4de2db80) at kernel/qwidget.cpp:8507 #14 0x00007feac0ae9537 in QFrame::event (this=0x4c99d0, e=0x7fff4de2db80) at widgets/qframe.cpp:557 #15 0x00007feac0b93f73 in QAbstractScrollArea::viewportEvent (this=0x4c99d0, e=0x7fff4de2db80) at widgets/qabstractscrollarea.cpp:1043 #16 0x00007feac0c4bf7a in QAbstractItemView::viewportEvent (this=0x4c99d0, event=0x7fff4de2db80) at itemviews/qabstractitemview.cpp:1644 #17 0x00007feac0c9a5cb in QTreeView::viewportEvent (this=0x4c99d0, event=0x7fff4de2db80) at itemviews/qtreeview.cpp:1257 #18 0x00007feac0b94c69 in QAbstractScrollAreaPrivate::viewportEvent (this=0x8a4790, event=0x7fff4de2db80) at widgets/qabstractscrollarea_p.h:100 #19 0x00007feac0b94d62 in QAbstractScrollAreaFilter::eventFilter (this=0x7f75e0, o=0x4a9500, e=0x7fff4de2db80) at widgets/qabstractscrollarea_p.h:116 #20 0x00007feabffe8379 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x57efe0, receiver=0x4a9500, event=0x7fff4de2db80) at kernel/qcoreapplication.cpp:986 #21 0x00007feac05b5c01 in QApplicationPrivate::notify_helper (this=0x57efe0, receiver=0x4a9500, e=0x7fff4de2db80) at kernel/qapplication.cpp:4546 #22 0x00007feac05b592c in QApplication::notify (this=0x7fff4de31120, receiver=0x4a9500, e=0x7fff4de2db80) at kernel/qapplication.cpp:4515 #23 0x00007feac1bc7d9b in KApplication::notify (this=0x7fff4de31120, receiver=0x4a9500, event=0x7fff4de2db80) at /kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #24 0x00007feabffe80da in QCoreApplication::notifyInternal (this=0x7fff4de31120, receiver=0x4a9500, event=0x7fff4de2db80) at kernel/qcoreapplication.cpp:876 #25 0x00007feac05b8c23 in QCoreApplication::sendSpontaneousEvent (receiver=0x4a9500, event=0x7fff4de2db80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234 #26 0x00007feac06129c4 in QWidgetPrivate::drawWidget (this=0x8a4c20, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5584 #27 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4790, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #28 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4790, pdev=0x6f15e90, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #29 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4790, pdev=0x6f15e90, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #30 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x8a4790, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #31 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a4530, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #32 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x8a4530, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #33 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8c1620, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #34 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x8c1620, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #35 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x4cea10, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #36 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x4cea10, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #37 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x4cea10, pdev=0x6f15e90, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #38 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x4cea10, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #39 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x4ce210, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #40 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x4ce210, pdev=0x6f15e90, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #41 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x4ce210, pdev=0x6f15e90, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #42 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x4ce210, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #43 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x8a3bd0, pdev=0x6f15e90, siblings=..., index=139, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #44 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x8a3bd0, pdev=0x6f15e90, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #45 0x00007feac0613a38 in QWidgetPrivate::paintSiblingsRecursive (this=0x86ff80, pdev=0x6f15e90, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5793 #46 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x86ff80, pdev=0x6f15e90, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #47 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x86ff80, pdev=0x6f15e90, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #48 0x00007feac06138ce in QWidgetPrivate::paintSiblingsRecursive (this=0x86ff80, pdev=0x6f15e90, siblings=..., index=26, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5780 #49 0x00007feac0612e53 in QWidgetPrivate::drawWidget (this=0x86ff80, pdev=0x6f15e90, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x91a4b0) at kernel/qwidget.cpp:5637 #50 0x00007feac085e889 in QWidgetBackingStore::sync (this=0x91a4b0) at painting/qbackingstore.cpp:1373 #51 0x00007feac0609582 in QWidgetPrivate::syncBackingStore (this=0x86ff80) at kernel/qwidget.cpp:1890 #52 0x00007feac0658da0 in QETWidget::translateConfigEvent (this=0x4b2830, event=0x7fff4de30c50) at kernel/qapplication_x11.cpp:5385 #53 0x00007feac06522fd in QApplication::x11ProcessEvent (this=0x7fff4de31120, event=0x7fff4de30c50) at kernel/qapplication_x11.cpp:3525 #54 0x00007feac068da02 in x11EventSourceDispatch (s=0x582440, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #55 0x00007feababd458d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #56 0x00007feababd4d88 in ?? () from /usr/lib64/libglib-2.0.so.0 #57 0x00007feababd4f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #58 0x00007feac002438f in QEventDispatcherGlib::processEvents (this=0x40b000, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #59 0x00007feac068ddbc in QGuiEventDispatcherGlib::processEvents (this=0x40b000, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #60 0x00007feabffe59a4 in QEventLoop::processEvents (this=0x7fff4de30fe0, flags=...) at kernel/qeventloop.cpp:149 #61 0x00007feabffe5b2e in QEventLoop::exec (this=0x7fff4de30fe0, flags=...) at kernel/qeventloop.cpp:204 #62 0x00007feabffe875a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #63 0x00007feac05b2e32 in QApplication::exec () at kernel/qapplication.cpp:3811 #64 0x0000000000403416 in main (argc=1, argv=0x7fff4de312b8) at /kde/src/pim/kdepim/kmail/main.cpp:145
Created attachment 66210 [details] New crash information added by DrKonqi kontact (4.7.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.2 - What I was doing when the application crashed: Clearing out a "local account" - I selected all and hit shift-delete. During delete, I got the crash. This local account is just /var/spool/mail/myuser. -- Backtrace (Reduced): #11 0x00007fabfc4fa997 in Akonadi::CollectionStatisticsDelegatePrivate::getCountRecursive (this=0xe218e0, index=..., totalCount=@0x7fffada81f50, unreadCount=@0x7fffada81f40) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3/work/kdepimlibs-4.7.3/akonadi/collectionstatisticsdelegate.cpp:71 #12 0x00007fabfc4faaa0 in Akonadi::CollectionStatisticsDelegatePrivate::getCountRecursive (this=0xe218e0, index=..., totalCount=@0x7fffada81f50, unreadCount=@0x7fffada81f40) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3/work/kdepimlibs-4.7.3/akonadi/collectionstatisticsdelegate.cpp:82 #13 0x00007fabfc4faaa0 in Akonadi::CollectionStatisticsDelegatePrivate::getCountRecursive (this=0xe218e0, index=..., totalCount=@0x7fffada81f50, unreadCount=@0x7fffada81f40) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3/work/kdepimlibs-4.7.3/akonadi/collectionstatisticsdelegate.cpp:82 #14 0x00007fabfc4f9860 in Akonadi::CollectionStatisticsDelegate::paint (this=<value optimized out>, painter=0x7fffada82780, option=..., index=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3/work/kdepimlibs-4.7.3/akonadi/collectionstatisticsdelegate.cpp:238 #15 0x00007fac00050838 in QTreeView::drawRow (this=0xe01fc0, painter=0x7fffada82780, option=..., index=...) at itemviews/qtreeview.cpp:1678
Git commit 556eb8220b7c52811af4edc7872ddcbe9f5d786c by Allen Winter. Committed on 01/12/2011 at 02:08. Pushed by winterz into branch 'master'. in getCountRecursive() don't assert on invalid collections; instead, just ignore invalid collections. this is because collections could be deleted in the meantime and deleted collections are invalid collections. BUG: 271393 FIXED-IN: 4.7.4 MERGE: 4.7 M +13 -12 akonadi/collectionstatisticsdelegate.cpp http://commits.kde.org/kdepimlibs/556eb8220b7c52811af4edc7872ddcbe9f5d786c
Git commit 6b00cd23c5e168960ab789658a3d31fe85e1d371 by Allen Winter. Committed on 01/12/2011 at 02:08. Pushed by winterz into branch 'KDE/4.7'. in getCountRecursive() don't assert on invalid collections; instead, just ignore invalid collections. this is because collections could be deleted in the meantime and deleted collections are invalid collections. BUG: 271393 FIXED-IN: 4.7.4 MERGE: 4.7 (cherry picked from commit 556eb8220b7c52811af4edc7872ddcbe9f5d786c) M +13 -12 akonadi/collectionstatisticsdelegate.cpp http://commits.kde.org/kdepimlibs/6b00cd23c5e168960ab789658a3d31fe85e1d371