Bug 248473

Summary: kontact crashes when kmail is selected
Product: [Applications] kontact Reporter: Alin M Elena <alinm.elena>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: j.mairboeck, rspires1952
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi (akonadi_imap_resource)

Description Alin M Elena 2010-08-20 09:24:38 UTC
Application: kontact (4.6 pre)
KDE Platform Version: 4.5.65 (KDE 4.5.65 (KDE 4.6 >= 20100819)) "release 1"
Qt Version: 4.6.3
Operating System: Linux 2.6.35.1-1-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Nothing special. Just started kontact... Default was in address book... then I clicked on the mail component and bang... the crash
- Unusual behavior I noticed:
a big crash
- Custom settings of the application:
3 dimap... (2gmail +1 non-gmail)

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb09ccb70 (LWP 3347)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb46cb125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb620224c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb52f3707 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#4  0xb52f374f in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#5  0xb46c6b25 in start_thread () from /lib/libpthread.so.0
#6  0xb61f446e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2fa0930 (LWP 3346)):
[KCrash Handler]
#7  0xb6aa1e75 in QSortFilterProxyModel::parent(QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#8  0xb6a5812b in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib/libQtGui.so.4
#9  0xb6a588ac in QTreeViewPrivate::itemHeight(int) const () from /usr/lib/libQtGui.so.4
#10 0xb6a58b28 in QTreeViewPrivate::updateScrollBars() () from /usr/lib/libQtGui.so.4
#11 0xb6a58ed2 in QTreeView::updateGeometries() () from /usr/lib/libQtGui.so.4
#12 0xb6a0f175 in QAbstractItemView::resizeEvent(QResizeEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb650c312 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb68e2415 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6970b91 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb6a12ff4 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6a5b156 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb6973506 in QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb6f33d56 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb64b3064 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb64bb0d4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb74e4651 in KApplication::notify (this=0xbfbe47e4, receiver=0x88fbc30, event=0xbfbe27b8) at /usr/src/debug/kdelibs-4.5.65svn1165394/kdeui/kernel/kapplication.cpp:310
#23 0xb6f33bbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb6505a13 in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/libQtGui.so.4
#25 0xb650b418 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#26 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#27 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#28 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#29 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#30 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#31 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#32 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#33 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#34 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#35 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#36 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#37 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#38 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#39 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#40 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#41 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#42 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#43 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#44 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#45 0xb650b900 in QWidgetPrivate::showChildren(bool) () from /usr/lib/libQtGui.so.4
#46 0xb650b440 in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#47 0xb650baf9 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#48 0xb64ed6dd in QStackedLayout::setCurrentIndex(int) () from /usr/lib/libQtGui.so.4
#49 0xb64ed83f in QStackedLayout::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#50 0xb6946e2e in QStackedWidget::setCurrentWidget(QWidget*) () from /usr/lib/libQtGui.so.4
#51 0xb775366a in Kontact::MainWindow::selectPlugin (this=0x8162b30, plugin=0x836d830) at /usr/src/debug/kdepim-4.5.65svn1165579/kontact/src/mainwindow.cpp:816
#52 0xb7753121 in Kontact::MainWindow::qt_metacall (this=0x8162b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfbe32d8)
    at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/mainwindow.moc:115
#53 0xb6f39c8d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#54 0xb6f48d38 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#55 0xb77565b5 in Kontact::SidePaneBase::pluginSelected (this=0x8152740, _t1=0x836d830) at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/sidepanebase.moc:90
#56 0xb7756627 in Kontact::SidePaneBase::qt_metacall (this=0x8152740, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfbe3428)
    at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/sidepanebase.moc:77
#57 0xb775672e in Kontact::IconSidePane::qt_metacall (this=0x8152740, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfbe3428)
    at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/iconsidepane.moc:145
#58 0xb6f39c8d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#59 0xb6f48d38 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#60 0xb7757265 in Kontact::Navigator::pluginActivated (this=0x815f848, _t1=0x836d830) at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/iconsidepane.moc:96
#61 0xb77572f1 in Kontact::Navigator::slotCurrentChanged (this=0x815f848, current=...) at /usr/src/debug/kdepim-4.5.65svn1165579/kontact/src/iconsidepane.cpp:475
#62 0xb77573c3 in Kontact::Navigator::qt_metacall (this=0x815f848, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfbe3584)
    at /usr/src/debug/kdepim-4.5.65svn1165579/build/kontact/src/iconsidepane.moc:82
