Bug 328313

Summary: Kontact crash when clicking on "Summary"
Product: [Applications] kontact Reporter: Darin McBride <Tanktalus>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darin McBride 2013-12-02 05:37:49 UTC
Application: kontact (4.11.3)
KDE Platform Version: 4.11.3 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.6-gentoo x86_64
Distribution: "NAME=Gentoo"

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

I clicked on the "Summary" tab by accident. When I do that, kontact crashes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f2abe1b1700 (LWP 4626)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:164
#1  0x00007f2ad2c2676d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2ad35f52c0 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2495
#2  0x00007f2ad2c26879 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f2acf9d2f3a in start_thread (arg=0x7f2abe1b1700) at pthread_create.c:308
#4  0x00007f2ad541d81d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f2abd8b0700 (LWP 4629)):
#0  0x00007f2ace9adff7 in g_mutex_get_impl (mutex=0x7f2ab80009a0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gthread-posix.c:121
#1  g_mutex_lock (mutex=0x7f2ab80009a0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gthread-posix.c:210
#2  0x00007f2ace966c25 in g_main_context_iterate (context=context@entry=0x7f2ab80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3668
#3  0x00007f2ace966e44 in g_main_context_iteration (context=0x7f2ab80009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#4  0x00007f2ad6a041c6 in QEventDispatcherGlib::processEvents (this=0x7f2ab80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f2ad69c996f in QEventLoop::processEvents (this=this@entry=0x7f2abd8afe30, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f2ad69c9bc8 in QEventLoop::exec (this=0x7f2abd8afe30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f2ad689beed in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f2ad689e601 in QThreadPrivate::start (arg=0xced250) at thread/qthread_unix.cpp:338
#9  0x00007f2acf9d2f3a in start_thread (arg=0x7f2abd8b0700) at pthread_create.c:308
#10 0x00007f2ad541d81d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f2ad81ce7c0 (LWP 4614)):
[KCrash Handler]
#6  0x00007f2ad536c2d5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x00007f2ad536d758 in __GI_abort () at abort.c:90
#8  0x00007f2ad6892c64 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007f2ad6892de8 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f2ad6a41d58 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff1b93b9b8) at global/qglobal.cpp:2369
#10 0x00007f2ad6892f74 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2552
#11 0x00007f2a764e5a17 in KCal::CalendarLocal::Private::insertJournal (this=0x5dd0230, journal=journal@entry=0x1768ce0) at /var/tmp/portage/kde-base/kdepimlibs-4.11.3/work/kdepimlibs-4.11.3/kcal/calendarlocal.cpp:577
#12 0x00007f2a764e5ddd in KCal::CalendarLocal::addJournal (this=0x4e315b0, journal=0x1768ce0) at /var/tmp/portage/kde-base/kdepimlibs-4.11.3/work/kdepimlibs-4.11.3/kcal/calendarlocal.cpp:555
#13 0x00007f2a767ba015 in addNote (j=<optimized out>, this=0x7c3ea30) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/kontact/plugins/knotes/summarywidget.cpp:160
#14 qt_static_metacall (_a=0x7fff1b93bca0, _o=0x7c3ea30, _c=<optimized out>, _id=<optimized out>) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3_build/kontact/plugins/knotes/summarywidget.moc:55
#15 KNotesSummaryWidget::qt_static_metacall (_o=0x7c3ea30, _c=<optimized out>, _id=2, _a=0x7fff1b93bca0) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3_build/kontact/plugins/knotes/summarywidget.moc:47
#16 0x00007f2ad69e3777 in QMetaObject::activate (sender=0xbebdc80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1b93bca0) at kernel/qobject.cpp:3547
#17 0x00007f2a5d988d38 in sigRegisteredNote (_t1=0x1768ce0, this=0xbebdc80) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3_build/knotes/resourcemanager.moc:103
#18 KNotesResourceManager::registerNote (this=0xbebdc80, resource=0xbedd440, journal=0x1768ce0) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/knotes/resourcemanager.cpp:109
#19 0x00007f2a5d98b5e5 in ResourceLocal::load (this=0xbedd440) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/knotes/resourcelocal.cpp:87
#20 0x00007f2a767a9a94 in KNotesResourceManager::load (this=0xbebdc80) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/knotes/resourcemanager.cpp:74
#21 0x00007f2a767b9f5a in KNotesSummaryWidget::KNotesSummaryWidget (this=0x7c3ea30, plugin=<optimized out>, parent=<optimized out>) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/kontact/plugins/knotes/summarywidget.cpp:64
#22 0x00007f2a767aef04 in KNotesPlugin::createSummaryWidget (this=0x1049ed0, parentWidget=0x2870960) at /var/tmp/portage/kde-base/knotes-4.11.3/work/knotes-4.11.3/kontact/plugins/knotes/knotes_plugin.cpp:101
#23 0x00007f2a75e27c90 in SummaryViewPart::updateWidgets (this=this@entry=0x973ec90) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/plugins/summary/summaryview_part.cpp:161
#24 0x00007f2a75e29803 in SummaryViewPart::initGUI (this=this@entry=0x973ec90, core=core@entry=0xe747b0) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/plugins/summary/summaryview_part.cpp:516
#25 0x00007f2a75e29957 in SummaryViewPart::SummaryViewPart (this=0x973ec90, core=0xe747b0, aboutData=0x4e3c770, parent=0xf69360, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/plugins/summary/summaryview_part.cpp:65
#26 0x00007f2a75e239b4 in SummaryView::createPart (this=0xf69360) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/plugins/summary/summaryview_plugin.cpp:110
#27 0x00007f2ad7e16af9 in KontactInterface::Plugin::part (this=0xf69360) at /var/tmp/portage/kde-base/kdepimlibs-4.11.3/work/kdepimlibs-4.11.3/kontactinterface/plugin.cpp:193
#28 0x00007f2ad79d2984 in Kontact::MainWindow::selectPlugin (this=0xe747b0, plugin=0x1206) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/src/mainwindow.cpp:815
#29 0x00007f2ad69e3777 in QMetaObject::activate (sender=0xe627b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1b93c4e0) at kernel/qobject.cpp:3547
#30 0x00007f2ad79dae8e in pluginSelected (_t1=0xf69360, this=0xe627b0) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3_build/kontact/src/sidepanebase.moc:103
#31 Kontact::SidePaneBase::qt_static_metacall (_o=0xe627b0, _c=<optimized out>, _id=0, _a=0x7fff1b93c640) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3_build/kontact/src/sidepanebase.moc:53
#32 0x00007f2ad69e3777 in QMetaObject::activate (sender=0xea0900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1b93c640) at kernel/qobject.cpp:3547
#33 0x00007f2ad79db6a2 in pluginActivated (_t1=0xf69360, this=0xea0900) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3_build/kontact/src/iconsidepane.moc:109
#34 Kontact::Navigator::slotCurrentChanged (this=this@entry=0xea0900, current=...) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/src/iconsidepane.cpp:477
#35 0x00007f2ad79db9d5 in Kontact::Navigator::qt_static_metacall (_o=0xea0900, _c=<optimized out>, _id=1, _a=0x7fff1b93c7f0) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3_build/kontact/src/iconsidepane.moc:58
#36 0x00007f2ad69e3777 in QMetaObject::activate (sender=0xe7cd10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff1b93c7f0) at kernel/qobject.cpp:3547
#37 0x00007f2ad621ad8a in QItemSelectionModel::currentChanged (this=this@entry=0xe7cd10, _t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:172
#38 0x00007f2ad621ae79 in QItemSelectionModel::setCurrentIndex (this=0xe7cd10, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#39 0x00007f2ad61be44a in QAbstractItemView::mousePressEvent (this=0xea0900, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#40 0x00007f2ad5c1ccbe in QWidget::event (this=0xea0900, event=0x7fff1b93d580) at kernel/qwidget.cpp:8372
#41 0x00007f2ad6074734 in QFrame::event (this=0xea0900, e=0x7fff1b93d580) at widgets/qframe.cpp:557
#42 0x00007f2ad61c78bb in QAbstractItemView::viewportEvent (this=0xea0900, event=0x7fff1b93d580) at itemviews/qabstractitemview.cpp:1644
#43 0x00007f2ad69cbcb7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xe6da50, event=0x7fff1b93d580) at kernel/qcoreapplication.cpp:1059
#44 0x00007f2ad5bbe351 in QApplicationPrivate::notify_helper (this=this@entry=0xce0290, receiver=receiver@entry=0xe6da50, e=e@entry=0x7fff1b93d580) at kernel/qapplication.cpp:4558
#45 0x00007f2ad5bc3239 in QApplication::notify (this=<optimized out>, receiver=0xe6da50, e=0x7fff1b93d580) at kernel/qapplication.cpp:4105
#46 0x00007f2ad75125b6 in KApplication::notify (this=0x7fff1b93e280, receiver=0xe6da50, event=0x7fff1b93d580) at /var/tmp/portage/kde-base/kdelibs-4.11.3-r1/work/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#47 0x00007f2ad69cbade in QCoreApplication::notifyInternal (this=0x7fff1b93e280, receiver=0xe6da50, event=0x7fff1b93d580) at kernel/qcoreapplication.cpp:949
#48 0x00007f2ad5bc7092 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QApplicationPrivate::sendMouseEvent (receiver=0xe6da50, event=0x7fff1b93d580, alienWidget=0xe6da50, nativeWidget=0xe627b0, buttonDown=0x7f2ad68145c0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#50 0x00007f2ad5c50004 in QETWidget::translateMouseEvent (this=this@entry=0xe627b0, event=event@entry=0x7fff1b93dd10) at kernel/qapplication_x11.cpp:4517
#51 0x00007f2ad5c4e159 in QApplication::x11ProcessEvent (this=0x7fff1b93e280, event=0x7fff1b93dd10) at kernel/qapplication_x11.cpp:3640
#52 0x00007f2ad5c7d9f2 in x11EventSourceDispatch (s=s@entry=0xcdee20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00007f2ace966a35 in g_main_dispatch (context=0xce05d0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3054
#54 g_main_context_dispatch (context=context@entry=0xce05d0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3630
#55 0x00007f2ace966d88 in g_main_context_iterate (context=context@entry=0xce05d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3701
#56 0x00007f2ace966e44 in g_main_context_iteration (context=0xce05d0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#57 0x00007f2ad6a041a6 in QEventDispatcherGlib::processEvents (this=0xca20b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#58 0x00007f2ad5c7db0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f2ad69c996f in QEventLoop::processEvents (this=this@entry=0x7fff1b93e0f0, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007f2ad69c9bc8 in QEventLoop::exec (this=0x7fff1b93e0f0, flags=...) at kernel/qeventloop.cpp:204
#61 0x00007f2ad69d0228 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#62 0x0000000000403999 in main (argc=3, argv=0x7fff1b93e3c8) at /var/tmp/portage/kde-base/kontact-4.11.3/work/kontact-4.11.3/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:31:19 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:43:42 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.