Bug 277382

Summary: KMail crash while attemping to load POPed email from Akonadi
Product: [Applications] kontact Reporter: Robert Clark <clark>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robert Clark 2011-07-08 20:11:36 UTC
Application: kontact (4.6.0)
KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.39-gentoo-r2 x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
I recently upgraded to KDE 4.6.4 (with KDE PIM 4.6)  on Gentoo and migrated my email to Akonadi. I've been able to retrieve my email for a couple of days, but today KMail started crashing each time it attempted to obtain mail from the Akonadi store.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f942ac9a700 (LWP 17274)):
#0  0x00007f943934d5ac in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f943d9a83be in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f943d9a84d9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f9439348c1a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f943e49f2cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f941b3c5700 (LWP 17283)):
#0  0x00007f943934d92b in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f943eac3fe2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f943eab7c52 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f943eac34b5 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f9439348c1a in start_thread () from /lib64/libpthread.so.0
#5  0x00007f943e49f2cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9440f6d760 (LWP 17273)):
[KCrash Handler]
#6  0x00007f943fb6831b in QSortFilterProxyModel::parent(QModelIndex const&) const () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007f943fb1fcc1 in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007f943fb2041c in QTreeViewPrivate::itemHeight(int) const () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f943fb206cf in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007f943fb20aa4 in QTreeView::updateGeometries() () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f943f6058e0 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f943f9b05c6 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f943fae684b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f943fb24755 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f943ebb4d27 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f943f5afbcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f943f5b503d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f944030da66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x00007f943ebb54fc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f943f60494b in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f943f609a83 in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f943f609f16 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f943f609a9f in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f943f60b2fa in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f943f5ef43e in QStackedLayout::setCurrentIndex(int) () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007f9440b8e412 in Kontact::MainWindow::selectPlugin(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.4
#43 0x00007f9440b91ae2 in Kontact::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkontactprivate.so.4
#44 0x00007f943ebcd277 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007f9440b9335f in Kontact::SidePaneBase::pluginSelected(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.4
#46 0x00007f9440b933b0 in Kontact::SidePaneBase::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkontactprivate.so.4
#47 0x00007f9440b935c8 in Kontact::IconSidePane::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkontactprivate.so.4
#48 0x00007f943ebcd277 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007f9440b9366f in Kontact::Navigator::pluginActivated(KontactInterface::Plugin*) () from /usr/lib64/libkontactprivate.so.4
#50 0x00007f9440b93700 in Kontact::Navigator::slotCurrentChanged(QModelIndex const&) () from /usr/lib64/libkontactprivate.so.4
#51 0x00007f9440b93e31 in Kontact::Navigator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkontactprivate.so.4
#52 0x00007f943ebcd277 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#53 0x00007f943fb31f5a in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/qt4/libQtGui.so.4
#54 0x00007f943fb320a2 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#55 0x00007f943fae2004 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#56 0x00007f943f605cb5 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#57 0x00007f943f9b05c6 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#58 0x00007f943fae684b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#59 0x00007f943ebb4d27 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#60 0x00007f943f5afbcc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#61 0x00007f943f5b586e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#62 0x00007f944030da66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#63 0x00007f943ebb54fc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#64 0x00007f943f5b418e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#65 0x00007f943f638c8b in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#66 0x00007f943f63758c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#67 0x00007f943f662322 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#68 0x00007f9438defe82 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f9438df4548 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f9438df46fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f943ebe1663 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#72 0x00007f943f661c9e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#73 0x00007f943ebb4222 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#74 0x00007f943ebb460c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#75 0x00007f943ebb86cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#76 0x0000000000404143 in main ()

Possible duplicates by query: bug 266198, bug 266098, bug 265530, bug 265035, bug 262636.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-09 09:28:44 UTC
> Qt Version: 4.7.2

Qt issue (fixed in 4.7.4)

*** This bug has been marked as a duplicate of bug 219964 ***