Bug 279717

Summary: Kontact crash when switching to (inactive) window
Product: [Applications] kontact Reporter: Georg Wittenburg <georg.wittenburg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Wittenburg 2011-08-09 09:10:19 UTC
Application: kontact (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

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

Kontact crashed when I switched to the Kontact window, which had finished checking mails in the background, by clicking on it (a Firefox window was active before the switch). Kontact was displaying the summary view at the tiem.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0xb6b8bb70 (LWP 1900)):
#0  0x00540416 in __kernel_vsyscall ()
#1  0x00f7c48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0070a3fd in __pthread_cond_wait (cond=0x2d7a7f0, mutex=0x2d7a7d8) at forward.c:139
#3  0x027c4b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x00f77e99 in start_thread (arg=0xb6b8bb70) at pthread_create.c:304
#5  0x006fc73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7805730 (LWP 1898)):
[KCrash Handler]
#7  QModelIndex (this=0x92257e8, child=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x92257e8, child=...) at itemviews/qsortfilterproxymodel.cpp:1656
#9  0x01687e7a in parent (this=0x92311d0, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#10 QTreeView::indexRowSizeHint (this=0x92311d0, index=...) at itemviews/qtreeview.cpp:2758
#11 0x0168c219 in QTreeViewPrivate::itemHeight (this=0x92222b0, item=24) at itemviews/qtreeview.cpp:3229
#12 0x0168c4f8 in QTreeViewPrivate::updateScrollBars (this=0x92222b0) at itemviews/qtreeview.cpp:3456
#13 0x0168c81f in QTreeView::updateGeometries (this=0x92311d0) at itemviews/qtreeview.cpp:2686
#14 0x01643dd4 in QAbstractItemView::resizeEvent (this=0x92311d0, event=0xbffbd748) at itemviews/qabstractitemview.cpp:2399
#15 0x0112611e in QWidget::event (this=0x92311d0, event=0xbffbd748) at kernel/qwidget.cpp:8413
#16 0x0151a9f3 in QFrame::event (this=0x92311d0, e=0xbffbd748) at widgets/qframe.cpp:557
#17 0x015a9062 in QAbstractScrollArea::viewportEvent (this=0x92311d0, e=0xbffbd748) at widgets/qabstractscrollarea.cpp:1043
#18 0x01648227 in QAbstractItemView::viewportEvent (this=0x92311d0, event=0xbffbd748) at itemviews/qabstractitemview.cpp:1628
#19 0x0168fe83 in QTreeView::viewportEvent (this=0x92311d0, event=0xbffbd748) at itemviews/qtreeview.cpp:1256
#20 0x015ab965 in viewportEvent (this=0x9007a00, o=0x9223370, e=0xbffbd748) at widgets/qabstractscrollarea_p.h:100
#21 QAbstractScrollAreaFilter::eventFilter (this=0x9007a00, o=0x9223370, e=0xbffbd748) at widgets/qabstractscrollarea_p.h:116
#22 0x00e3525a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88d3500, receiver=0x9223370, event=0xbffbd748) at kernel/qcoreapplication.cpp:846
#23 0x010cdd00 in QApplicationPrivate::notify_helper (this=0x88d3500, receiver=0x9223370, e=0xbffbd748) at kernel/qapplication.cpp:4458
#24 0x010d297b in QApplication::notify (this=0xbffbf814, receiver=0x9223370, e=0xbffbd748) at kernel/qapplication.cpp:4427
#25 0x009c893a in KApplication::notify (this=0xbffbf814, receiver=0x9223370, event=0xbffbd748) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00e350bb in QCoreApplication::notifyInternal (this=0xbffbf814, receiver=0x9223370, event=0xbffbd748) at kernel/qcoreapplication.cpp:731
#27 0x01121a9e in sendEvent (this=0x92207f0, recursive=false, disableUpdates=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x92207f0, recursive=false, disableUpdates=<value optimized out>) at kernel/qwidget.cpp:7329
#29 0x0112a289 in QWidgetPrivate::show_helper (this=0x92207f0) at kernel/qwidget.cpp:7380
#30 0x0112a71b in QWidget::setVisible (this=0x9223370, visible=true) at kernel/qwidget.cpp:7661
#31 0x0112a220 in show (this=0x92222b0, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#32 QWidgetPrivate::showChildren (this=0x92222b0, spontaneous=false) at kernel/qwidget.cpp:7749
#33 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x92222b0) at kernel/qwidget.cpp:7386
#34 0x0112a71b in QWidget::setVisible (this=0x92311d0, visible=true) at kernel/qwidget.cpp:7661
#35 0x0112a220 in show (this=0x92212a8, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#36 QWidgetPrivate::showChildren (this=0x92212a8, spontaneous=false) at kernel/qwidget.cpp:7749
#37 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x92212a8) at kernel/qwidget.cpp:7386
#38 0x0112a71b in QWidget::setVisible (this=0x9230018, visible=true) at kernel/qwidget.cpp:7661
#39 0x0112a220 in show (this=0x9496550, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#40 QWidgetPrivate::showChildren (this=0x9496550, spontaneous=false) at kernel/qwidget.cpp:7749
#41 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x9496550) at kernel/qwidget.cpp:7386
#42 0x0112a71b in QWidget::setVisible (this=0x94968c8, visible=true) at kernel/qwidget.cpp:7661
#43 0x0112a220 in show (this=0x9316bd8, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#44 QWidgetPrivate::showChildren (this=0x9316bd8, spontaneous=false) at kernel/qwidget.cpp:7749
#45 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x9316bd8) at kernel/qwidget.cpp:7386
#46 0x0112a71b in QWidget::setVisible (this=0x9033d10, visible=true) at kernel/qwidget.cpp:7661
#47 0x0112a220 in show (this=0x93166d0, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#48 QWidgetPrivate::showChildren (this=0x93166d0, spontaneous=false) at kernel/qwidget.cpp:7749
#49 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x93166d0) at kernel/qwidget.cpp:7386
#50 0x0112a71b in QWidget::setVisible (this=0x94dde40, visible=true) at kernel/qwidget.cpp:7661
#51 0x0112a220 in show (this=0x921de08, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#52 QWidgetPrivate::showChildren (this=0x921de08, spontaneous=false) at kernel/qwidget.cpp:7749
#53 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x921de08) at kernel/qwidget.cpp:7386
#54 0x0112a71b in QWidget::setVisible (this=0x921d440, visible=true) at kernel/qwidget.cpp:7661
#55 0x0112a220 in show (this=0x9222050, spontaneous=false) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#56 QWidgetPrivate::showChildren (this=0x9222050, spontaneous=false) at kernel/qwidget.cpp:7749
#57 0x0112a2b1 in QWidgetPrivate::show_helper (this=0x9222050) at kernel/qwidget.cpp:7386
#58 0x0112a71b in QWidget::setVisible (this=0x9218778, visible=true) at kernel/qwidget.cpp:7661
#59 0x01108242 in show (this=0x88d9b28, index=1) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:487
#60 QStackedLayout::setCurrentIndex (this=0x88d9b28, index=1) at kernel/qstackedlayout.cpp:311
#61 0x011083ad in QStackedLayout::setCurrentWidget (this=0x88d9b28, widget=0x9218778) at kernel/qstackedlayout.cpp:365
#62 0x0157f0ac in QStackedWidget::setCurrentWidget (this=0x89a5c48, widget=0x9218778) at widgets/qstackedwidget.cpp:250
#63 0x007ddfb3 in Kontact::MainWindow::selectPlugin (this=0x89a90e0, plugin=0x8e79578) at ../../../kontact/src/mainwindow.cpp:839
#64 0x007e1832 in Kontact::MainWindow::qt_metacall (this=0x89a90e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbffbe2a8) at ./mainwindow.moc:115
#65 0x00e3b6ba in QMetaObject::metacall (object=0x89a90e0, cl=QMetaObject::InvokeMetaMethod, idx=53, argv=0xbffbe2a8) at kernel/qmetaobject.cpp:237
#66 0x00e4b4ff in QMetaObject::activate (sender=0x88ddf60, m=0x7ef5c4, local_signal_index=0, argv=0xbffbe2a8) at kernel/qobject.cpp:3287
#67 0x007e4023 in Kontact::SidePaneBase::pluginSelected (this=0x88ddf60, _t1=0x8e79578) at ./sidepanebase.moc:90
#68 0x007e408d in Kontact::SidePaneBase::qt_metacall (this=0x88ddf60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbffbe408) at ./sidepanebase.moc:77
#69 0x007e417a in Kontact::IconSidePane::qt_metacall (this=0x88ddf60, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbffbe408) at ./iconsidepane.moc:145
#70 0x00e3b6ba in QMetaObject::metacall (object=0x88ddf60, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbffbe408) at kernel/qmetaobject.cpp:237
#71 0x00e4b4ff in QMetaObject::activate (sender=0x89922d8, m=0x7ef6f0, local_signal_index=0, argv=0xbffbe408) at kernel/qobject.cpp:3287
#72 0x007e4c53 in Kontact::Navigator::pluginActivated (this=0x89922d8, _t1=0x8e79578) at ./iconsidepane.moc:96
#73 0x007e4cde in Kontact::Navigator::slotCurrentChanged (this=0x89922d8, current=...) at ../../../kontact/src/iconsidepane.cpp:475
#74 0x007e4d9d in Kontact::Navigator::qt_metacall (this=0x89922d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbffbe564) at ./iconsidepane.moc:82
#75 0x00e3b6ba in QMetaObject::metacall (object=0x89922d8, cl=QMetaObject::InvokeMetaMethod, idx=71, argv=0xbffbe564) at kernel/qmetaobject.cpp:237
#76 0x00e4b4ff in QMetaObject::activate (sender=0x89a56c0, m=0x1a0de50, local_signal_index=1, argv=0xbffbe564) at kernel/qobject.cpp:3287
#77 0x016a0d59 in QItemSelectionModel::currentChanged (this=0x89a56c0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#78 0x016a0e8f in QItemSelectionModel::setCurrentIndex (this=0x89a56c0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#79 0x0164ac0d in QAbstractItemView::mousePressEvent (this=0x89922d8, event=0xbffbef84) at itemviews/qabstractitemview.cpp:1666
#80 0x011262ec in QWidget::event (this=0x89922d8, event=0xbffbef84) at kernel/qwidget.cpp:8255
#81 0x0151a9f3 in QFrame::event (this=0x89922d8, e=0xbffbef84) at widgets/qframe.cpp:557
#82 0x015a9062 in QAbstractScrollArea::viewportEvent (this=0x89922d8, e=0xbffbef84) at widgets/qabstractscrollarea.cpp:1043
#83 0x01648227 in QAbstractItemView::viewportEvent (this=0x89922d8, event=0xbffbef84) at itemviews/qabstractitemview.cpp:1628
#84 0x015ab965 in viewportEvent (this=0x89a0cf0, o=0x88d1df8, e=0xbffbef84) at widgets/qabstractscrollarea_p.h:100
#85 QAbstractScrollAreaFilter::eventFilter (this=0x89a0cf0, o=0x88d1df8, e=0xbffbef84) at widgets/qabstractscrollarea_p.h:116
#86 0x00e3525a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x88d3500, receiver=0x88d1df8, event=0xbffbef84) at kernel/qcoreapplication.cpp:846
#87 0x010cdd00 in QApplicationPrivate::notify_helper (this=0x88d3500, receiver=0x88d1df8, e=0xbffbef84) at kernel/qapplication.cpp:4458
#88 0x010d3201 in QApplication::notify (this=0xbffbf814, receiver=0x88d1df8, e=0xbffbef84) at kernel/qapplication.cpp:4023
#89 0x009c893a in KApplication::notify (this=0xbffbf814, receiver=0x88d1df8, event=0xbffbef84) at ../../kdeui/kernel/kapplication.cpp:311
#90 0x00e350bb in QCoreApplication::notifyInternal (this=0xbffbf814, receiver=0x88d1df8, event=0xbffbef84) at kernel/qcoreapplication.cpp:731
#91 0x010cec3b in sendSpontaneousEvent (receiver=0x88d1df8, event=0xbffbef84, alienWidget=0x88d1df8, nativeWidget=0x88ddf60, buttonDown=0x1a1cc60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#92 QApplicationPrivate::sendMouseEvent (receiver=0x88d1df8, event=0xbffbef84, alienWidget=0x88d1df8, nativeWidget=0x88ddf60, buttonDown=0x1a1cc60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#93 0x0115a04c in QETWidget::translateMouseEvent (this=0x88ddf60, event=0xbffbf4ac) at kernel/qapplication_x11.cpp:4558
#94 0x011589b5 in QApplication::x11ProcessEvent (this=0xbffbf814, event=0xbffbf4ac) at kernel/qapplication_x11.cpp:3680
#95 0x011845f4 in x11EventSourceDispatch (s=0x88d47e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#96 0x0312aaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#97 0x0312b270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#98 0x0312b524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#99 0x00e6253c in QEventDispatcherGlib::processEvents (this=0x888eac8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#100 0x011841e5 in QGuiEventDispatcherGlib::processEvents (this=0x888eac8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#101 0x00e34289 in QEventLoop::processEvents (this=0xbffbf774, flags=...) at kernel/qeventloop.cpp:149
#102 0x00e34522 in QEventLoop::exec (this=0xbffbf774, flags=...) at kernel/qeventloop.cpp:201
#103 0x00e38ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#104 0x010cb8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#105 0x0804b587 in main (argc=72030440, argv=0x923d4f8) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 219964.

Possible duplicates by query: bug 277382, bug 274398, bug 272884, bug 272240, bug 271547.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-28 14:56:08 UTC

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