Summary: | Crash after removing an imap account in KMail | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Christophe Marin <christophe> |
Component: | libakonadi | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | hrvoje.senjan, Tanktalus |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.4 | |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Christophe Marin
2011-04-21 01:23:13 UTC
*** 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 |