Bug 217635

Summary: Kontact crashes when clicking "Summary" tab [QEventLoop::exec, KJob::exec, SDSummaryWidget::updateView]
Product: [Applications] kontact Reporter: Isaac <isaacj87>
Component: summaryAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, buildup, marcello, mcguire, wittemar
Priority: NOR    
Version: 4.4 pre   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Isaac 2009-12-06 21:10:17 UTC
Application: kontact (4.4 pre)
KDE Platform Version: 4.3.81 (KDE 4.3.81 (KDE 4.4 >= 20091204)) "release 2"
Qt Version: 4.6.0
Operating System: Linux 2.6.31.5-0.1-default i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
By default for me, Kontact seems to open to Kmail ("Mail" tab) first, but if I attempt to click the "Summary" tab located in the left window pane, it always crashes. 

The crash can be reproduced everytime.

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

Thread 2 (Thread 0xaead7b70 (LWP 15839)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb45ca0c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f7f2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb6bc7ecc in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb6bbc5de in ?? () from /usr/lib/libQtCore.so.4
#5  0xb6bc6eef in ?? () from /usr/lib/libQtCore.so.4
#6  0xb45c56e5 in start_thread () from /lib/libpthread.so.0
#7  0xb45c5600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb35b2980 (LWP 15789)):
[KCrash Handler]
#6  0xb6ccd8f2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6ec9a1b in KJob::exec() () from /usr/lib/libkdecore.so.5
#8  0xb0686c53 in SDSummaryWidget::updateView (this=0x8a20450) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/plugins/specialdates/sdsummarywidget.cpp:219
#9  0xb05e07f6 in SummaryViewPart::updateSummaries (this=0x89e0750) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/plugins/summary/summaryview_part.cpp:110
#10 0xb05e0884 in SummaryViewPart::partActivateEvent (this=0x89e0750, event=0xbfdd5164) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/plugins/summary/summaryview_part.cpp:100
#11 0xb5e722c4 in KParts::Part::customEvent(QEvent*) () from /usr/lib/libkparts.so.4
#12 0xb6cdfc4c in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#13 0xb62264ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb622d300 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb7258371 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#16 0xb6ccee2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#17 0xb5e7bd42 in KParts::PartManager::setActivePart(KParts::Part*, QWidget*) () from /usr/lib/libkparts.so.4
#18 0xb77d68cb in Kontact::MainWindow::selectPlugin (this=0x81364d8, plugin=0x8303930) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/src/mainwindow.cpp:822
#19 0xb77dac61 in Kontact::MainWindow::qt_metacall (this=0x81364d8, _c=InvokeMetaMethod, _id=53, _a=0xbfdd5478) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/mainwindow.moc:113
#20 0xb6cd419d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb6ce2f92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb77dc505 in Kontact::SidePaneBase::pluginSelected (this=0x8147ae8, _t1=0x8303930) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/sidepanebase.moc:90
#23 0xb77dc577 in Kontact::SidePaneBase::qt_metacall (this=0x8147ae8, _c=InvokeMetaMethod, _id=27, _a=0xbfdd55c8) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/sidepanebase.moc:77
#24 0xb77dc88e in Kontact::IconSidePane::qt_metacall (this=0x8147ae8, _c=InvokeMetaMethod, _id=27, _a=0xbfdd55c8) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/iconsidepane.moc:145
#25 0xb6cd419d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb6ce2f92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb77dc985 in Kontact::Navigator::pluginActivated (this=0x807a8f8, _t1=0x8303930) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/iconsidepane.moc:96
#28 0xb77dca11 in Kontact::Navigator::slotCurrentChanged (this=0x807a8f8, current=...) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/src/iconsidepane.cpp:475
#29 0xb77dd39b in Kontact::Navigator::qt_metacall (this=0x807a8f8, _c=InvokeMetaMethod, _id=71, _a=0xbfdd5724) at /usr/src/debug/kdepim-4.3.81svn1058695/build/kontact/src/iconsidepane.moc:82
#30 0xb6cd419d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#31 0xb6ce2f92 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#32 0xb681808d in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4
#33 0xb681828c in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#34 0xb67c013c in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#35 0xb6286b65 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#36 0xb666fde5 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#37 0xb670c341 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0xb67c499c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0xb670ec36 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb6cce0fe in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#41 0xb62264bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0xb622d5eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#43 0xb7258371 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#44 0xb6ccee2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#45 0xb622cc44 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#46 0xb62b969a in ?? () from /usr/lib/libQtGui.so.4
#47 0xb62b8c44 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#48 0xb62e5f98 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb409d4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb40a0d98 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0xb40a0ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb6cfb9f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#53 0xb62e5aea in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6ccd49d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0xb6ccd8e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#56 0xb6cd1a60 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#57 0xb6226594 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#58 0x0804b506 in main (argc=1, argv=0xbfdd6b84) at /usr/src/debug/kdepim-4.3.81svn1058695/kontact/src/main.cpp:221

Reported using DrKonqi
Comment 1 Thomas McGuire 2009-12-08 16:19:12 UTC
Fixed in r1059987, will be in KDE 4.4 beta2.
Comment 2 Dario Andres 2009-12-10 15:32:14 UTC
@Thomas: are bug 217990 and bug 218104 fixed too ? Thanks
Comment 3 Thomas McGuire 2009-12-10 15:51:07 UTC
*** Bug 217990 has been marked as a duplicate of this bug. ***
Comment 4 Thomas McGuire 2009-12-10 15:51:14 UTC
*** Bug 218104 has been marked as a duplicate of this bug. ***
Comment 5 Thomas McGuire 2009-12-10 15:52:33 UTC
> @Thomas: are bug 217990 and bug 218104 fixed too ? Thanks

Yes, they look like the same bug, I marked them as duplicates. Thanks.
Comment 6 Christophe Marin 2010-03-28 03:09:01 UTC
*** Bug 222972 has been marked as a duplicate of this bug. ***