Bug 383999

Summary: Plasma crashed with kmail freeze/weird behaviour
Product: [Plasma] plasmashell Reporter: yves.caniou
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.10.4   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description yves.caniou 2017-08-25 09:37:43 UTC
Application: plasmashell (5.10.4)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.4.83 x86_64
Distribution (Platform): Gentoo Packages

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

Using kmail, I just clicked on one of the mail accounts to access and read incoming mails (kmail producing a lot of "org.kde.pim.kmail: Danger, using an event loop, this should no longer be happening!" msgs).

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1d6db9f780 (LWP 3033))]

Thread 10 (Thread 0x7f1cac828700 (LWP 5229)):
#0  0x00007f1d67af706f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1d68c8634a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f1cb59f727f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1cb59fb1f8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1cb59fb252 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1cb59f8def in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f1cad029700 (LWP 5228)):
#0  0x00007f1d67af706f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1d68c8634a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f1cb59f727f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1cb59fb1f8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1cb59fb252 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1cb59f8def in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f1cad82a700 (LWP 5227)):
#0  0x00007f1d67af706f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1d68c8634a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f1cb59f727f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1cb59fb1f8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1cb59fb252 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1cb59f8def in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f1caff36700 (LWP 5226)):
#0  0x00007f1d67af706f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1d68c8634a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f1cb59f727f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f1cb59fb1f8 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f1cb59fb252 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f1cb59f646d in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f1cb59f8def in ThreadWeaver::Thread::run() () from /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f1d477bc700 (LWP 3194)):
#0  0x00007f1d67af706f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f1d6d5e7f54 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQt5Script.so.5
#2  0x00007f1d6d5e7f99 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQt5Script.so.5
#3  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f1d51770700 (LWP 3183)):
#0  0x00007f1d68529511 in read () from /lib64/libc.so.6
#1  0x00007f1d63f419f0 in g_wakeup_acknowledge () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1d63efd382 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1d63efd8a0 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f1d63efda0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f1d68e66e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f1d68e1924a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f1d68c81b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1d6b1dee85 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#9  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f1d535ef700 (LWP 3140)):
#0  0x00007f1d6852d55d in poll () from /lib64/libc.so.6
#1  0x00007f1d63efd8fc in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1d63efda0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1d68e66e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f1d68e1924a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f1d68c81b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f1d6b1dee85 in QQmlThreadPrivate::run() () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1d5982d700 (LWP 3059)):
#0  0x00007f1d68e65529 in QTimerInfoList::updateCurrentTime() () from /usr/lib64/libQt5Core.so.5
#1  0x00007f1d68e65905 in QTimerInfoList::timerWait(timespec&) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f1d68e66b1c in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f1d68e66be5 in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f1d63efcdcd in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f1d63efd828 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f1d63efda0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f1d68e66e7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1d68e1924a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d68c81b24 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#10 0x00007f1d6dcb46a5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#11 0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1d5abbc700 (LWP 3055)):
#0  0x00007f1d6852d55d in poll () from /lib64/libc.so.6
#1  0x00007f1d6c5308f2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f1d6c5326df in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f1d5cd07be9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f1d68c85cfc in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f1d67af1414 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f1d685365dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1d6db9f780 (LWP 3033)):
[KCrash Handler]
#6  0x00007f1d68dec225 in QSortFilterProxyModelPrivate::updateChildrenMapping(QModelIndex const&, QSortFilterProxyModelPrivate::Mapping*, Qt::Orientation, int, int, int, bool) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f1d68dec551 in QSortFilterProxyModelPrivate::source_items_removed(QModelIndex const&, int, int, Qt::Orientation) [clone .part.80] [clone .constprop.174] () from /usr/lib64/libQt5Core.so.5
#8  0x00007f1d68df1a69 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5
#9  0x00007f1d68e40207 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007f1d68eaca14 in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f1d68dd0f8d in QAbstractItemModel::endRemoveRows() () from /usr/lib64/libQt5Core.so.5
#12 0x00007f1cb423d3dd in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) [clone .part.67] () from /usr/lib64/libtaskmanager.so.6
#13 0x00007f1cb4240449 in TaskManager::TaskGroupingProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libtaskmanager.so.6
#14 0x00007f1d68e40207 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#15 0x00007f1d68eac9a4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#16 0x00007f1d68dd0703 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f1d68deae25 in QSortFilterProxyModelPrivate::remove_proxy_interval(QVector<int>&, QVector<int>&, int, int, QModelIndex const&, Qt::Orientation, bool) () from /usr/lib64/libQt5Core.so.5
#18 0x00007f1d68def447 in QSortFilterProxyModelPrivate::remove_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f1d68def653 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed(QModelIndex const&, int, int, Qt::Orientation) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f1d68df1a48 in QSortFilterProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5
#21 0x00007f1d68e40207 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#22 0x00007f1d68eac9a4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f1d68dd0703 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f1cb6b82755 in KConcatenateRowsProxyModelPrivate::slotRowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib64/libKF5ItemModels.so.5
#25 0x00007f1cb6b83d21 in KConcatenateRowsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libKF5ItemModels.so.5
#26 0x00007f1d68e40207 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#27 0x00007f1d68eac9a4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#28 0x00007f1d68dd0703 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib64/libQt5Core.so.5
#29 0x00007f1d68de6b77 in QIdentityProxyModelPrivate::_q_sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f1d68de7649 in QIdentityProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f1d68e40207 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f1d68eac9a4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#33 0x00007f1d68dd0703 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f1cb4257e48 in TaskManager::XWindowTasksModel::Private::removeWindow(unsigned long long) () from /usr/lib64/libtaskmanager.so.6
#35 0x00007f1d68e40542 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#36 0x00007f1d6ad08be2 in KWindowSystem::windowRemoved(unsigned long long) () from /usr/lib64/libKF5WindowSystem.so.5
#37 0x00007f1d5850e202 in NETEventFilter::removeClient(unsigned int) () from /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#38 0x00007f1d6ad01110 in NETRootInfo::update(QFlags<NET::Property>, QFlags<NET::Property2>) () from /usr/lib64/libKF5WindowSystem.so.5
#39 0x00007f1d6ad019e4 in NETRootInfo::event(xcb_generic_event_t*, QFlags<NET::Property>*, QFlags<NET::Property2>*) () from /usr/lib64/libKF5WindowSystem.so.5
#40 0x00007f1d6ad01d02 in NETRootInfo::event(xcb_generic_event_t*, unsigned long*, int) () from /usr/lib64/libKF5WindowSystem.so.5
#41 0x00007f1d5850d946 in NETEventFilter::nativeEventFilter(xcb_generic_event_t*) () from /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#42 0x00007f1d68e1832c in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib64/libQt5Core.so.5
#43 0x00007f1d5cd0b834 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib64/libQt5XcbQpa.so.5
#44 0x00007f1d5cd0c500 in QXcbConnection::processXcbEvents() () from /usr/lib64/libQt5XcbQpa.so.5
#45 0x00007f1d68e41341 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#46 0x00007f1d6964dacc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#47 0x00007f1d696554c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#48 0x00007f1d68e1a28a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#49 0x00007f1d68e1c8cb in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#50 0x00007f1d68e66de3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#51 0x00007f1d63efd67d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#52 0x00007f1d63efd960 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#53 0x00007f1d63efda0c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#54 0x00007f1d68e66e5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#55 0x00007f1d68e1924a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#56 0x00007f1d68e20b1c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#57 0x000000000041cda8 in main ()

Possible duplicates by query: bug 383947, bug 383945, bug 383647, bug 383282, bug 382302.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2017-08-25 10:54:31 UTC

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