Bug 353761 - Kmail crashing on folder change
Summary: Kmail crashing on folder change
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-10 15:56 UTC by Davide Gianforte
Modified: 2018-02-01 09:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Gianforte 2015-10-10 15:56:57 UTC
Application: kontact (5.0.1)
 (Compiled from sources)
Qt Version: 5.5.0
Operating System: Linux 4.3.0-rc2+ x86_64
Distribution (Platform): Slackware Packages

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

After the Framework 5.15 update, when I change to LKML subfolder (about 100MB and 10K messages), kontact crashes. Same if I use Kmail2 only. I checked for some missing runtime dependencies, but I found none.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ca80e77c0 (LWP 10580))]

Thread 11 (Thread 0x7f8c89122700 (LWP 10593)):
#0  0x00007f8c9b58d59d in poll () at /lib64/libc.so.6
#1  0x00007f8c8fad3102 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f8c8fad4c8f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f8c8aaf5239 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8c9c120eaf in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f8c7e2f8700 (LWP 10599)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ca6d7fed0 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8ca6d7fef9 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f8c3d5e5700 (LWP 10600)):
#0  0x00007f8c98e81b94 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f8c98e3f673 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f8c98e3f85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f8c9c35161c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8c9c2f9ed2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f8c9c11c03c in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f8c9c120eaf in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f8c34d36700 (LWP 10601)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8c379e436b in  () at /usr/lib64/xorg/modules/dri/r600_dri.so
#2  0x00007f8c379e3ab7 in  () at /usr/lib64/xorg/modules/dri/r600_dri.so
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f8c341bd700 (LWP 10614)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ca6a847dd in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8ca6daf701 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f8c339bc700 (LWP 10615)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ca6a857f3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8ca6daf701 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f8c331bb700 (LWP 10616)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ca6a857f3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8ca6daf701 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f8c329ba700 (LWP 10617)):
#0  0x00007f8c9b28035f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8ca6a857f3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f8ca6daf701 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f8c0ffff700 (LWP 22430)):
#0  0x00007f8c9b280708 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8c9c121e18 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8c9c11e03c in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8c9c120eaf in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f8c0f7fe700 (LWP 22805)):
#0  0x00007f8c9b280708 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f8c9c121e18 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f8c9c11e03c in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f8c9c120eaf in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f8c9b27a6b4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f8c9b598c7d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f8ca80e77c0 (LWP 10580)):
[KCrash Handler]
#6  0x0000002100000001 in  ()
#7  0x00007f8c9c8b15fa in QPixmap::copy(QRect const&) const () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f8c9c8b175f in QPixmap::QPixmap(QPixmap const&) () at /usr/lib64/libQt5Gui.so.5
#9  0x00007f8c9efdee98 in KPixmapSequence::frameAt(int) const () at /usr/lib64/libKF5WidgetsAddons.so.5
#10 0x00007f8ca32a68c0 in Akonadi::DelegateAnimator::sequenceFrame(QModelIndex const&) () at /usr/lib64/libKF5AkonadiWidgets.so.5
#11 0x00007f8ca328f378 in Akonadi::CollectionStatisticsDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () at /usr/lib64/libKF5AkonadiWidgets.so.5
#12 0x00007f8c9d2fbcb9 in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f8ca328f4bb in Akonadi::CollectionStatisticsDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libKF5AkonadiWidgets.so.5
#14 0x00007f8c9d2af684 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f8c9d2b2f2d in QTreeView::drawTree(QPainter*, QRegion const&) const () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f8c9d2b9c56 in QTreeView::paintEvent(QPaintEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f8c9d0645b8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f8c9d15f88e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f8c9d27c38b in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f8c9d2bad00 in QTreeView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f8c9c2fc156 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f8c9d0239cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f8c9d028b50 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f8c9c2fc323 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f8c9d05d9c9 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f8c9d05dfdf in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f8c9d0308b3 in  () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f8c9d030c91 in  () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f8c9d05006f in QWidgetPrivate::syncBackingStore() () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f8c9d064680 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f8c9d17524b in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#32 0x00007f8ca10cd177 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#33 0x00007f8ca1104815 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#34 0x00007f8c9d0239ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f8c9d028b50 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f8c9c2fc323 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f8c9c2fe593 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#38 0x00007f8c9c351213 in  () at /usr/lib64/libQt5Core.so.5
#39 0x00007f8c98e3f50d in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#40 0x00007f8c98e3f7b8 in  () at /usr/lib64/libglib-2.0.so.0
#41 0x00007f8c98e3f85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#42 0x00007f8c9c351660 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#43 0x00007f8ca2cfe73a in Akonadi::SessionPrivate::dataReceived() () at /usr/lib64/libKF5AkonadiCore.so.5
#44 0x00007f8c9c329f2e in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#45 0x00007f8c9c329f2e in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f8c9e5c01d0 in  () at /usr/lib64/libQt5Network.so.5
#47 0x00007f8c9e5cceb1 in  () at /usr/lib64/libQt5Network.so.5
#48 0x00007f8c9d0239ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#49 0x00007f8c9d028b50 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#50 0x00007f8c9c2fc323 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#51 0x00007f8c9c351b65 in  () at /usr/lib64/libQt5Core.so.5
#52 0x00007f8c98e3f50d in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#53 0x00007f8c98e3f7b8 in  () at /usr/lib64/libglib-2.0.so.0
#54 0x00007f8c98e3f85c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#55 0x00007f8c9c351607 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#56 0x00007f8c9c2f9ed2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#57 0x00007f8c9c3019cd in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#58 0x0000000000404fd9 in main ()

