Bug 402552 - Crash of plasmashell in SwitchWindow::makeMenu() on latest git opensuse packages ( current day 25-12-2018)
Summary: Crash of plasmashell in SwitchWindow::makeMenu() on latest git opensuse packa...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop Containment (show other bugs)
Version: master
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-12-25 11:51 UTC by Alexandre Pereira
Modified: 2019-01-03 20:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Pereira 2018-12-25 11:51:37 UTC
Application: plasmashell (5.14.80)

Qt Version: 5.12.0
Frameworks Version: 5.54.0
Operating System: Linux 4.19.8-1-default x86_64
Distribution (Platform): openSUSE RPMs

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

Plasmashell seems to crash when I open applications. In this case, I started kmail, a few seconds after plasmashell crashed. It also happened with opening konsole or dolphin.

It doesn't happen always, and sometimes I can have a fairly good time without it crashing.

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 0x7f7932f7d4c0 (LWP 7811))]

Thread 22 (Thread 0x7f78cf7fe700 (LWP 8779)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f793745f633 in QWaitConditionPrivate::wait (deadline=..., this=0x56433667c7c0) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5643354b7460, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f793745f719 in QWaitCondition::wait (this=this@entry=0x5643354b7468, mutex=mutex@entry=0x5643354b7460, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f79391cf359 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x5643354b7458) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:245
#5  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x5643354b73e0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:709
#6  0x00007f79391cf5ba in QSGRenderThread::run (this=0x5643354b73e0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:738
#7  0x00007f7937459702 in QThreadPrivate::start (arg=0x5643354b73e0) at thread/qthread_unix.cpp:361
#8  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 21 (Thread 0x7f78cffff700 (LWP 8778)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 20 (Thread 0x7f78ed9eb700 (LWP 8008)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f793745f633 in QWaitConditionPrivate::wait (deadline=..., this=0x5643353c6a80) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x564335fa8610, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f793745f719 in QWaitCondition::wait (this=this@entry=0x564335fa8618, mutex=mutex@entry=0x564335fa8610, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f79391cf359 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x564335fa8608) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:245
#5  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x564335fa8590) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:709
#6  0x00007f79391cf5ba in QSGRenderThread::run (this=0x564335fa8590) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:738
#7  0x00007f7937459702 in QThreadPrivate::start (arg=0x564335fa8590) at thread/qthread_unix.cpp:361
#8  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 19 (Thread 0x7f78ee1ec700 (LWP 8007)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f78effff700 (LWP 8006)):
#0  0x00007f7936f2ed34 in read () from /lib64/libc.so.6
#1  0x00007f7934baaa00 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7934b64a4b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7934b64ef0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7934b6506c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f793766388b in QEventDispatcherGlib::processEvents (this=0x7f78dc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f793760e02b in QEventLoop::exec (this=this@entry=0x7f78efffec20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f79374583b6 in QThread::exec (this=this@entry=0x5643353c85d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f793914a246 in QQuickPixmapReader::run (this=0x5643353c85d0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/util/qquickpixmapcache.cpp:949
#9  0x00007f7937459702 in QThreadPrivate::start (arg=0x5643353c85d0) at thread/qthread_unix.cpp:361
#10 0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f78f4c4a700 (LWP 8005)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f793745f633 in QWaitConditionPrivate::wait (deadline=..., this=0x564335fd3250) at thread/qwaitcondition_unix.cpp:146
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x564335ff0f50, deadline=...) at thread/qwaitcondition_unix.cpp:225
#3  0x00007f793745f719 in QWaitCondition::wait (this=this@entry=0x564335ff0f58, mutex=mutex@entry=0x564335ff0f50, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#4  0x00007f79391cf359 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x564335ff0f48) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:245
#5  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x564335ff0ed0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:709
#6  0x00007f79391cf5ba in QSGRenderThread::run (this=0x564335ff0ed0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/scenegraph/qsgthreadedrenderloop.cpp:738
#7  0x00007f7937459702 in QThreadPrivate::start (arg=0x564335ff0ed0) at thread/qthread_unix.cpp:361
#8  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f78f544b700 (LWP 8004)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f78f77fe700 (LWP 7957)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f78ef7fe700 (LWP 7956)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f78f7fff700 (LWP 7955)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f7918ff9700 (LWP 7954)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f79197fa700 (LWP 7953)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f7919ffb700 (LWP 7952)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f791a7fc700 (LWP 7951)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f791affd700 (LWP 7950)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f791b7fe700 (LWP 7949)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f791bfff700 (LWP 7948)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f792098d700 (LWP 7947)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f7928d35700 (LWP 7946)):
#0  0x00007f7935d414dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f79292b3ac3 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f79292b3817 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f792b5df700 (LWP 7889)):
#0  0x00007f7934babda4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f7934b6448c in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7934b64e7b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7934b6506c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f793766388b in QEventDispatcherGlib::processEvents (this=0x7f7924000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f793760e02b in QEventLoop::exec (this=this@entry=0x7f792b5dec40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f79374583b6 in QThread::exec (this=this@entry=0x564335410810) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f7938e73f25 in QQmlThreadPrivate::run (this=0x564335410810) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#8  0x00007f7937459702 in QThreadPrivate::start (arg=0x564335410810) at thread/qthread_unix.cpp:361
#9  0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f793083d700 (LWP 7858)):
#0  0x00007f7936f2ed34 in read () from /lib64/libc.so.6
#1  0x00007f7934baaa00 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7934b64a4b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7934b64ef0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7934b6506c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f793766388b in QEventDispatcherGlib::processEvents (this=0x7f792c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f793760e02b in QEventLoop::exec (this=this@entry=0x7f793083cc30, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f79374583b6 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f7937ef9565 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f7937459702 in QThreadPrivate::start (arg=0x7f7937f73d80) at thread/qthread_unix.cpp:361
#10 0x00007f7935d3b554 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7936f3dccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7932f7d4c0 (LWP 7811)):
[KCrash Handler]
#6  QVariant::cmp (this=0x5643374c1bf8, v=...) at kernel/qvariant.cpp:4025
#7  0x00007f79376517a0 in QVariant::compare (this=this@entry=0x5643374c1bf8, v=...) at kernel/qvariant.cpp:4052
#8  0x00007f792a17ca40 in QVariant::operator< (v=..., this=0x5643374c1bf8) at /usr/include/qt5/QtCore/qvariant.h:459
#9  qMapLessThanKey<QVariant> (key2=..., key1=...) at /usr/include/qt5/QtCore/qmap.h:71
#10 QMapNode<QVariant, QAction*>::lowerBound (akey=..., this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:155
#11 QMapData<QVariant, QAction*>::findNode (this=<optimized out>, akey=...) at /usr/include/qt5/QtCore/qmap.h:287
#12 0x00007f792a17c07f in QMap<QVariant, QAction*>::contains (this=0x7ffcb172f770, akey=...) at /usr/include/qt5/QtCore/qmap.h:698
#13 SwitchWindow::makeMenu (this=this@entry=0x56433583b080) at /usr/src/debug/plasma5-workspace-5.14.80git.20181224T052527~d2654a50-40.1.x86_64/containmentactions/switchwindow/switch.cpp:176
#14 0x00007f792a17c7b4 in SwitchWindow::contextualActions (this=0x56433583b080) at /usr/src/debug/plasma5-workspace-5.14.80git.20181224T052527~d2654a50-40.1.x86_64/containmentactions/switchwindow/switch.cpp:219
#15 0x00007f792a37440e in ContainmentInterface::mousePressEvent (this=0x56433581f740, event=0x7ffcb17303e0) at /usr/src/debug/plasma-framework-5.54.0git.20181224T052013~f1ec1433c-33.1.x86_64/src/scriptengines/qml/plasmoid/containmentinterface.cpp:970
#16 0x00007f79392111d8 in QQuickItem::event (this=this@entry=0x56433581f740, ev=ev@entry=0x7ffcb17303e0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickitem.cpp:8038
#17 0x00007f792a36aef6 in AppletInterface::event (this=0x56433581f740, event=0x7ffcb17303e0) at /usr/src/debug/plasma-framework-5.54.0git.20181224T052013~f1ec1433c-33.1.x86_64/src/scriptengines/qml/plasmoid/appletinterface.cpp:781
#18 0x00007f793817b591 in QApplicationPrivate::notify_helper (this=this@entry=0x5643352fc0c0, receiver=receiver@entry=0x56433581f740, e=e@entry=0x7ffcb17303e0) at kernel/qapplication.cpp:3753
#19 0x00007f7938182b50 in QApplication::notify (this=0x7ffcb17308b0, receiver=0x56433581f740, e=0x7ffcb17303e0) at kernel/qapplication.cpp:3500
#20 0x00007f793760f359 in QCoreApplication::notifyInternal2 (receiver=0x56433581f740, event=0x7ffcb17303e0) at ../../include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#21 0x00007f793922a33c in QQuickWindowPrivate::deliverMatchingPointsToItem (this=this@entry=0x564335fc8250, item=0x56433581f740, pointerEvent=pointerEvent@entry=0x564336316b20, handlersOnly=handlersOnly@entry=false) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:2620
#22 0x00007f793922b1c2 in QQuickWindowPrivate::deliverPressOrReleaseEvent (this=0x564335fc8250, event=0x564336316b20, handlersOnly=false) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:2580
#23 0x00007f793922b54d in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x564335fc8250, pointerEvent=0x564336316b20) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:1804
#24 0x00007f793922c61b in QQuickWindowPrivate::deliverPointerEvent (this=this@entry=0x564335fc8250, event=0x564336316b20) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:2346
#25 0x00007f793922d35f in QQuickWindowPrivate::handleMouseEvent (event=0x7ffcb17303e0, this=0x564335fc8250) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:2210
#26 QQuickWindowPrivate::handleMouseEvent (this=0x564335fc8250, event=0x7ffcb17303e0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:2163
#27 0x00007f7937a04e55 in QWindow::event (this=this@entry=0x564335af7390, ev=ev@entry=0x7ffcb17303e0) at kernel/qwindow.cpp:2259
#28 0x00007f793922e6ab in QQuickWindow::event (this=0x564335af7390, e=0x7ffcb17303e0) at /usr/src/debug/libqt5-qtdeclarative-5.12.0-1.1.x86_64/src/quick/items/qquickwindow.cpp:1673
#29 0x00007f793817b591 in QApplicationPrivate::notify_helper (this=this@entry=0x5643352fc0c0, receiver=receiver@entry=0x564335af7390, e=e@entry=0x7ffcb17303e0) at kernel/qapplication.cpp:3753
#30 0x00007f7938182b50 in QApplication::notify (this=0x7ffcb17308b0, receiver=0x564335af7390, e=0x7ffcb17303e0) at kernel/qapplication.cpp:3500
#31 0x00007f793760f359 in QCoreApplication::notifyInternal2 (receiver=0x564335af7390, event=0x7ffcb17303e0) at ../../include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#32 0x00007f79379f955d in QGuiApplicationPrivate::processMouseEvent (e=0x564335505fd0) at kernel/qguiapplication.cpp:2102
#33 0x00007f79379fa975 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x564335505fd0) at kernel/qguiapplication.cpp:1837
#34 0x00007f79379d4ccb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1068
#35 0x00007f7931370130 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:74
#36 0x00007f7934b64c15 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f7934b64fd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f7934b6506c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f7937663873 in QEventDispatcherGlib::processEvents (this=0x564335331570, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f793760e02b in QEventLoop::exec (this=this@entry=0x7ffcb17307a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#41 0x00007f7937616192 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#42 0x000056433362c1eb in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.14.80git.20181224T052527~d2654a50-40.1.x86_64/shell/main.cpp:212
[Inferior 1 (process 7811) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2018-12-27 00:20:03 UTC
>It doesn't happen always, and sometimes I can have a fairly good time without it crashing.

It'll be related to your virtual desktops. If you can help turn from that into steps that'll help.

If possible a trace with valgrind would help. It seems we have dead entries in our hash map.
Comment 2 Alexandre Pereira 2018-12-27 10:41:02 UTC
What do you mean help turn from that into steps ? Only use 1 virtual desktop ?


Sorry, my valgrind experience is very very limited.

here is what i got: 

valgrind --leak-check=yes plasmashell
==6392== Memcheck, a memory error detector
==6392== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==6392== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==6392== Command: plasmashell
==6392== 
==6392== Invalid read of size 4
==6392==    at 0x74AB764: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AB863: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABA78: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ACF93: wl_display_dispatch_queue_pending (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AD3B2: wl_display_roundtrip_queue (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A84ECF: KWayland::Client::ConnectionThread::roundtrip() (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD4557B5: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0x64D74C4: qLoadPlugin<QPlatformTheme, QPlatformThemePlugin, QStringList&> (qfactoryloader_p.h:108)
==6392==    by 0x64D74C4: QPlatformThemeFactory::create(QString const&, QString const&) (qplatformthemefactory.cpp:73)
==6392==    by 0x64E1437: init_platform (qguiapplication.cpp:1239)
==6392==    by 0x64E1437: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1384)
==6392==    by 0x64E222C: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1401)
==6392==  Address 0xb516c9c is 44 bytes inside a block of size 72 free'd
==6392==    at 0x40319AB: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x4A9B164: ??? (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0x99926C4: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x9991BD6: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x74AF28C: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABAC8: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ACF93: wl_display_dispatch_queue_pending (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AD3B2: wl_display_roundtrip_queue (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A84ECF: KWayland::Client::ConnectionThread::roundtrip() (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD4557B5: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==  Block was alloc'd at
==6392==    at 0x4032B65: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x74AB8F2: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABF96: wl_proxy_marshal_array_constructor_versioned (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AC2D9: wl_proxy_marshal_constructor (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A9B656: KWayland::Client::Registry::create(wl_display*) (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0x4A9B6D5: KWayland::Client::Registry::create(KWayland::Client::ConnectionThread*) (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD455739: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0x64D74C4: qLoadPlugin<QPlatformTheme, QPlatformThemePlugin, QStringList&> (qfactoryloader_p.h:108)
==6392==    by 0x64D74C4: QPlatformThemeFactory::create(QString const&, QString const&) (qplatformthemefactory.cpp:73)
==6392==    by 0x64E1437: init_platform (qguiapplication.cpp:1239)
==6392==    by 0x64E1437: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1384)
==6392==    by 0x64E222C: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1401)
==6392== 
==6392== Invalid write of size 4
==6392==    at 0x74AB76E: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AB863: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABA78: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ACF93: wl_display_dispatch_queue_pending (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AD3B2: wl_display_roundtrip_queue (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A84ECF: KWayland::Client::ConnectionThread::roundtrip() (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD4557B5: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0x64D74C4: qLoadPlugin<QPlatformTheme, QPlatformThemePlugin, QStringList&> (qfactoryloader_p.h:108)
==6392==    by 0x64D74C4: QPlatformThemeFactory::create(QString const&, QString const&) (qplatformthemefactory.cpp:73)
==6392==    by 0x64E1437: init_platform (qguiapplication.cpp:1239)
==6392==    by 0x64E1437: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1384)
==6392==    by 0x64E222C: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1401)
==6392==  Address 0xb516c9c is 44 bytes inside a block of size 72 free'd
==6392==    at 0x40319AB: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x4A9B164: ??? (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0x99926C4: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x9991BD6: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x74AF28C: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABAC8: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ACF93: wl_display_dispatch_queue_pending (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AD3B2: wl_display_roundtrip_queue (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A84ECF: KWayland::Client::ConnectionThread::roundtrip() (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD4557B5: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==  Block was alloc'd at
==6392==    at 0x4032B65: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x74AB8F2: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABF96: wl_proxy_marshal_array_constructor_versioned (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74AC2D9: wl_proxy_marshal_constructor (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x4A9B656: KWayland::Client::Registry::create(wl_display*) (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0x4A9B6D5: KWayland::Client::Registry::create(KWayland::Client::ConnectionThread*) (in /usr/lib64/libKF5WaylandClient.so.5.54.0)
==6392==    by 0xD455739: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD43E9F8: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0xD458275: ??? (in /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so)
==6392==    by 0x64D74C4: qLoadPlugin<QPlatformTheme, QPlatformThemePlugin, QStringList&> (qfactoryloader_p.h:108)
==6392==    by 0x64D74C4: QPlatformThemeFactory::create(QString const&, QString const&) (qplatformthemefactory.cpp:73)
==6392==    by 0x64E1437: init_platform (qguiapplication.cpp:1239)
==6392==    by 0x64E1437: QGuiApplicationPrivate::createPlatformIntegration() (qguiapplication.cpp:1384)
==6392==    by 0x64E222C: QGuiApplicationPrivate::createEventDispatcher() (qguiapplication.cpp:1401)
==6392== 
org.kde.plasmaquick: Applet preload policy set to 1
Using Wayland-EGL
==6392== Thread 3 QQmlThread:
==6392== Conditional jump or move depends on uninitialised value(s)
==6392==    at 0xD257DBA: ??? (in /tmp/#68815 (deleted))
==6392==    by 0x10BCCDE7: ???
==6392== 
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
==5945== 
==5945== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==5945==    at 0x7059069: raise (in /lib64/libc-2.27.so)
==5945==    by 0x589ABAB: KCrash::defaultCrashHandler(int) (in /usr/lib64/libKF5Crash.so.5.54.0)
==5945==    by 0x705910F: ??? (in /lib64/libc-2.27.so)
==5945==    by 0x6C2253F: QVariant::cmp(QVariant const&) const (qvariant.cpp:4023)
==5945==    by 0x6C2479F: QVariant::compare(QVariant const&) const (qvariant.cpp:4052)
==5945==    by 0xFED0A3F: QMapData<QVariant, QAction*>::findNode(QVariant const&) const (qvariant.h:459)
==5945==    by 0xFED007E: SwitchWindow::makeMenu() (qmap.h:700)
==5945==    by 0xFED07B3: SwitchWindow::contextualActions() (switch.cpp:219)
==5945==    by 0xFEAF40D: ContainmentInterface::mousePressEvent(QMouseEvent*) (containmentinterface.cpp:970)
==5945==    by 0x4F781D7: QQuickItem::event(QEvent*) (qquickitem.cpp:8096)
==5945==    by 0xFEA5EF5: AppletInterface::event(QEvent*) (appletinterface.cpp:781)
==5945==    by 0x5D21590: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3753)
==5945== 
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
trying to show an empty dialog
Using the 'xdg-shell' shell integration
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
trying to show an empty dialog
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
==5945== Events    : Ir
==5945== Collected : 4505087635
==5945== 
==5945== I   refs:      4,505,087,635
==6392== Thread 17 QSGRenderThread:
==6392== Conditional jump or move depends on uninitialised value(s)
==6392==    at 0x142D87E3: ??? (in /usr/lib64/libLLVM.so.6.0.1)
==6392==    by 0x14236DF7: llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (in /usr/lib64/libLLVM.so.6.0.1)
==6392==    by 0x140CC91A: llvm::FPPassManager::runOnFunction(llvm::Function&) (in /usr/lib64/libLLVM.so.6.0.1)
==6392==    by 0x14B11468: ??? (in /usr/lib64/libLLVM.so.6.0.1)
==6392==    by 0x140CCFB7: llvm::legacy::PassManagerImpl::run(llvm::Module&) (in /usr/lib64/libLLVM.so.6.0.1)
==6392==    by 0x131B2EF4: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130BAC5C: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130B0906: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130B0C52: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130B334E: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130CD73D: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392==    by 0x130D0C03: ??? (in /usr/lib64/dri/radeonsi_dri.so)
==6392== 
Plasma Shell startup completed
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/papeis de parede/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/papeis de parede/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/papeis de parede/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
qt.qpa.wayland: Non-toplevel surfaces can't request window states
==6392== Thread 1:
==6392== Conditional jump or move depends on uninitialised value(s)
==6392==    at 0xD2BDA3D: QtWaylandClient::QWaylandInputDevice::Keyboard::keyboard_key(unsigned int, unsigned int, unsigned int, unsigned int) (qwaylandinputdevice.cpp:786)
==6392==    by 0x99926C4: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x9991BD6: ??? (in /usr/lib64/libffi.so.7.1.0)
==6392==    by 0x74AF28C: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ABAC8: ??? (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0x74ACF93: wl_display_dispatch_queue_pending (in /usr/lib64/libwayland-client.so.0.3.0)
==6392==    by 0xD2BE811: QtWaylandClient::QWaylandDisplay::flushRequests() (qwaylanddisplay.cpp:186)
==6392==    by 0x6C220AA: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3778)
==6392==    by 0x6C2D918: QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (moc_qsocketnotifier.cpp:140)
==6392==    by 0x6C2DC60: QSocketNotifier::event(QEvent*) (qsocketnotifier.cpp:266)
==6392==    by 0x5D3B590: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3753)
==6392==    by 0x5D42B4F: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3500)
==6392== 
qt.qpa.wayland: Non-toplevel surfaces can't request window states
qt.qpa.wayland: Non-toplevel surfaces can't request window states
qt.qpa.wayland: Non-toplevel surfaces can't request window states
qt.qpa.wayland: Non-toplevel surfaces can't request window states
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
kf5.kpackage: No metadata file in the package, expected it at: "/mnt/local/Imagens/Wallpapers/"
==6392== Use of uninitialised value of size 8
==6392==    at 0x6C38540: QVariant::cmp(QVariant const&) const (qvariant.cpp:4025)
==6392==    by 0x6C3A79F: QVariant::compare(QVariant const&) const (qvariant.cpp:4052)
==6392==    by 0x1209AA3F: operator< (qvariant.h:459)
==6392==    by 0x1209AA3F: qMapLessThanKey<QVariant> (qmap.h:71)
==6392==    by 0x1209AA3F: lowerBound (qmap.h:155)
==6392==    by 0x1209AA3F: QMapData<QVariant, QAction*>::findNode(QVariant const&) const (qmap.h:287)
==6392==    by 0x1209A07E: contains (qmap.h:700)
==6392==    by 0x1209A07E: SwitchWindow::makeMenu() (switch.cpp:176)
==6392==    by 0x1209A7B3: SwitchWindow::contextualActions() (switch.cpp:219)
==6392==    by 0x11EA840D: ContainmentInterface::mousePressEvent(QMouseEvent*) (containmentinterface.cpp:970)
==6392==    by 0x4F961D7: QQuickItem::event(QEvent*) (qquickitem.cpp:8096)
==6392==    by 0x11E9EEF5: AppletInterface::event(QEvent*) (appletinterface.cpp:781)
==6392==    by 0x5D3B590: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3753)
==6392==    by 0x5D42B4F: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3500)
==6392==    by 0x6BF8358: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1061)
==6392==    by 0x4FAF33B: QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem*, QQuickPointerEvent*, bool) (qquickwindow.cpp:2620)
==6392== 
==6392== Invalid read of size 4
==6392==    at 0x6C38540: QVariant::cmp(QVariant const&) const (qvariant.cpp:4025)
==6392==    by 0x6C3A79F: QVariant::compare(QVariant const&) const (qvariant.cpp:4052)
==6392==    by 0x1209AA3F: operator< (qvariant.h:459)
==6392==    by 0x1209AA3F: qMapLessThanKey<QVariant> (qmap.h:71)
==6392==    by 0x1209AA3F: lowerBound (qmap.h:155)
==6392==    by 0x1209AA3F: QMapData<QVariant, QAction*>::findNode(QVariant const&) const (qmap.h:287)
==6392==    by 0x1209A07E: contains (qmap.h:700)
==6392==    by 0x1209A07E: SwitchWindow::makeMenu() (switch.cpp:176)
==6392==    by 0x1209A7B3: SwitchWindow::contextualActions() (switch.cpp:219)
==6392==    by 0x11EA840D: ContainmentInterface::mousePressEvent(QMouseEvent*) (containmentinterface.cpp:970)
==6392==    by 0x4F961D7: QQuickItem::event(QEvent*) (qquickitem.cpp:8096)
==6392==    by 0x11E9EEF5: AppletInterface::event(QEvent*) (appletinterface.cpp:781)
==6392==    by 0x5D3B590: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3753)
==6392==    by 0x5D42B4F: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3500)
==6392==    by 0x6BF8358: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1061)
==6392==    by 0x4FAF33B: QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem*, QQuickPointerEvent*, bool) (qquickwindow.cpp:2620)
==6392==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==6392== 
KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
sock_file=/run/user/1500/kdeinit5__1
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
sock_file=/run/user/1500/kdeinit5__1
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
==6392== Thread 2 QDBusConnectionM:
==6392== Invalid read of size 2
==6392==    at 0x6C4C719: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:91)
==6392==    by 0x9653970: g_main_context_check (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x9653EEF: ??? (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x965406B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x6C4C872: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:422)
==6392==    by 0x6BF702A: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:225)
==6392==    by 0x6A413B5: QThread::exec() (qthread.cpp:531)
==6392==    by 0x62DE564: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6A42701: QThreadPrivate::start(void*) (qthread_unix.cpp:361)
==6392==    by 0x82EC553: start_thread (in /lib64/libpthread-2.27.so)
==6392==    by 0x7131CCE: clone (in /lib64/libc-2.27.so)
==6392==  Address 0xdf46494 is 4 bytes inside a block of size 16 free'd
==6392==    at 0x403208B: operator delete(void*, unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x6C2DAD2: QSocketNotifier::setEnabled(bool) (qsocketnotifier.cpp:246)
==6392==    by 0x6C4C718: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:88)
==6392==    by 0x9653970: g_main_context_check (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x9653EEF: ??? (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x965406B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x6C4C872: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:422)
==6392==    by 0x6BF702A: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:225)
==6392==    by 0x6A413B5: QThread::exec() (qthread.cpp:531)
==6392==    by 0x62DE564: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6A42701: QThreadPrivate::start(void*) (qthread_unix.cpp:361)
==6392==    by 0x82EC553: start_thread (in /lib64/libpthread-2.27.so)
==6392==  Block was alloc'd at
==6392==    at 0x4030DEF: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x6C4D3A3: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (qeventdispatcher_glib.cpp:459)
==6392==    by 0x6C2D9DF: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (qsocketnotifier.cpp:155)
==6392==    by 0x62E92C8: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x8A16041: _dbus_watch_list_set_functions (in /usr/lib64/libdbus-1.so.3.19.8)
==6392==    by 0x89FBA3C: dbus_connection_set_watch_functions (in /usr/lib64/libdbus-1.so.3.19.8)
==6392==    by 0x62EBB10: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x62E0807: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6C22961: QObject::event(QEvent*) (qobject.cpp:1249)
==6392==    by 0x6BF8335: doNotify (qcoreapplication.cpp:1151)
==6392==    by 0x6BF8335: notify (qcoreapplication.cpp:1137)
==6392==    by 0x6BF8335: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1061)
==6392==    by 0x6BFB356: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1800)
==6392==    by 0x6C4D262: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:276)
==6392== 
==6392== Invalid read of size 2
==6392==    at 0x6C4C71E: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:79)
==6392==    by 0x9653970: g_main_context_check (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x9653EEF: ??? (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x965406B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x6C4C872: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:422)
==6392==    by 0x6BF702A: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:225)
==6392==    by 0x6A413B5: QThread::exec() (qthread.cpp:531)
==6392==    by 0x62DE564: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6A42701: QThreadPrivate::start(void*) (qthread_unix.cpp:361)
==6392==    by 0x82EC553: start_thread (in /lib64/libpthread-2.27.so)
==6392==    by 0x7131CCE: clone (in /lib64/libc-2.27.so)
==6392==  Address 0xdf46496 is 6 bytes inside a block of size 16 free'd
==6392==    at 0x403208B: operator delete(void*, unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x6C2DAD2: QSocketNotifier::setEnabled(bool) (qsocketnotifier.cpp:246)
==6392==    by 0x6C4C718: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:88)
==6392==    by 0x9653970: g_main_context_check (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x9653EEF: ??? (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x965406B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5800.1)
==6392==    by 0x6C4C872: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:422)
==6392==    by 0x6BF702A: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:225)
==6392==    by 0x6A413B5: QThread::exec() (qthread.cpp:531)
==6392==    by 0x62DE564: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6A42701: QThreadPrivate::start(void*) (qthread_unix.cpp:361)
==6392==    by 0x82EC553: start_thread (in /lib64/libpthread-2.27.so)
==6392==  Block was alloc'd at
==6392==    at 0x4030DEF: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6392==    by 0x6C4D3A3: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (qeventdispatcher_glib.cpp:459)
==6392==    by 0x6C2D9DF: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (qsocketnotifier.cpp:155)
==6392==    by 0x62E92C8: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x8A16041: _dbus_watch_list_set_functions (in /usr/lib64/libdbus-1.so.3.19.8)
==6392==    by 0x89FBA3C: dbus_connection_set_watch_functions (in /usr/lib64/libdbus-1.so.3.19.8)
==6392==    by 0x62EBB10: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x62E0807: ??? (in /usr/lib64/libQt5DBus.so.5.12.0)
==6392==    by 0x6C22961: QObject::event(QEvent*) (qobject.cpp:1249)
==6392==    by 0x6BF8335: doNotify (qcoreapplication.cpp:1151)
==6392==    by 0x6BF8335: notify (qcoreapplication.cpp:1137)
==6392==    by 0x6BF8335: QCoreApplication::notifyInternal2(QObject*, QEvent*) (qcoreapplication.cpp:1061)
==6392==    by 0x6BFB356: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (qcoreapplication.cpp:1800)
==6392==    by 0x6C4D262: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:276)
==6392== 
Job 2, 'valgrind --leak-check=yes plasm…' has stopped
fish: Job 1, 'valgrind --tool=callgrind plasm…' terminated by signal SIGSEGV (Address boundary error)
Comment 3 Alexandre Pereira 2019-01-02 14:17:30 UTC
I think i have a reproducable method, on wayland:

* Set left mouse button to "switch application window" on plasmashell plasma desktop configurations.

* Click/Focus on a window and then click back on the plasmashell plasma desktop. Plasmashell will crash
Comment 4 David Edmundson 2019-01-03 11:47:04 UTC
Git commit acebd8c860da1fe44057bdbd0b4e707b5af0a32f by David Edmundson.
Committed on 03/01/2019 at 11:46.
Pushed by davidedmundson into branch 'master'.

[containmentactions/switchwindow] Fix loop itteration

Summary: BUG: 402552

Test Plan:
Opened menu
Didn't crash

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17925

M  +2    -2    containmentactions/switchwindow/switch.cpp

https://commits.kde.org/plasma-workspace/acebd8c860da1fe44057bdbd0b4e707b5af0a32f