#63 0xb6f39c8d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#64 0xb6f48d38 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#65 0xb6a706cd in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#66 0xb6a7084c in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#67 0xb6a156e5 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#68 0xb650c2f4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#69 0xb68e2415 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#70 0xb6970b91 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#71 0xb6a12ff4 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#72 0xb6973506 in QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#73 0xb6f33d56 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#74 0xb64b3064 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#75 0xb64bbb80 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#76 0xb74e4651 in KApplication::notify (this=0xbfbe47e4, receiver=0x8169298, event=0xbfbe3f74) at /usr/src/debug/kdelibs-4.5.65svn1165394/kdeui/kernel/kapplication.cpp:310
#77 0xb6f33bbe in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#78 0xb64b407c in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#79 0xb653ba6c in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/libQtGui.so.4
#80 0xb653ac1e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#81 0xb6563730 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQtGui.so.4
#82 0xb4466b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#83 0xb4467350 in ?? () from /usr/lib/libglib-2.0.so.0
#84 0xb446760e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#85 0xb6f5fa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#86 0xb656335a in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtGui.so.4
#87 0xb6f32ecd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#88 0xb6f330c9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#89 0xb6f37a20 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#90 0xb64b0594 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#91 0x0804b7b7 in main (argc=-1354250264, argv=0x88d6a80) at /usr/src/debug/kdepim-4.5.65svn1165579/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 roger spires 2010-09-21 01:10:14 UTC
Created attachment 51838 [details]
New crash information added by DrKonqi

kontact (4.6 pre) on KDE Platform 4.5.69 (4.6 >= 20100920) "release 5" using Qt 4.7.0

- What I was doing when the application crashed:

Had just opened Kontact (4.5.6X) and it crashed when I selected kmail icon.

-- Backtrace (Reduced):
#6  QModelIndex (this=0xb5f170, child=<value optimized out>) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0xb5f170, child=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1656
#8  0x00007f7e82d276f1 in parent (this=0xb7d7f0, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#9  QTreeView::indexRowSizeHint (this=0xb7d7f0, index=...) at itemviews/qtreeview.cpp:2758
#10 0x00007f7e82d27e24 in QTreeViewPrivate::itemHeight (this=0xb84930, item=<value optimized out>) at itemviews/qtreeview.cpp:3229
Comment 2 Joachim Mairböck 2010-12-17 18:05:20 UTC
Created attachment 54874 [details]
New crash information added by DrKonqi

kontact (4.6 beta2) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

- What I was doing when the application crashed:
Both Kontact and 1 of my 2 Akonadi IMAP resources crashed at the same time. This is also probably a duplicate of bug 257336 as returned by DrKonqi.

-- Backtrace (Reduced):
#7  QModelIndex (this=0x870c190, child=...) at ../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x870c190, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0xb69f738b in parent (this=0x8711a40, index=...) at ../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0x8711a40, index=...) at itemviews/qtreeview.cpp:2758
#11 0xb69f7b00 in QTreeViewPrivate::itemHeight (this=0x871e188, item=7) at itemviews/qtreeview.cpp:3229
Comment 3 Joachim Mairböck 2010-12-17 18:06:57 UTC
Created attachment 54875 [details]
New crash information added by DrKonqi (akonadi_imap_resource)

akonadi_imap_resource (0.1) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

- What I was doing when the application crashed:
The corresponding Akonadi resource crash

-- Backtrace (Reduced):
#7  QString (this=0x0) at /usr/include/QtCore/qstring.h:728
#8  ImapAccount::server (this=0x0) at /usr/src/debug/kdepim-runtime-4.5.85/resources/imap/imapaccount.cpp:48
#9  0x0809f1f2 in SessionPool::onCapabilitiesTestDone (this=0x811ff50, job=0x82a5988) at /usr/src/debug/kdepim-runtime-4.5.85/resources/imap/sessionpool.cpp:390
#10 0x0809fef1 in SessionPool::qt_metacall (this=0x811ff50, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfb65c58) at /usr/src/debug/kdepim-runtime-4.5.85/build/resources/imap/sessionpool.moc:119
[...]
#13 0xb5bdf3f5 in KJob::result (this=0x82a5988, _t1=0x82a5988) at /usr/src/debug/kdelibs-4.5.85/build/kdecore/kjob.moc:194
Comment 4 Alin M Elena 2011-01-24 00:14:02 UTC
solved