Reported using DrKonqi
Comment 1 Davide Gianforte 2015-10-10 16:46:49 UTC
This happens when I use breeze icon theme, if I switch to breeze-dark, it all works fine, but the messeages have no icon in the tree.
Comment 2 Manoharan Sundaramoorthy 2015-10-23 10:22:32 UTC
I am too seeing this crash. When I change the folder (or during the startup of the application), when the folder is loaded it displays dotted circles for the icon of the folder and there it crashes. I had only Breeze icon set before (when I observed the crash). With oxygen icon set, I dont see the crash.
Comment 3 Alf Mel 2015-12-18 18:46:49 UTC
I'm seeing the same crash as well. Changed the theme to Oxygen and the problem went away. Here is my trace:

org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Fetch job took  914 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 7
org.kde.akonadi.ETM: first fetched collection: "Search"

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6341a97 in QPixmap::copy(QRect const&) const ()
   from /usr/lib/libQt5Gui.so.5
(gdb) bt
#0  0x00007ffff6341a97 in QPixmap::copy(QRect const&) const ()
   from /usr/lib/libQt5Gui.so.5
#1  0x00007ffff6341c17 in QPixmap::QPixmap(QPixmap const&) ()
   from /usr/lib/libQt5Gui.so.5
#2  0x00007fffeda57728 in KPixmapSequence::frameAt(int) const ()
   from /usr/lib/libKF5WidgetsAddons.so.5
#3  0x00007ffff0fa1aa0 in ?? () from /usr/lib/libKF5AkonadiWidgets.so.5
#4  0x00007ffff0f877c4 in Akonadi::CollectionStatisticsDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const ()
   from /usr/lib/libKF5AkonadiWidgets.so.5
#5  0x00007ffff6b6fffc in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQt5Widgets.so.5
#6  0x00007ffff0f8791e in Akonadi::CollectionStatisticsDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const ()
   from /usr/lib/libKF5AkonadiWidgets.so.5
