Bug 387524

Summary: plasma crash after several windows closed
Product: [Plasma] plasmashell Reporter: Cezar Tigaret <cezar.tigaret>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.7   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cezar Tigaret 2017-12-02 10:15:40 UTC
Application: plasmashell (5.8.7)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.92-31-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
- What I was doing when the application crashed:
working on a multi-window pyqt5 application; its windows were closed by quitting the application; while this is the first time the crash happened in these circumstances, it does occur randomly when closing several okular windows from the "Close" action on the context menu in the plasma task manager

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 0x7f2795bc8900 (LWP 3264))]

Thread 16 (Thread 0x7f2683ffe700 (LWP 4923)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f268d6bd700 (LWP 4909)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f268e29e700 (LWP 4037)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f268ebdf700 (LWP 3996)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f269b599700 (LWP 3965)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f26a0ae1700 (LWP 3957)):
#0  0x00007f278f0e720d in poll () at /lib64/libc.so.6
#1  0x00007f278b798314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f26a1f94700 (LWP 3950)):
#0  0x00007f278b7d9899 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f278b7982fa in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f26a33bd8f7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f26b0dd5700 (LWP 3946)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f26b930c700 (LWP 3638)):
#0  0x00007f278f0e720d in poll () at /lib64/libc.so.6
#1  0x00007f278b798314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f26d68c9700 (LWP 3439)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f278f7e269b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f27936dc55b in  () at /usr/lib64/libQt5Quick.so.5
#3  0x00007f27936de2d5 in  () at /usr/lib64/libQt5Quick.so.5
#4  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f26d78b4700 (LWP 3437)):
#0  0x00007f278b797938 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f278b798230 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f279366e822 in  () at /usr/lib64/libQt5Quick.so.5
#7  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f27697ff700 (LWP 3414)):
#0  0x00007f278e8f50bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f27952d393b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f27952d3969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f276bfff700 (LWP 3322)):
#0  0x00007f278f0e720d in poll () at /lib64/libc.so.6
#1  0x00007f278b798314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2792aea3d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2771989700 (LWP 3316)):
#0  0x00007f278b7d98b4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f278b797950 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f278b798230 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2792aea3d8 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f27818ef700 (LWP 3278)):
#0  0x00007f278f0e328d in read () at /lib64/libc.so.6
#1  0x00007f2786b3ef55 in  () at /usr/lib64/tls/libnvidia-tls.so.340.104
#2  0x00007f278b7d8750 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f278b797e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f278b7982a8 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f278f9f41ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f278f7dcf5a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f278fe08295 in  () at /usr/lib64/libQt5DBus.so.5
#10 0x00007f278f7e1a29 in  () at /usr/lib64/libQt5Core.so.5
#11 0x00007f278e8f0744 in start_thread () at /lib64/libpthread.so.0
#12 0x00007f278f0efaad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2795bc8900 (LWP 3264)):
[KCrash Handler]
#6  0x00007f278f96edd0 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f278f96f0af in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f278f975f19 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f278f9cd7d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f278fa44334 in QAbstractItemModel::rowsRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f278f952751 in QAbstractItemModel::endRemoveRows() () at /usr/lib64/libQt5Core.so.5
#12 0x00007f276a0b055f in TaskManager::TaskGroupingProxyModel::Private::sourceRowsAboutToBeRemoved(QModelIndex const&, int, int) () at /usr/lib64/libtaskmanager.so.6
#13 0x00007f276a0b3119 in  () at /usr/lib64/libtaskmanager.so.6
#14 0x00007f278f9cd7d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#15 0x00007f278fa442e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f278f951ed4 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f278f970a0d in  () at /usr/lib64/libQt5Core.so.5
#18 0x00007f278f970bbd in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007f278f975ef8 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007f278f9cd7d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f278fa442e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f278f951ed4 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f2769e4aed5 in  () at /usr/lib64/libKF5ItemModels.so.5
#24 0x00007f2769e4bd21 in  () at /usr/lib64/libKF5ItemModels.so.5
#25 0x00007f278f9cd7d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f278fa442e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f278f951ed4 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f278f969ecf in  () at /usr/lib64/libQt5Core.so.5
#29 0x00007f278f9cd7d1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#30 0x00007f278fa442e4 in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f278f951ed4 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f276a0ca7d5 in TaskManager::XWindowTasksModel::Private::removeWindow(unsigned long long) () at /usr/lib64/libtaskmanager.so.6
#33 0x00007f278f9cdde3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f2792608ea2 in KWindowSystem::windowRemoved(unsigned long long) () at /usr/lib64/libKF5WindowSystem.so.5
#35 0x00007f2771dab185 in  () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#36 0x00007f2792601771 in NETRootInfo::update(QFlags<NET::Property>, QFlags<NET::Property2>) () at /usr/lib64/libKF5WindowSystem.so.5
#37 0x00007f2792602642 in NETRootInfo::event(xcb_generic_event_t*, QFlags<NET::Property>*, QFlags<NET::Property2>*) () at /usr/lib64/libKF5WindowSystem.so.5
#38 0x00007f2792602872 in NETRootInfo::event(xcb_generic_event_t*, unsigned long*, int) () at /usr/lib64/libKF5WindowSystem.so.5
#39 0x00007f2771daab56 in  () at /usr/lib64/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#40 0x00007f278f9a0e90 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib64/libQt5Core.so.5
#41 0x00007f2780b90434 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#42 0x00007f2780b924db in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#43 0x00007f278f9cee26 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#44 0x00007f279092628c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#45 0x00007f279092a8ea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#46 0x00007f278f9a3be5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#47 0x00007f278f9a59ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#48 0x00007f278f9f4b03 in  () at /usr/lib64/libQt5Core.so.5
#49 0x00007f278b798134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#50 0x00007f278b798388 in  () at /usr/lib64/libglib-2.0.so.0
#51 0x00007f278b79842c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#52 0x00007f278f9f418c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#53 0x00007f278f9a1bfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#54 0x00007f278f9a9ae6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#55 0x000000000041f0ff in  ()
#56 0x00007f278f0266e5 in __libc_start_main () at /lib64/libc.so.6
#57 0x000000000041f369 in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2017-12-06 19:53:12 UTC

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