Bug 400196 - Plasma crashed after fast left and right clicking on desktop on Wayland
Summary: Plasma crashed after fast left and right clicking on desktop on Wayland
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-wayland (show other bugs)
Version: 5.18.4
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 397743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-23 12:11 UTC by Alexander Mentyu
Modified: 2021-03-04 20:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
OpenMenues (73.21 KB, image/png)
2020-04-21 18:25 UTC, Rainer Finke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2018-10-23 12:11:47 UTC
Application: plasmashell (5.14.80)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.15.0-36-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
Fast clicking on desktop with left and right mouse buttons invokes Plasma crash

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3b8d4d3840 (LWP 1105))]

Thread 10 (Thread 0x7f3b237fe700 (LWP 2044)):
#0  0x00007f3b83c9d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c7f9ae9c4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c7f9ae970, cond=0x557c7f9ae998) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c7f9ae998, mutex=0x557c7f9ae970) at pthread_cond_wait.c:655
#3  0x00007f3b8717094b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x557c7f9ae970) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x557c7f6a3748, mutex=mutex@entry=0x557c7f6a3740, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f3b8b375b18 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557c7f6a3738) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x557c7f6a36c0) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f3b8b375f4a in QSGRenderThread::run (this=0x557c7f6a36c0) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7f6a36c0) at thread/qthread_unix.cpp:367
#9  0x00007f3b83c976db in start_thread (arg=0x7f3b237fe700) at pthread_create.c:463
#10 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f3b23fff700 (LWP 1440)):
#0  0x00007f3b83c9d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c7db81954) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c7db81900, cond=0x557c7db81928) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c7db81928, mutex=0x557c7db81900) at pthread_cond_wait.c:655
#3  0x00007f3b8717094b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x557c7db81900) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x557c7dff6e98, mutex=mutex@entry=0x557c7dff6e90, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f3b8b375b18 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557c7dff6e88) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x557c7dff6e10) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f3b8b375f4a in QSGRenderThread::run (this=0x557c7dff6e10) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7dff6e10) at thread/qthread_unix.cpp:367
#9  0x00007f3b83c976db in start_thread (arg=0x7f3b23fff700) at pthread_create.c:463
#10 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f3b3caf1700 (LWP 1424)):
#0  0x00007f3b83c9d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c7ca6abe4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c7ca6ab90, cond=0x557c7ca6abb8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c7ca6abb8, mutex=0x557c7ca6ab90) at pthread_cond_wait.c:655
#3  0x00007f3b8717094b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x557c7ca6ab90) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x557c7ca48e98, mutex=mutex@entry=0x557c7ca48e90, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f3b8b375b18 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557c7ca48e88) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x557c7ca48e10) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f3b8b375f4a in QSGRenderThread::run (this=0x557c7ca48e10) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7ca48e10) at thread/qthread_unix.cpp:367
#9  0x00007f3b83c976db in start_thread (arg=0x7f3b3caf1700) at pthread_create.c:463
#10 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f3b3d3ab700 (LWP 1253)):
#0  0x00007f3b83c9d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c7b1deb80) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c7b1deb30, cond=0x557c7b1deb58) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c7b1deb58, mutex=0x557c7b1deb30) at pthread_cond_wait.c:655
#3  0x00007f3b8717094b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x557c7b1deb30) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x557c7b1df358, mutex=mutex@entry=0x557c7b1df350, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f3b8b375b18 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557c7b1df348) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x557c7b1df2d0) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f3b8b375f4a in QSGRenderThread::run (this=0x557c7b1df2d0) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7b1df2d0) at thread/qthread_unix.cpp:367
#9  0x00007f3b83c976db in start_thread (arg=0x7f3b3d3ab700) at pthread_create.c:463
#10 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f3b44aab700 (LWP 1251)):
#0  0x00007f3b86a560b4 in __GI___libc_read (fd=25, buf=0x7f3b44aaab10, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f3b80920a00 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b808dbf27 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b808dc3e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3b808dc54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3b8739553b in QEventDispatcherGlib::processEvents (this=0x7f3b40000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f3b873397fa in QEventLoop::exec (this=this@entry=0x7f3b44aaad20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007f3b87164bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007f3b47408f77 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7ae02c40) at thread/qthread_unix.cpp:367
#10 0x00007f3b83c976db in start_thread (arg=0x7f3b44aab700) at pthread_create.c:463
#11 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3b5dfc5700 (LWP 1219)):
#0  0x00007f3b80921d94 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3b808dc3f6 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b808dc54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b8739553b in QEventDispatcherGlib::processEvents (this=0x7f3b50000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3b873397fa in QEventLoop::exec (this=this@entry=0x7f3b5dfc4cf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3b87164bba in QThread::exec (this=this@entry=0x557c7a4af300) at thread/qthread.cpp:525
#6  0x00007f3b8b2f6826 in QQuickPixmapReader::run (this=0x557c7a4af300) at util/qquickpixmapcache.cpp:934
#7  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7a4af300) at thread/qthread_unix.cpp:367
#8  0x00007f3b83c976db in start_thread (arg=0x7f3b5dfc5700) at pthread_create.c:463
#9  0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3b5e8fa700 (LWP 1217)):
#0  0x00007f3b83c9d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x557c7a2e3030) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x557c7a2e2fe0, cond=0x557c7a2e3008) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x557c7a2e3008, mutex=0x557c7a2e2fe0) at pthread_cond_wait.c:655
#3  0x00007f3b8717094b in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x557c7a2e2fe0) at thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x557c7a2e3738, mutex=mutex@entry=0x557c7a2e3730, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:215
#5  0x00007f3b8b375b18 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x557c7a2e3728) at scenegraph/qsgthreadedrenderloop.cpp:245
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x557c7a2e36b0) at scenegraph/qsgthreadedrenderloop.cpp:709
#7  0x00007f3b8b375f4a in QSGRenderThread::run (this=0x557c7a2e36b0) at scenegraph/qsgthreadedrenderloop.cpp:738
#8  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c7a2e36b0) at thread/qthread_unix.cpp:367
#9  0x00007f3b83c976db in start_thread (arg=0x7f3b5e8fa700) at pthread_create.c:463
#10 0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3b760a6700 (LWP 1186)):
#0  0x00007f3b86a5abf9 in __GI___poll (fds=0x7f3b68004e00, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3b808dc439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b808dc54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b8739553b in QEventDispatcherGlib::processEvents (this=0x7f3b68000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3b873397fa in QEventLoop::exec (this=this@entry=0x7f3b760a5d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3b87164bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f3b8ae7b4f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x557c79b2a700) at thread/qthread_unix.cpp:367
#8  0x00007f3b83c976db in start_thread (arg=0x7f3b760a6700) at pthread_create.c:463
#9  0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3b77adc700 (LWP 1164)):
#0  0x00007f3b86a5abf9 in __GI___poll (fds=0x7f3b70003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3b808dc439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3b808dc54c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3b8739553b in QEventDispatcherGlib::processEvents (this=0x7f3b70000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3b873397fa in QEventLoop::exec (this=this@entry=0x7f3b77adbd30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#5  0x00007f3b87164bba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#6  0x00007f3b883d7e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f3b8716fadb in QThreadPrivate::start (arg=0x7f3b8864fd60) at thread/qthread_unix.cpp:367
#8  0x00007f3b83c976db in start_thread (arg=0x7f3b77adc700) at pthread_create.c:463
#9  0x00007f3b86a6788f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3b8d4d3840 (LWP 1105)):
[KCrash Handler]
#6  0x00007f3b8b39b698 in QMouseEvent::setLocalPos (this=0x0, localPosition=...) at /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:135
#7  QQuickPointerMouseEvent::asMouseEvent (this=this@entry=0x557c7c9a66e0, localPos=...) at items/qquickevents.cpp:1473
#8  0x00007f3b8b3d3288 in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x557c79bb5bb0, pointerEvent=0x557c7c9a66e0) at items/qquickwindow.cpp:1738
#9  0x00007f3b8b3d3d8b in QQuickWindowPrivate::deliverPointerEvent (this=this@entry=0x557c79bb5bb0, event=0x557c7c9a66e0) at items/qquickwindow.cpp:2317
#10 0x00007f3b8b3d460e in QQuickWindowPrivate::handleMouseEvent (this=0x557c79bb5bb0, event=0x7ffe79c54e70) at items/qquickwindow.cpp:2187
#11 0x00007f3b878d9745 in QWindow::event (this=this@entry=0x557c79d4a350, ev=ev@entry=0x7ffe79c54e70) at kernel/qwindow.cpp:2334
#12 0x00007f3b8b3d61a5 in QQuickWindow::event (this=0x557c79d4a350, e=0x7ffe79c54e70) at items/qquickwindow.cpp:1634
#13 0x00007f3b88c2de1c in QApplicationPrivate::notify_helper (this=this@entry=0x557c79a3f5e0, receiver=receiver@entry=0x557c79d4a350, e=e@entry=0x7ffe79c54e70) at kernel/qapplication.cpp:3727
#14 0x00007f3b88c353ef in QApplication::notify (this=0x7ffe79c55200, receiver=0x557c79d4a350, e=0x7ffe79c54e70) at kernel/qapplication.cpp:3486
#15 0x00007f3b8733b4d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x557c79d4a350, event=event@entry=0x7ffe79c54e70) at kernel/qcoreapplication.cpp:1048
#16 0x00007f3b878cd7bb in QCoreApplication::sendSpontaneousEvent (event=0x7ffe79c54e70, receiver=0x557c79d4a350) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#17 QGuiApplicationPrivate::processMouseEvent (e=0x557c7c9f3440) at kernel/qguiapplication.cpp:2082
#18 0x00007f3b878cf335 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557c7c9f3440) at kernel/qguiapplication.cpp:1817
#19 0x00007f3b878a7f5b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1032
#20 0x00007f3b7a50d73b in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#21 0x00007f3b873397fa in QEventLoop::exec (this=this@entry=0x7ffe79c550e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#22 0x00007f3b873429c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1336
#23 0x0000557c78577f25 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:212

Possible duplicates by query: bug 397743.

Reported using DrKonqi
Comment 1 David Edmundson 2018-10-23 12:52:43 UTC
*** Bug 397743 has been marked as a duplicate of this bug. ***
Comment 2 Rainer Finke 2020-04-21 18:25:27 UTC
Created attachment 127757 [details]
OpenMenues
Comment 3 Rainer Finke 2020-04-21 18:26:45 UTC
I couldn't recreate this crash. But I got many open menues, please see in the attached screenshot.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.15.0
Kernel Version: 5.6.5-arch3-1
Comment 4 Nate Graham 2021-03-04 20:45:34 UTC
I can't reproduce it either. Let's call it fixed. Please feel free to open a new bug report for that other issue. ...Which I think is also fixed actually, now that I think about it. :)