Bug 347636 - kontact crash
Summary: kontact crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-12 20:45 UTC by ultrabla
Modified: 2018-02-01 09:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ultrabla 2015-05-12 20:45:03 UTC
Application: kontact (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-16-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
plasmashell crashed -> rebooted manually -> logged in -> kontact was loaded twice -> i closed one instance -> the other crashed as well.
- Unusual behavior I noticed:
kde5 has lots of issues.
ubuntu 15.04

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f25b84b5840 (LWP 2890))]

Thread 5 (Thread 0x7f2597022700 (LWP 2897)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f25b315681d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f25b3156859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f25af8546aa in start_thread (arg=0x7f2597022700) at pthread_create.c:333
#4  0x00007f25b5994eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f2556707700 (LWP 2900)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f25b2e9720d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f25b3185fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f25af8546aa in start_thread (arg=0x7f2556707700) at pthread_create.c:333
#4  0x00007f25b5994eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f254290e700 (LWP 3841)):
#0  0x00007f25af3b37a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f25af36eeb1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f25af36efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f25b611d82e in QEventDispatcherGlib::processEvents (this=0x7f253c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f25b60eccd1 in QEventLoop::processEvents (this=this@entry=0x7f254290dd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f25b60ed035 in QEventLoop::exec (this=this@entry=0x7f254290dd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f25b5fe0e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f25b5fe36ff in QThreadPrivate::start (arg=0x25f7c10) at thread/qthread_unix.cpp:349
#8  0x00007f25af8546aa in start_thread (arg=0x7f254290e700) at pthread_create.c:333
#9  0x00007f25b5994eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f2539510700 (LWP 4472)):
#0  0x00007f25b611d201 in testAndSetOrdered (newValue=1, expectedValue=0, this=0x59446b0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0x59446b0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#2  tryLockInline (this=0x5944668) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0x5944668) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0x5944668, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0x5944620) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7f25300012e0, timeout=0x7f253950fb34) at kernel/qeventdispatcher_glib.cpp:279
#7  0x00007f25af36e8c1 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f25af36ee60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f25af36efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f25b611d82e in QEventDispatcherGlib::processEvents (this=0x7f25300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007f25b60eccd1 in QEventLoop::processEvents (this=this@entry=0x7f253950fd40, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f25b60ed035 in QEventLoop::exec (this=this@entry=0x7f253950fd40, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f25b5fe0e89 in QThread::exec (this=this@entry=0x59444e0) at thread/qthread.cpp:538
#14 0x00007f25b60cd443 in QInotifyFileSystemWatcherEngine::run (this=0x59444e0) at io/qfilesystemwatcher_inotify.cpp:265
#15 0x00007f25b5fe36ff in QThreadPrivate::start (arg=0x59444e0) at thread/qthread_unix.cpp:349
#16 0x00007f25af8546aa in start_thread (arg=0x7f2539510700) at pthread_create.c:333
#17 0x00007f25b5994eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f25b84b5840 (LWP 2890)):
[KCrash Handler]
#6  0x00007f25b48e2151 in Akonadi::EntityTreeModel::modelIndexForCollection (model=<optimized out>, collection=...) at ../../akonadi/entitytreemodel.cpp:1240
#7  0x00007f25b4905837 in labelForCollection (collectionId=<optimized out>, this=0x360eb90) at ../../akonadi/favoritecollectionsmodel.cpp:55
#8  Akonadi::FavoriteCollectionsModel::data (this=<optimized out>, index=..., role=<optimized out>) at ../../akonadi/favoritecollectionsmodel.cpp:338
#9  0x00007f25b70d1360 in data (arole=0, this=0x7ffe37157ef0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:402
#10 QStyledItemDelegate::initStyleOption (this=0x3606af0, option=option@entry=0x7ffe37157d20, index=...) at itemviews/qstyleditemdelegate.cpp:385
#11 0x00007f25b48bad92 in Akonadi::CollectionStatisticsDelegate::initStyleOption (this=<optimized out>, option=0x7ffe37157d20, index=...) at ../../akonadi/collectionstatisticsdelegate.cpp:157
#12 0x00007f25b70d0d6a in QStyledItemDelegate::sizeHint (this=0x3606af0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:450
#13 0x00007f25b704722d in QListViewPrivate::itemSize (this=0x35fd3c0, option=..., index=...) at itemviews/qlistview.cpp:1788
#14 0x00007f25b704c5e5 in itemSize (this=0x3601e10, idx=..., opt=...) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:475
#15 QListModeViewBase::doStaticLayout (this=this@entry=0x3601e10, info=...) at itemviews/qlistview.cpp:2404
#16 0x00007f25b704c840 in QListModeViewBase::doBatchedItemLayout (this=0x3601e10, info=..., max=4) at itemviews/qlistview.cpp:2276
#17 0x00007f25b7046ea9 in QListViewPrivate::doItemsLayout (this=this@entry=0x35fd3c0, delta=<optimized out>) at itemviews/qlistview.cpp:1725
#18 0x00007f25b7053aeb in QListView::doItemsLayout (this=0x35fcde0) at itemviews/qlistview.cpp:1467
#19 0x00007f25b7031e5a in executePostedLayout (this=0x35fd3c0) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#20 QAbstractItemView::event (this=0x35fcde0, event=0x7ffe371583b0) at itemviews/qabstractitemview.cpp:1548
#21 0x00007f25b6afa9bc in QApplicationPrivate::notify_helper (this=this@entry=0x240c2a0, receiver=receiver@entry=0x35fcde0, e=e@entry=0x7ffe371583b0) at kernel/qapplication.cpp:4570
#22 0x00007f25b6b014d8 in QApplication::notify (this=this@entry=0x7ffe37159f10, receiver=receiver@entry=0x35fcde0, e=e@entry=0x7ffe371583b0) at kernel/qapplication.cpp:4356
#23 0x00007f25b785cb4a in KApplication::notify (this=0x7ffe37159f10, receiver=0x35fcde0, event=0x7ffe371583b0) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f25b60ee17d in QCoreApplication::notifyInternal (this=0x7ffe37159f10, receiver=receiver@entry=0x35fcde0, event=event@entry=0x7ffe371583b0) at kernel/qcoreapplication.cpp:955
#25 0x00007f25b6b4b234 in sendEvent (event=0x7ffe371583b0, receiver=0x35fcde0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QWidgetPrivate::show_helper (this=this@entry=0x35fd3c0) at kernel/qwidget.cpp:7569
#27 0x00007f25b6b4d15a in QWidget::setVisible (this=0x35fcde0, visible=<optimized out>) at kernel/qwidget.cpp:7791
#28 0x00007f25b6b4b06e in show (this=0x35fcde0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#29 QWidgetPrivate::showChildren (this=this@entry=0x36716a0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7879
#30 0x00007f25b6b4b11f in QWidgetPrivate::show_helper (this=this@entry=0x36716a0) at kernel/qwidget.cpp:7516
#31 0x00007f25b6b4d15a in QWidget::setVisible (this=0x3670130, visible=<optimized out>) at kernel/qwidget.cpp:7791
#32 0x00007f25b6b4b06e in show (this=0x3670130) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#33 QWidgetPrivate::showChildren (this=this@entry=0x3670e30, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7879
#34 0x00007f25b6b4b11f in QWidgetPrivate::show_helper (this=this@entry=0x3670e30) at kernel/qwidget.cpp:7516
#35 0x00007f25b6b4d15a in QWidget::setVisible (this=0x33c0270, visible=<optimized out>) at kernel/qwidget.cpp:7791
#36 0x00007f25b6b4b06e in show (this=0x33c0270) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#37 QWidgetPrivate::showChildren (this=this@entry=0x2fe93d0, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7879
#38 0x00007f25b6b4b11f in QWidgetPrivate::show_helper (this=this@entry=0x2fe93d0) at kernel/qwidget.cpp:7516
#39 0x00007f25b6b4d15a in QWidget::setVisible (this=0x3373170, visible=<optimized out>) at kernel/qwidget.cpp:7791
#40 0x00007f25b6b4b06e in show (this=0x3373170) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#41 QWidgetPrivate::showChildren (this=this@entry=0x33c6d00, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7879
#42 0x00007f25b6b4b11f in QWidgetPrivate::show_helper (this=this@entry=0x33c6d00) at kernel/qwidget.cpp:7516
#43 0x00007f25b6b4d15a in QWidget::setVisible (this=0x2a56690, visible=<optimized out>) at kernel/qwidget.cpp:7791
#44 0x00007f25b6b2f676 in show (this=0x2a56690) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:497
#45 QStackedLayout::setCurrentIndex (this=0x334c350, index=1) at kernel/qstackedlayout.cpp:313
#46 0x00007f25b6b2f7fa in QStackedLayout::setCurrentWidget (this=<optimized out>, widget=widget@entry=0x2a56690) at kernel/qstackedlayout.cpp:368
#47 0x00007f25b6f6fe27 in QStackedWidget::setCurrentWidget (this=<optimized out>, widget=widget@entry=0x2a56690) at widgets/qstackedwidget.cpp:295
#48 0x00007f25b7cbca96 in Kontact::MainWindow::selectPlugin (this=0x23e0da0, plugin=0x3375570) at ../../../kontact/src/mainwindow.cpp:859
#49 0x00007f25b610319c in QMetaObject::activate (sender=0x3335730, m=m@entry=0x7f25b7ed1be0 <Kontact::SidePaneBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe37158bd0) at kernel/qobject.cpp:3567
#50 0x00007f25b7cc8712 in pluginSelected (_t1=0x3375570, this=<optimized out>) at moc_sidepanebase.cpp:103
#51 Kontact::SidePaneBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_sidepanebase.cpp:53
#52 0x00007f25b610319c in QMetaObject::activate (sender=sender@entry=0x3336600, m=m@entry=0x7f25b7ed1c40 <Kontact::Navigator::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe37158d10) at kernel/qobject.cpp:3567
#53 0x00007f25b7cc879f in Kontact::Navigator::pluginActivated (this=this@entry=0x3336600, _t1=0x3375570) at moc_iconsidepane.cpp:109
#54 0x00007f25b7cc2660 in Kontact::Navigator::slotCurrentChanged (this=0x3336600, current=...) at ../../../kontact/src/iconsidepane.cpp:477
#55 0x00007f25b7cc8659 in Kontact::Navigator::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_iconsidepane.cpp:58
#56 0x00007f25b610319c in QMetaObject::activate (sender=sender@entry=0x2c352c0, m=m@entry=0x7f25b760b160 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe37158ec0) at kernel/qobject.cpp:3567
#57 0x00007f25b707e55a in QItemSelectionModel::currentChanged (this=this@entry=0x2c352c0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:172
#58 0x00007f25b707e6cf in QItemSelectionModel::setCurrentIndex (this=0x2c352c0, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#59 0x00007f25b702bfdc in QAbstractItemView::mousePressEvent (this=0x3336600, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#60 0x00007f25b6b4e947 in QWidget::event (this=0x3336600, event=0x7ffe371596e0) at kernel/qwidget.cpp:8385
#61 0x00007f25b6f1460e in QFrame::event (this=0x3336600, e=0x7ffe371596e0) at widgets/qframe.cpp:557
#62 0x00007f25b7032163 in QAbstractItemView::viewportEvent (this=0x3336600, event=0x7ffe371596e0) at itemviews/qabstractitemview.cpp:1644
#63 0x00007f25b60ee2e6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x240c2a0, receiver=receiver@entry=0x3343310, event=event@entry=0x7ffe371596e0) at kernel/qcoreapplication.cpp:1065
#64 0x00007f25b6afa99c in QApplicationPrivate::notify_helper (this=this@entry=0x240c2a0, receiver=receiver@entry=0x3343310, e=e@entry=0x7ffe371596e0) at kernel/qapplication.cpp:4566
#65 0x00007f25b6b0163f in QApplication::notify (this=this@entry=0x7ffe37159f10, receiver=receiver@entry=0x3343310, e=e@entry=0x7ffe371596e0) at kernel/qapplication.cpp:4113
#66 0x00007f25b785cb4a in KApplication::notify (this=0x7ffe37159f10, receiver=0x3343310, event=0x7ffe371596e0) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007f25b60ee17d in QCoreApplication::notifyInternal (this=0x7ffe37159f10, receiver=receiver@entry=0x3343310, event=event@entry=0x7ffe371596e0) at kernel/qcoreapplication.cpp:955
#68 0x00007f25b6b00c9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#69 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3343310, event=event@entry=0x7ffe371596e0, alienWidget=alienWidget@entry=0x3343310, nativeWidget=nativeWidget@entry=0x23e0da0, buttonDown=buttonDown@entry=0x7f25b7628578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#70 0x00007f25b6b7a9a2 in QETWidget::translateMouseEvent (this=this@entry=0x23e0da0, event=event@entry=0x7ffe37159a40) at kernel/qapplication_x11.cpp:4632
#71 0x00007f25b6b7a24c in QApplication::x11ProcessEvent (this=0x7ffe37159f10, event=event@entry=0x7ffe37159a40) at kernel/qapplication_x11.cpp:3626
#72 0x00007f25b6ba2ba2 in x11EventSourceDispatch (s=0x2400ca0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#73 0x00007f25af36ec3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f25af36ef20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f25af36efcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007f25b611d80e in QEventDispatcherGlib::processEvents (this=0x235c1b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#77 0x00007f25b6ba2c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007f25b60eccd1 in QEventLoop::processEvents (this=this@entry=0x7ffe37159e20, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007f25b60ed035 in QEventLoop::exec (this=this@entry=0x7ffe37159e20, flags=...) at kernel/qeventloop.cpp:204
#80 0x00007f25b60f2ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#81 0x00007f25b6af8c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#82 0x0000000000403509 in main (argc=3, argv=0x7ffe3715a068) at ../../../kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 ultrabla 2015-05-13 15:26:15 UTC
happened again.

what did i do?

woke my computer up.
tried to login.
had to wait for the display to stabilize (graphic errors en mass after wake up from standby since 15.04/kde5.)
logged
kwin failed
kontact loaded twice, then crashed
had to reboot.

why did i upgrade..... it is like kde4 all over again.
Comment 2 Denis Kurz 2017-06-23 19:39:10 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 3 Denis Kurz 2018-02-01 09:48:16 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.