#7  0x00007ffff6b21a94 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff6b25ab7 in QTreeView::drawTree(QPainter*, QRegion const&) const
    () from /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff6b2c09c in QTreeView::paintEvent(QPaintEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff68c99c8 in QWidget::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff69c87be in QFrame::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff6aee3db in QAbstractItemView::viewportEvent(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff6b2cfec in QTreeView::viewportEvent(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff5f9399c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff688698c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff688be86 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff5f93bab in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff68c24a9 in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
   from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff68c2af1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#20 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff68c3689 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#25 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff68c3689 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff68c3689 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#31 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
#32 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#33 0x00007ffff68c379c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#34 0x00007ffff68c2661 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff689425a in ?? () from /usr/lib/libQt5Widgets.so.5
#36 0x00007ffff689443c in ?? () from /usr/lib/libQt5Widgets.so.5
#37 0x00007ffff68b25ef in QWidgetPrivate::syncBackingStore() ()
   from /usr/lib/libQt5Widgets.so.5
#38 0x00007ffff68c97c8 in QWidget::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff69df9fb in QMainWindow::event(QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#40 0x00007ffff4ee2f2a in KMainWindow::event(QEvent*) ()
   from /usr/lib/libKF5XmlGui.so.5
#41 0x00007ffff4f2db35 in KXmlGuiWindow::event(QEvent*) ()
   from /usr/lib/libKF5XmlGui.so.5
#42 0x00007ffff68869ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007ffff688be86 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff5f93bab in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQt5Core.so.5
#45 0x00007ffff5f95fa6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#46 0x00007ffff5fea143 in ?? () from /usr/lib/libQt5Core.so.5
#47 0x00007fffeb563dc7 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#48 0x00007fffeb564020 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0x00007fffeb5640cc in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#50 0x00007ffff5fea54f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#51 0x00007ffff5f9157a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#52 0x00007ffff5f9953c in QCoreApplication::exec() ()
   from /usr/lib/libQt5Core.so.5
#53 0x0000000000404020 in main ()
Comment 4 Jos van den Oever 2016-04-24 20:10:49 UTC
I can confirm the crash with KMail 4.14.3, KDE Development Platform 4.14.18 running on Plasma 5 desktop.
The crash happens when a new folder is opened for which communication with akonadi is needed.

When using the oxygen icon theme the crash does not happen. It happens with breezy and breezy-dark.
There must be a pixmap missing and the absence is not handled nicely.

Thread 1 "kmail" received signal SIGSEGV, Segmentation fault.
0x00007ff8756c4b77 in QPixmap::copy(QRect const&) const ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
(gdb) back
#0  0x00007ff8756c4b77 in QPixmap::copy(QRect const&) const ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
#1  0x00007ff8756c5832 in QPixmap::QPixmap(QPixmap const&) ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
#2  0x00007ff87a7cd6f8 in KPixmapSequence::frameAt(int) const ()
   from /nix/store/fppffg4ck2pb06gnx9jrqirdsf6kvq73-kdelibs-4.14.18/lib/libkdeui.so.5
#3  0x00007ff8778e9c05 in Akonadi::DelegateAnimator::sequenceFrame(QModelIndex const&) ()
   from /nix/store/dsppv8rzmg1hnvsfv4m3g0k6z0jfp37q-kdepimlibs-4.14.3/lib/libakonadi-kde.so.4
#4  0x00007ff877843c34 in Akonadi::CollectionStatisticsDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const ()
   from /nix/store/dsppv8rzmg1hnvsfv4m3g0k6z0jfp37q-kdepimlibs-4.14.3/lib/libakonadi-kde.so.4
#5  0x00007ff875b7a63c in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
#6  0x00007ff877843dcc in Akonadi::CollectionStatisticsDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const ()
   from /nix/store/dsppv8rzmg1hnvsfv4m3g0k6z0jfp37q-kdepimlibs-4.14.3/lib/libakonadi-kde.so.4
#7  0x00007ff875b189e5 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
#8  0x00007ff875b1c170 in QTreeView::drawTree(QPainter*, QRegion const&) const
    ()
   from /nix/store/p814jwfc6anwkr044zcvlgqkrxywyq5i-qt-4.8.7/lib/libQtGui.so.4
#9  0x00007ff875b1fbef in QTreeView::paintEvent(QPaintEvent*) ()
Comment 5 Denis Kurz 2017-06-23 22:11:10 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 6 Denis Kurz 2018-02-01 09:50: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.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.