Bug 261225 - Kontact crashed after cheking mail from IMAP mailboxes (CollectionStatisticsDelegate::paint)
Summary: Kontact crashed after cheking mail from IMAP mailboxes (CollectionStatisticsD...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: libakonadi (show other bugs)
Version: 4.9
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 271139 277256 282037 287245 288152 288923 289892 303687 305557 316270 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-25 14:09 UTC by Cherkasov Anton
Modified: 2017-01-07 22:26 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.38 KB, text/plain)
2011-11-06 11:00 UTC, p92
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cherkasov Anton 2010-12-25 14:09:41 UTC
Application: kontact (4.6 beta3)
KDE Platform Version: 4.5.86 (4.6 >= 20101210) "release 2"
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I checked the mail from my Gmail accounts.
Kontact crashed after the checking finishing

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7febed94e710 (LWP 3603)):
#0  0x00007febfcfef39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fec016b9a94 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007febfcfeaa4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007fec0226b82d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec04c86760 (LWP 3587)):
[KCrash Handler]
#6  0x00007febff3dce01 in Akonadi::CollectionStatisticsDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libakonadi-kde.so.4
#7  0x00007fec02f018fa in QListView::paintEvent (this=0xd236b0, e=<value optimized out>) at itemviews/qlistview.cpp:1044
#8  0x00007fec02a2045a in QWidget::event (this=0xd236b0, event=0x7fffe22147a0) at kernel/qwidget.cpp:8346
#9  0x00007fec02dcd246 in QFrame::event (this=0xd236b0, e=0x7fffe22147a0) at widgets/qframe.cpp:557
#10 0x00007fec02edf463 in QAbstractItemView::viewportEvent (this=0xd236b0, event=0x7fffe22147a0) at itemviews/qabstractitemview.cpp:1619
#11 0x00007fec03610fb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xd1a7f0, event=0x7fffe22147a0) at kernel/qcoreapplication.cpp:847
#12 0x00007fec029ceca1 in QApplicationPrivate::notify_helper (this=0x63dc90, receiver=0xd1a7f0, e=0x7fffe22147a0) at kernel/qapplication.cpp:4441
#13 0x00007fec029d71ca in QApplication::notify (this=<value optimized out>, receiver=0xd1a7f0, e=0x7fffe22147a0) at kernel/qapplication.cpp:4324
#14 0x00007fec04042366 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fec03610e2c in QCoreApplication::notifyInternal (this=0x7fffe22186c0, receiver=0xd1a7f0, event=0x7fffe22147a0) at kernel/qcoreapplication.cpp:732
#16 0x00007fec02a1d322 in sendSpontaneousEvent (this=0xd28090, pdev=0x827aa8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#17 QWidgetPrivate::drawWidget (this=0xd28090, pdev=0x827aa8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5433
#18 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0xd31c50, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#19 0x00007fec02a1ddac in QWidgetPrivate::paintSiblingsRecursive (this=0xd31c50, pdev=0x827aa8, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5627
#20 0x00007fec02a1ddac in QWidgetPrivate::paintSiblingsRecursive (this=0xd31c50, pdev=0x827aa8, siblings=..., index=9, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5627
#21 0x00007fec02a1ddac in QWidgetPrivate::paintSiblingsRecursive (this=0xd31c50, pdev=0x827aa8, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5627
#22 0x00007fec02a1ddac in QWidgetPrivate::paintSiblingsRecursive (this=0xd31c50, pdev=0x827aa8, siblings=..., index=11, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5627
#23 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0xd31c50, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#24 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0xb42450, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#25 0x00007fec02a1ddac in QWidgetPrivate::paintSiblingsRecursive (this=0xb42450, pdev=0x827aa8, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5627
#26 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0xb42450, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#27 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0xb41800, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#28 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0xb41800, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#29 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0xc2d900, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#30 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0xc2d900, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#31 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0xc29820, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#32 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0xc29820, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#33 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0x70ffc0, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#34 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0x70ffc0, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#35 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0x732310, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#36 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0x732310, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#37 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0x7d5420, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#38 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0x7d5420, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#39 0x00007fec02a1deef in QWidgetPrivate::paintSiblingsRecursive (this=0x7e7700, pdev=0x827aa8, siblings=<value optimized out>, index=<value optimized out>, rgn=..., offset=..., flags=4, 
    sharedPainter=0x0, backingStore=0x827a10) at kernel/qwidget.cpp:5640
#40 0x00007fec02a1d08a in QWidgetPrivate::drawWidget (this=0x7e7700, pdev=0x827aa8, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x827a10)
    at kernel/qwidget.cpp:5486
#41 0x00007fec02be2c71 in QWidgetBackingStore::sync (this=0x827a10) at painting/qbackingstore.cpp:1333
#42 0x00007fec02a12010 in QWidgetPrivate::syncBackingStore (this=0x7e7700) at kernel/qwidget.cpp:1816
#43 0x00007fec02a20962 in QWidget::event (this=0x7c2600, event=0x153f5b0) at kernel/qwidget.cpp:8493
#44 0x00007fec02de6dcb in QMainWindow::event (this=0x7c2600, event=0x153f5b0) at widgets/qmainwindow.cpp:1478
#45 0x00007fec0413fb23 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#46 0x00007fec029cecd4 in QApplicationPrivate::notify_helper (this=0x63dc90, receiver=0x7c2600, e=0x153f5b0) at kernel/qapplication.cpp:4445
#47 0x00007fec029d71ca in QApplication::notify (this=<value optimized out>, receiver=0x7c2600, e=0x153f5b0) at kernel/qapplication.cpp:4324
#48 0x00007fec04042366 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007fec03610e2c in QCoreApplication::notifyInternal (this=0x7fffe22186c0, receiver=0x7c2600, event=0x153f5b0) at kernel/qcoreapplication.cpp:732
#50 0x00007fec03614625 in sendEvent (receiver=0x0, event_type=0, data=0x613440) at kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x613440) at kernel/qcoreapplication.cpp:1373
#52 0x00007fec0363b8f3 in sendPostedEvents (s=0x6415d0) at kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=0x6415d0) at kernel/qeventdispatcher_glib.cpp:277
#54 0x00007febfbc87a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007febfbc88270 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00007febfbc88510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00007fec0363ba8f in QEventDispatcherGlib::processEvents (this=0x612b20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#58 0x00007fec02a73eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007fec03610262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007fec03610475 in QEventLoop::exec (this=0x7fffe2218610, flags=...) at kernel/qeventloop.cpp:201
#61 0x00007fec036148db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#62 0x0000000000404037 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-08 08:40:40 UTC
*** Bug 277256 has been marked as a duplicate of this bug. ***
Comment 2 Milian Wolff 2011-08-30 10:11:29 UTC
*** Bug 271139 has been marked as a duplicate of this bug. ***
Comment 3 Milian Wolff 2011-08-30 10:12:19 UTC
Just got that as well. The CLI outputted this:

kmail2(7101)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemMoved: Invalid move 
kmail2(7101)/libakonadi Akonadi::EntityTreeModelPrivate::monitoredItemMoved: Invalid move 
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...

Backtrace of the crash I experienced:

Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fec61c6b780 (LWP 7101))]

Thread 3 (Thread 0x7fec44300700 (LWP 7104)):
#0  0x00007fec5bf1dac4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fec54feb0ea in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fec54feb1d9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007fec5bf19d60 in start_thread () from /lib/libpthread.so.0
#4  0x00007fec5b4e225d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fec3e677700 (LWP 7127)):
#0  0x00007fec5bf1de3b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fec5c1a350e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fec5c197ebf in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fec5c1a30f5 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fec5bf19d60 in start_thread () from /lib/libpthread.so.0
#5  0x00007fec5b4e225d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec61c6b780 (LWP 7101)):
[KCrash Handler]
#6  0x00007fec5e4c3559 in Akonadi::CollectionStatisticsDelegate::paint (this=0x20253a0, painter=0x7fffd14bbe00, option=..., index=...) at /home/milian/projects/kde4/kdepimlibs/akonadi/collectionstatisticsdelegate.cpp:221
#7  0x00007fec5d47e893 in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#8  0x00007fec5cfab652 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007fec5d34bba6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007fec5d45b95b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007fec5c289d48 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007fec5cf5b13f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007fec5cf5ffe1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007fec61685226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007fec5c289bbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007fec5cfa8584 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#17 0x00007fec5d164a73 in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fec5cf9ede0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#19 0x00007fec5cfabb6c in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007fec5d3652db in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007fec61780cf8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007fec5cf5b174 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fec5cf5ffe1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007fec61685226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fec5c289bbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fec5c28cf2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0x00007fec5c2b4413 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fec517c329d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00007fec517c3a78 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0x00007fec517c3d09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00007fec5c2b4876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fec5cffe1be in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fec5c288db2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fec5c288fb7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fec5c28d1ab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x0000000000403676 in main (argc=1, argv=0x7fffd14bda28) at /home/milian/projects/kde4/kdepim/kmail/main.cpp:145
Comment 4 Christophe Marin 2011-09-14 21:07:02 UTC
*** Bug 282037 has been marked as a duplicate of this bug. ***
Comment 5 p92 2011-11-06 11:00:06 UTC
Created attachment 65288 [details]
New crash information added by DrKonqi

kmail (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
just after starting kmail, it crashed.

- Unusual behavior I noticed:
kmail crashed before I restarted it and experiment this new crash. It was receiving mails and asking for each one for conflict resolution.
I disabled the spamassasin rule marking emails which i suspect trigger the conflicts, the quit kmails and it crashed on last conflict resolution anwser.
then i restarted kmail and it crashed again.

-- Backtrace (Reduced):
#6  Akonadi::CollectionStatisticsDelegate::paint (this=<optimized out>, painter=<optimized out>, option=..., index=...) at ../../akonadi/collectionstatisticsdelegate.cpp:221
#7  0x00007f0cda03a073 in QListView::paintEvent (this=0x2ce8120, e=<optimized out>) at itemviews/qlistview.cpp:1044
#8  0x00007f0cd9b5dc4c in QWidget::event (this=0x2ce8120, event=0x7fff71a2f200) at kernel/qwidget.cpp:8441
#9  0x00007f0cd9f064f6 in QFrame::event (this=0x2ce8120, e=0x7fff71a2f200) at widgets/qframe.cpp:557
#10 0x00007f0cda01719b in QAbstractItemView::viewportEvent (this=0x2ce8120, event=0x7fff71a2f200) at itemviews/qabstractitemview.cpp:1628
Comment 6 Christophe Marin 2011-11-23 18:07:07 UTC
*** Bug 287245 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2011-12-03 19:01:06 UTC
*** Bug 288152 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2011-12-17 10:52:37 UTC
*** Bug 288923 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2012-01-06 22:14:31 UTC
*** Bug 289892 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2012-08-22 19:08:28 UTC
*** Bug 303687 has been marked as a duplicate of this bug. ***
Comment 11 Myriam Schweingruber 2012-08-22 19:11:59 UTC
*** Bug 305557 has been marked as a duplicate of this bug. ***
Comment 12 Jekyll Wu 2013-03-07 10:30:28 UTC
*** Bug 316270 has been marked as a duplicate of this bug. ***
Comment 13 Denis Kurz 2016-09-24 20:32:11 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 14 Denis Kurz 2017-01-07 22:26:17 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.