Bug 414411 - plasmashell on Wayland segmentation fault in update_buffers in mesa-libEGL
Summary: plasmashell on Wayland segmentation fault in update_buffers in mesa-libEGL
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL: https://bugzilla.redhat.com/show_bug....
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-11-23 05:21 UTC by Matt Fagnani
Modified: 2020-11-23 09:15 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ksplashqml 5.16.5 segmentation fault report (14.16 KB, text/plain)
2019-11-23 05:51 UTC, Matt Fagnani
Details
New crash information added by DrKonqi (17.36 KB, text/plain)
2020-09-09 05:14 UTC, ElXreno
Details
my crash logs (20.95 KB, text/plain)
2020-09-19 09:59 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fagnani 2019-11-23 05:21:38 UTC
Application: plasmashell (5.17.3)

Qt Version: 5.12.5
Frameworks Version: 5.64.0
Operating System: Linux 5.3.12-300.fc31.x86_64 x86_64
Distribution: Fedora 31 (Thirty One)

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

I was using Plasma 5.17.3 on Wayland in Fedora 31. I left-clicked 2-3 times on the bottom-left corner of the screen where the Configure Panel popup was shown. I left-clicked on the x button to close the Configure Panel bar.

- Unusual behavior I noticed:
The Task Manager bar disappeared and reappeared automatically. The background went black.

Dr. Konqi showed that plasmashell segmentation faulted in update_buffers at ../src/egl/drivers/dri2/platform_wayland.c:633 in libEGL_mesa.so.0 of mesa-libEGL-19.2.6-1.fc31.x86_64. The start of update_buffers was the following. 

627 static int
628 update_buffers(struct dri2_egl_surface *dri2_surf)
629 {
630  struct dri2_egl_display *dri2_dpy =
631      dri2_egl_display(dri2_surf->base.Resource.Display);

633   if (dri2_surf->base.Width != dri2_surf->wl_win->width ||
634       dri2_surf->base.Height != dri2_surf->wl_win->height) {

636      dri2_surf->base.Width  = dri2_surf->wl_win->width;
637      dri2_surf->base.Height = dri2_surf->wl_win->height;
638      dri2_surf->dx = dri2_surf->wl_win->dx;
639      dri2_surf->dy = dri2_surf->wl_win->dy;
640   }
...

I suppose dri2_surf might've pointed to an invalid/inaccessible address based on the segmentation fault being at line 633. I had updated the system on the previous boot with sudo dnf upgrade --refresh which included an update from mesa 19.2.4 to 19.2.6. A change in mesa from 19.2.4 to 19.2.6 might be involved. The GPU is an integrated AMD Radeon R5 using the radeonsi mesa driver and amdgpu kernel driver.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
futex_wait_cancelable (private=0, expected=0, futex_word=0x56279eda0be4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
80	  int err = lll_futex_timed_wait (futex_word, expected, NULL, private);
[Current thread is 1 (Thread 0x7f2211432c80 (LWP 1380))]

Thread 19 (Thread 0x7f21a3e15700 (LWP 2443)):
[KCrash Handler]
#6  0x00007f21f77994af in update_buffers (dri2_surf=dri2_surf@entry=0x7f21880158b0) at ../src/egl/drivers/dri2/platform_wayland.c:633
#7  0x00007f21f77998a8 in image_get_buffers (driDrawable=<optimized out>, format=<optimized out>, stamp=<optimized out>, loaderPrivate=0x7f21880158b0, buffer_mask=<optimized out>, buffers=0x7f21a3e14620) at ../src/egl/drivers/dri2/platform_wayland.c:768
#8  0x00007f21f617c4ad in dri_image_drawable_get_buffers (statts_count=<optimized out>, statts=<optimized out>, images=<optimized out>, drawable=<optimized out>) at ../src/gallium/state_trackers/dri/dri2.c:270
#9  dri2_allocate_textures (ctx=0x56279eb3d400, drawable=0x7f2188001db0, statts=0x7f2188013b10, statts_count=2) at ../src/gallium/state_trackers/dri/dri2.c:397
#10 0x00007f21f617e4c5 in dri_st_framebuffer_validate (stctx=<optimized out>, stfbi=<optimized out>, statts=0x7f2188013b10, count=2, out=0x7f21a3e147c0) at ../src/gallium/state_trackers/dri/dri_drawable.c:85
#11 0x00007f21f661390a in st_framebuffer_validate (stfb=stfb@entry=0x7f2188013640, st=st@entry=0x56279eea8880) at ../src/mesa/state_tracker/st_manager.c:222
#12 0x00007f21f6613f60 in st_manager_validate_framebuffers (st=0x56279eea8880) at ../src/mesa/state_tracker/st_manager.c:1178
#13 0x00007f21f67c79f5 in st_validate_state (st=st@entry=0x56279eea8880, pipeline=pipeline@entry=ST_PIPELINE_CLEAR) at ../src/mesa/state_tracker/st_atom.c:202
#14 0x00007f21f67cc466 in st_Clear (ctx=0x56279ee73f30, mask=50) at ../src/mesa/state_tracker/st_cb_clear.c:438
#15 0x00007f2210fe6fdc in QSGBatchRenderer::Renderer::renderBatches() (this=this@entry=0x7f2188002280) at ../../include/QtQuick/5.12.5/QtQuick/private/../../../../../src/quick/scenegraph/coreapi/qsgrenderer_p.h:103
#16 0x00007f2210fed482 in QSGBatchRenderer::Renderer::render() (this=<optimized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2735
#17 0x00007f2210fd99b4 in QSGRenderer::renderScene(QSGBindable const&) (bindable=..., this=0x7f2188002280) at scenegraph/coreapi/qsgrenderer.cpp:244
#18 QSGRenderer::renderScene(QSGBindable const&) (this=0x7f2188002280, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:204
#19 0x00007f2210fd9e63 in QSGRenderer::renderScene(unsigned int) (this=<optimized out>, fboId=<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:197
#20 0x00007f221101cf62 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) (this=0x56279eaf4890, renderer=0x7f2188002280, fboId=<optimized out>) at scenegraph/qsgdefaultrendercontext.cpp:182
#21 0x00007f22110826dc in QQuickWindowPrivate::renderSceneGraph(QSize const&) (this=this@entry=0x56279ed911a0, size=...) at items/qquickwindow.cpp:487
#22 0x00007f221102861f in QSGRenderThread::syncAndRender() (this=this@entry=0x56279ea972a0) at scenegraph/qsgthreadedrenderloop.cpp:646
#23 0x00007f221102c3c8 in QSGRenderThread::run() (this=0x56279ea972a0) at scenegraph/qsgthreadedrenderloop.cpp:730
#24 0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279ea972a0) at thread/qthread_unix.cpp:361
#25 0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#26 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f21c1f5a700 (LWP 2442)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ee55b9c) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ee55b48, cond=0x56279ee55b70) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ee55b70, mutex=0x56279ee55b48) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ee55b48, cond=0x56279ee55b70) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ee73ef0) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f21a2e13700 (LWP 2440)):
#0  g_mutex_unlock (mutex=0x7f2198087280) at ../glib/gthread-posix.c:1375
#1  0x00007f220dace877 in g_main_context_acquire (context=context@entry=0x7f2198087280) at ../glib/gmain.c:3259
#2  0x00007f220dacf655 in g_main_context_iterate (context=context@entry=0x7f2198087280, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3867
#3  0x00007f220dacf8d3 in g_main_context_iteration (context=0x7f2198087280, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#4  0x00007f220f59fcd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2198089590, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21a2e12d80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f220f3a2395 in QThread::exec() (this=this@entry=0x56279ed33490) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f2210cb1119 in QQmlThreadPrivate::run() (this=0x56279ed33490) at qml/ftw/qqmlthread.cpp:148
#8  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279ed33490) at thread/qthread_unix.cpp:361
#9  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f21c37f5700 (LWP 1786)):
#0  timerSourcePrepare(GSource*, gint*) (source=0x7f219c003790, timeout=timeout@entry=0x7f21c37f4bd4) at kernel/qeventdispatcher_glib.cpp:165
#1  0x00007f220daced1a in g_main_context_prepare (context=context@entry=0x7f219c000c30, priority=priority@entry=0x7f21c37f4c60) at ../glib/gmain.c:3489
#2  0x00007f220dacf6cb in g_main_context_iterate (context=context@entry=0x7f219c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3897
#3  0x00007f220dacf8d3 in g_main_context_iteration (context=0x7f219c000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#4  0x00007f220f59fcd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f219c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21c37f4da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f220f3a2395 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279e5e08a0) at thread/qthread_unix.cpp:361
#8  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f21b1e85700 (LWP 1785)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279e1b3f20) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279e1b3ed0, cond=0x56279e1b3ef8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279e1b3ef8, mutex=0x56279e1b3ed0) at pthread_cond_wait.c:638
#3  0x00007f220f3a8ff3 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56279e1b3ed0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x56279e1b5c80, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f220f3a9081 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x56279e1b5c88, mutex=mutex@entry=0x56279e1b5c80, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f221102c1b9 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x56279e1b5c78) at scenegraph/qsgthreadedrenderloop.cpp:245
#7  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x56279e1b5c00) at scenegraph/qsgthreadedrenderloop.cpp:710
#8  0x00007f221102c45d in QSGRenderThread::run() (this=0x56279e1b5c00) at scenegraph/qsgthreadedrenderloop.cpp:739
#9  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279e1b5c00) at thread/qthread_unix.cpp:361
#10 0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f21b273d700 (LWP 1784)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279e57f1e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279e57f198, cond=0x56279e57f1c0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279e57f1c0, mutex=0x56279e57f198) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279e57f198, cond=0x56279e57f1c0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279e59d540) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f21b3025700 (LWP 1761)):
#0  0x00007f220db1b9dd in g_mutex_lock (mutex=mutex@entry=0x7f21ac000c30) at ../glib/gthread-posix.c:1363
#1  0x00007f220daced27 in g_main_context_prepare (context=context@entry=0x7f21ac000c30, priority=priority@entry=0x7f21b3024c20) at ../glib/gmain.c:3492
#2  0x00007f220dacf6cb in g_main_context_iterate (context=context@entry=0x7f21ac000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3897
#3  0x00007f220dacf8d3 in g_main_context_iteration (context=0x7f21ac000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#4  0x00007f220f59fcd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f21ac000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21b3024d60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f220f3a2395 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f21b387bc4c in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279dab2c70) at thread/qthread_unix.cpp:361
#9  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f21ca202700 (LWP 1690)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ca4ff24) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ca4fed0, cond=0x56279ca4fef8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ca4fef8, mutex=0x56279ca4fed0) at pthread_cond_wait.c:638
#3  0x00007f220f3a8ff3 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56279ca4fed0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x56279d2c0850, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f220f3a9081 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x56279d2c0858, mutex=mutex@entry=0x56279d2c0850, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f221102c1b9 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x56279d2c0848) at scenegraph/qsgthreadedrenderloop.cpp:245
#7  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x56279d2c07d0) at scenegraph/qsgthreadedrenderloop.cpp:710
#8  0x00007f221102c45d in QSGRenderThread::run() (this=0x56279d2c07d0) at scenegraph/qsgthreadedrenderloop.cpp:739
#9  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279d2c07d0) at thread/qthread_unix.cpp:361
#10 0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#11 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f21caa03700 (LWP 1689)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279d3d7e08) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279d3d7db8, cond=0x56279d3d7de0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279d3d7de0, mutex=0x56279d3d7db8) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279d3d7db8, cond=0x56279d3d7de0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279d3f6160) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f21e9289700 (LWP 1613)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbd2f0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbd2a0, cond=0x56279ccbd2c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbd2c8, mutex=0x56279ccbd2a0) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbd2a0, cond=0x56279ccbd2c8) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbe540) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f21e9a8a700 (LWP 1612)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbd2f0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbd2a0, cond=0x56279ccbd2c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbd2c8, mutex=0x56279ccbd2a0) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbd2a0, cond=0x56279ccbd2c8) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbbc00) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f21ea28b700 (LWP 1611)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbcbf0) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbcba0, cond=0x56279ccbcbc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbcbc8, mutex=0x56279ccbcba0) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbcba0, cond=0x56279ccbcbc8) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbb9d0) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f21eaa8c700 (LWP 1610)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbcbf4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbcba0, cond=0x56279ccbcbc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbcbc8, mutex=0x56279ccbcba0) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbcba0, cond=0x56279ccbcbc8) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbe500) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f21eb28d700 (LWP 1609)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbcbf4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbcba0, cond=0x56279ccbcbc8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbcbc8, mutex=0x56279ccbcba0) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbcba0, cond=0x56279ccbcbc8) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbe2f0) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f21f4e7d700 (LWP 1608)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccbb72c) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccbb6d8, cond=0x56279ccbb700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccbb700, mutex=0x56279ccbb6d8) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccbb6d8, cond=0x56279ccbb700) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccbdc90) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f21f5fdd700 (LWP 1607)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279ccb87d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279ccb8788, cond=0x56279ccb87b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279ccb87b0, mutex=0x56279ccb8788) at pthread_cond_wait.c:638
#3  0x00007f21f68f4efb in cnd_wait (mtx=0x56279ccb8788, cond=0x56279ccb87b0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x56279ccb61c0) at ../src/util/u_queue.c:272
#5  0x00007f21f68f4b0b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#7  0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f21fcc0d700 (LWP 1603)):
#0  __GI___libc_read (nbytes=16, buf=0x7f21fcc0cb60, fd=10) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=10, buf=buf@entry=0x7f21fcc0cb60, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f220db174cf in read (__nbytes=16, __buf=0x7f21fcc0cb60, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f21f8003db0) at ../glib/gwakeup.c:210
#4  0x00007f220dacf2e7 in g_main_context_check (context=context@entry=0x7f21f0000c30, max_priority=2147483647, fds=fds@entry=0x7f21f00029e0, n_fds=n_fds@entry=1) at ../glib/gmain.c:3695
#5  0x00007f220dacf742 in g_main_context_iterate (context=context@entry=0x7f21f0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3914
#6  0x00007f220dacf8d3 in g_main_context_iteration (context=0x7f21f0000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#7  0x00007f220f59fcd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f21f0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#8  0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21fcc0cd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#9  0x00007f220f3a2395 in QThread::exec() (this=this@entry=0x56279cb589e0) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#10 0x00007f2210cb1119 in QQmlThreadPrivate::run() (this=0x56279cb589e0) at qml/ftw/qqmlthread.cpp:148
#11 0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x56279cb589e0) at thread/qthread_unix.cpp:361
#12 0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#13 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f21fdea5700 (LWP 1413)):
#0  0x00007f220f00ca6f in __GI___poll (fds=0x7f21f80029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f220dacf79e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f21f80029e0, timeout=<optimized out>, context=0x7f21f8000c30) at ../glib/gmain.c:4216
#2  g_main_context_iterate (context=context@entry=0x7f21f8000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3912
#3  0x00007f220dacf8d3 in g_main_context_iteration (context=0x7f21f8000c30, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#4  0x00007f220f59fcd3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f21f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21fdea4d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f220f3a2395 in QThread::exec() (this=this@entry=0x7f220fe41060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f220fdbdf4a in QDBusConnectionManager::run() (this=0x7f220fe41060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f220f3a34e6 in QThreadPrivate::start(void*) (arg=0x7f220fe41060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f220e8274e2 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f220f017693 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2211432c80 (LWP 1380)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x56279eda0be4) at ../sysdeps/unix/sysv/linux/futex-internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56279eda0b90, cond=0x56279eda0bb8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x56279eda0bb8, mutex=0x56279eda0b90) at pthread_cond_wait.c:638
#3  0x00007f220f3a8ff3 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56279eda0b90) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x56279ea972e0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f220f3a9081 in QWaitCondition::wait(QMutex*, unsigned long) (this=0x56279ea972e8, mutex=0x56279ea972e0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68
#6  0x00007f221102990e in QSGThreadedRenderLoop::handleObscurity(QSGThreadedRenderLoop::Window*) (this=this@entry=0x56279cc11800, w=0x56279eb3d110) at scenegraph/qsgthreadedrenderloop.cpp:1030
#7  0x00007f2211029a0e in QSGThreadedRenderLoop::hide(QQuickWindow*) (this=0x56279cc11800, window=0x56279ec8fd50) at /usr/include/qt5/QtCore/qlist.h:543
#8  0x000056279b34ad5d in PanelConfigView::hideEvent(QHideEvent*) (this=0x56279ec8fd50, ev=<optimized out>) at /usr/src/debug/plasma-workspace-5.17.3-1.fc31.x86_64/shell/panelconfigview.cpp:209
#9  0x00007f220f92857d in QWindow::event(QEvent*) (this=this@entry=0x56279ec8fd50, ev=ev@entry=0x7ffe514e27f0) at kernel/qwindow.cpp:2347
#10 0x00007f221108f089 in QQuickWindow::event(QEvent*) (this=0x56279ec8fd50, e=0x7ffe514e27f0) at items/qquickwindow.cpp:1687
#11 0x00007f2210055ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56279c97ce80, receiver=receiver@entry=0x56279ec8fd50, e=e@entry=0x7ffe514e27f0) at kernel/qapplication.cpp:3700
#12 0x00007f221005f150 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe514eac30, receiver=0x56279ec8fd50, e=0x7ffe514e27f0) at kernel/qapplication.cpp:3446
#13 0x00007f220f54ade8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56279ec8fd50, event=0x7ffe514e27f0) at kernel/qcoreapplication.cpp:1088
#14 0x00007f220f92816f in QWindowPrivate::setVisible(bool) (this=0x56279ed911a0, visible=<optimized out>) at kernel/qwindow.cpp:412
#15 0x00007f220f92783c in QWindowPrivate::destroy() (this=0x56279ed911a0) at kernel/qwindow.cpp:1895
#16 QWindowPrivate::destroy() (this=0x56279ed911a0) at kernel/qwindow.cpp:1866
#17 0x00007f220f92861c in QWindow::event(QEvent*) (this=this@entry=0x56279ec8fd50, ev=ev@entry=0x7ffe514e2be0) at kernel/qwindow.cpp:2310
#18 0x00007f221108f089 in QQuickWindow::event(QEvent*) (this=0x56279ec8fd50, e=0x7ffe514e2be0) at items/qquickwindow.cpp:1687
#19 0x00007f2210055ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56279c97ce80, receiver=receiver@entry=0x56279ec8fd50, e=e@entry=0x7ffe514e2be0) at kernel/qapplication.cpp:3700
#20 0x00007f221005f150 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe514eac30, receiver=0x56279ec8fd50, e=0x7ffe514e2be0) at kernel/qapplication.cpp:3446
#21 0x00007f220f54ade8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56279ec8fd50, event=0x7ffe514e2be0) at kernel/qcoreapplication.cpp:1088
#22 0x00007f220f91b855 in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () at /usr/include/c++/9/bits/atomic_base.h:413
#23 0x00007f220f91ff72 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=0x56279eeb7e40) at kernel/qguiapplication.cpp:1876
#24 0x00007f220f8fc905 in QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery>(QWindowSystemInterfacePrivate::WindowSystemEvent*) (ev=0x56279eeb7e40) at kernel/qwindowsysteminterface.cpp:105
#25 0x00007f220f90e9ff in QPlatformWindow::close() (this=<optimized out>) at kernel/qplatformwindow.cpp:352
#26 0x00007f220f925bbd in QWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x56279ec8fd50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=26, _a=_a@entry=0x7ffe514e2ef0) at .moc/moc_qwindow.cpp:412
#27 0x00007f220f9289c3 in QWindow::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x56279ec8fd50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=26, _a=_a@entry=0x7ffe514e2ef0) at .moc/moc_qwindow.cpp:644
#28 0x00007f221108f7ea in QQuickWindow::qt_metacall(QMetaObject::Call, int, void**) (this=this@entry=0x56279ec8fd50, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=_a@entry=0x7ffe514e2ef0) at .moc/moc_qquickwindow.cpp:454
#29 0x00007f22111256ca in QQuickView::qt_metacall(QMetaObject::Call, int, void**) (this=0x56279ec8fd50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffe514e2ef0) at .moc/moc_qquickview.cpp:194
#30 0x00007f221187f76a in PlasmaQuick::ConfigView::qt_metacall(QMetaObject::Call, int, void**) () at /lib64/libKF5PlasmaQuick.so.5
#31 0x000056279b34afaa in PanelConfigView::qt_metacall(QMetaObject::Call, int, void**) (this=0x56279ec8fd50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffe514e2ef0) at /usr/src/debug/plasma-workspace-5.17.3-1.fc31.x86_64/x86_64-redhat-linux-gnu/shell/plasmashell_autogen/include/moc_panelconfigview.cpp:191
#32 0x00007f2210c525b5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7ffe514e3240, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:335
#33 0x00007f2210b4197d in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=<optimized out>, returnType=returnType@entry=1, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x56279eadc700, callArgs=<optimized out>, callType=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1306
#34 0x00007f2210b444a9 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=0x56279eadc700, callArgs=0x7f21a19c7788, callType=QMetaObject::InvokeMetaMethod) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:214
#35 0x00007f2210b452ce in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at jsruntime/qv4qobjectwrapper.cpp:2118
#36 0x00007f2210b626b6 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#37 QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffe514e3540, engine=0x56279eadc700, code=0x7f21a19c7740 "@Nh\241!\177") at jsruntime/qv4vme_moth.cpp:738
#38 0x00007f2210b64557 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffe514e3540, engine=engine@entry=0x56279eadc700) at jsruntime/qv4vme_moth.cpp:447
#39 0x00007f2210af18ff in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x56279eb14b40, thisObject=<optimized out>, argv=argv@entry=0x7f21a19c7708, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:68
#40 0x00007f2210c7ac07 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x56279eb7e1b0, callData=callData@entry=0x7f21a19c76d8, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:194
#41 0x00007f2210c19a5c in QQmlBoundSignalExpression::evaluate(void**) (this=<optimized out>, a=0x7ffe514e5630) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#42 0x00007f2210c1ac28 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x56279ed422f0, a=0x7ffe514e5630) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#43 0x00007f2210c5dd9d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x7ffe514e5630) at qml/qqmlnotifier.cpp:104
#44 0x00007f2210bf9de5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x56279eb71db0, index=52, a=0x7ffe514e5630) at qml/qqmlengine.cpp:883
#45 0x00007f220f574803 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x56279eb71db0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffe514e5630) at kernel/qobject.h:121
#46 0x00007f2210bf5fcc in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at qml/qqmlvmemetaobject.cpp:922
#47 0x00007f2210bf535c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:335
#48 0x00007f2210bf535c in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:335
#49 0x00007f2210c525b5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=this@entry=0x7ffe514e5920, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, index@entry=69, argv=argv@entry=0x7ffe514e5630) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:335
#50 0x00007f2210b4245c in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=69, returnType=returnType@entry=43, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, engine=engine@entry=0x56279eadc700, callArgs=0x7f21a19c76a0, callType=QMetaObject::InvokeMetaMethod) at jsruntime/qv4qobjectwrapper.cpp:1313
#51 0x00007f2210b444a9 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=0x56279eadc700, callArgs=0x7f21a19c76a0, callType=QMetaObject::InvokeMetaMethod) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:214
#52 0x00007f2210b452ce in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at jsruntime/qv4qobjectwrapper.cpp:2118
#53 0x00007f2210b626b6 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#54 QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffe514e5c20, engine=0x56279eadc700, code=0x7f21a19c7658 "\200Yd\241!\177") at jsruntime/qv4vme_moth.cpp:738
#55 0x00007f2210b64557 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffe514e5c20, engine=engine@entry=0x56279eadc700) at jsruntime/qv4vme_moth.cpp:447
#56 0x00007f2210af18ff in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x56279ebfdb80, thisObject=<optimized out>, argv=argv@entry=0x7f21a19c7618, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:68
#57 0x00007f2210c7ac07 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x56279ee1b090, callData=callData@entry=0x7f21a19c75e8, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:194
#58 0x00007f2210c19a5c in QQmlBoundSignalExpression::evaluate(void**) (this=<optimized out>, a=0x7ffe514e7920) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#59 0x00007f2210c1ac28 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x56279ee1ada0, a=0x7ffe514e7920) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#60 0x00007f2210c5dd9d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x7ffe514e7920) at qml/qqmlnotifier.cpp:104
#61 0x00007f2210bf9de5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x56279ed889e0, index=3, a=0x7ffe514e7920) at qml/qqmlengine.cpp:883
#62 0x00007f220f574803 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x56279ed889e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffe514e7920) at kernel/qobject.h:121
#63 0x00007f21f42537d3 in QQuickAction1::triggered(QObject*) () at /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#64 0x00007f21f4253b92 in QQuickAction1::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#65 0x00007f21f4254283 in QQuickAction1::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#66 0x00007f2210c525b5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const (this=0x7ffe514e7e30, type=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=<optimized out>) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/ftw/qflagpointer_p.h:335
#67 0x00007f2210b4209d in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., index=<optimized out>, returnType=<optimized out>, argCount=<optimized out>, argTypes=<optimized out>, engine=<optimized out>, callArgs=<optimized out>, callType=<optimized out>) at jsruntime/qv4qobjectwrapper.cpp:1295
#68 0x00007f2210b444d4 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) (object=..., data=..., engine=0x56279eadc700, callArgs=0x7f21a19c7598, callType=QMetaObject::InvokeMetaMethod) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:214
#69 0x00007f2210b454c1 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at jsruntime/qv4qobjectwrapper.cpp:1631
#70 0x00007f2210b626b6 in QV4::FunctionObject::call(QV4::Value const*, QV4::Value const*, int) const (argc=<optimized out>, argv=<optimized out>, thisObject=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4functionobject_p.h:172
#71 QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) (frame=0x7ffe514e8130, engine=0x56279eadc700, code=0x7f21a19c7548 "@_d\241!\177") at jsruntime/qv4vme_moth.cpp:738
#72 0x00007f2210b64557 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) (frame=frame@entry=0x7ffe514e8130, engine=engine@entry=0x56279eadc700) at jsruntime/qv4vme_moth.cpp:447
#73 0x00007f2210af18ff in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) (this=this@entry=0x56279ebfddb0, thisObject=<optimized out>, argv=argv@entry=0x7f21a19c7508, argc=<optimized out>, context=<optimized out>) at jsruntime/qv4function.cpp:68
#74 0x00007f2210c7ac07 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) (this=this@entry=0x56279ec7ec90, callData=callData@entry=0x7f21a19c74d8, isUndefined=isUndefined@entry=0x0) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:194
#75 0x00007f2210c19a5c in QQmlBoundSignalExpression::evaluate(void**) (this=<optimized out>, a=0x7ffe514e9e30) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#76 0x00007f2210c1ac28 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) (e=0x56279ec7ec40, a=0x7ffe514e9e30) at ../../include/QtQml/5.12.5/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#77 0x00007f2210c5dd9d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x7ffe514e9e30) at qml/qqmlnotifier.cpp:104
#78 0x00007f2210bf9de5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x56279ecc89e0, index=45, a=0x7ffe514e9e30) at qml/qqmlengine.cpp:883
#79 0x00007f220f574803 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x56279ecc89e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffe514e9e30) at kernel/qobject.h:121
#80 0x00007f221110c5d6 in QQuickMouseArea::released(QQuickMouseEvent*) (this=this@entry=0x56279ecc89e0, _t1=<optimized out>, _t1@entry=0x56279ecc8c68) at .moc/moc_qquickmousearea_p.cpp:659
#81 0x00007f221110dee5 in QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) (this=this@entry=0x56279ecc89e0, button=<optimized out>, p=p@entry=false, source=<optimized out>) at items/qquickmousearea.cpp:1234
#82 0x00007f221110f073 in QQuickMouseArea::mouseReleaseEvent(QMouseEvent*) (this=0x56279ecc89e0, event=0x7ffe514ea740) at /usr/include/qt5/QtGui/qevent.h:132
#83 0x00007f2211070b58 in QQuickItem::event(QEvent*) (this=0x56279ecc89e0, ev=0x7ffe514ea740) at items/qquickitem.cpp:8038
#84 0x00007f2210055ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56279c97ce80, receiver=receiver@entry=0x56279ecc89e0, e=e@entry=0x7ffe514ea740) at kernel/qapplication.cpp:3700
#85 0x00007f221005f150 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe514eac30, receiver=0x56279ecc89e0, e=0x7ffe514ea740) at kernel/qapplication.cpp:3446
#86 0x00007f220f54ade8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56279ecc89e0, event=0x7ffe514ea740) at kernel/qcoreapplication.cpp:1088
#87 0x00007f221108ba1d in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x56279ed911a0, pointerEvent=0x56279ec15950) at items/qquickwindow.cpp:1798
#88 0x00007f221108ce91 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=this@entry=0x56279ed911a0, event=0x56279ec15950) at items/qquickwindow.cpp:2361
#89 0x00007f221108db59 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (event=0x7ffe514ea740, this=0x56279ed911a0) at items/qquickwindow.cpp:2224
#90 QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (this=0x56279ed911a0, event=0x7ffe514ea740) at items/qquickwindow.cpp:2177
#91 0x00007f220f92857d in QWindow::event(QEvent*) (this=this@entry=0x56279ec8fd50, ev=ev@entry=0x7ffe514ea740) at kernel/qwindow.cpp:2347
#92 0x00007f221108f089 in QQuickWindow::event(QEvent*) (this=0x56279ec8fd50, e=0x7ffe514ea740) at items/qquickwindow.cpp:1687
#93 0x00007f2210055ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x56279c97ce80, receiver=receiver@entry=0x56279ec8fd50, e=e@entry=0x7ffe514ea740) at kernel/qapplication.cpp:3700
#94 0x00007f221005f150 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe514eac30, receiver=0x56279ec8fd50, e=0x7ffe514ea740) at kernel/qapplication.cpp:3446
#95 0x00007f220f54ade8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56279ec8fd50, event=0x7ffe514ea740) at kernel/qcoreapplication.cpp:1088
#96 0x00007f220f91e723 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=e@entry=0x56279eeb6790) at kernel/qguiapplication.cpp:2100
#97 0x00007f220f91ff4b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=0x56279eeb6790) at kernel/qguiapplication.cpp:1835
#98 0x00007f220f8fc54b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1151
#99 0x00007f21fe478564 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5WaylandClient.so.5
#100 0x00007f220dacf4a0 in g_main_dispatch (context=0x56279c9df510) at ../glib/gmain.c:3179
#101 g_main_context_dispatch (context=context@entry=0x56279c9df510) at ../glib/gmain.c:3844
#102 0x00007f220dacf830 in g_main_context_iterate (context=context@entry=0x56279c9df510, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3917
#103 0x00007f220dacf8d3 in g_main_context_iteration (context=0x56279c9df510, may_block=may_block@entry=1) at ../glib/gmain.c:3978
#104 0x00007f220f59fcb5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56279c9ac170, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#105 0x00007f220f549ceb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe514eaae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#106 0x00007f220f551a16 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#107 0x000056279b32d73a in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.17.3-1.fc31.x86_64/shell/main.cpp:219
[Inferior 1 (process 1380) detached]

Reported using DrKonqi
Comment 1 Matt Fagnani 2019-11-23 05:51:29 UTC
Created attachment 124069 [details]
ksplashqml 5.16.5 segmentation fault report

I saw a ksplashqml 5.16.5 segmentation fault in update_buffers at ../src/egl/drivers/dri2/platform_wayland.c:633 which had a similar trace of its crashing thread as I reported here. The ksplashqml crash happened while starting Plasma 5.16.5 on Wayland with Qt 5.12.5, KF 5.61.0, mesa 19.2.2 on 2019-11-07. That crash makes it less likely that a mesa change from 19.2.4 to 19.2.6 was involved in the plasmashell crash. I'm attaching the ksplashqml 5.16.5 segmentation fault report from Dr. Konqi.
Comment 2 Christoph Feck 2019-12-04 01:37:05 UTC
Please report issues in Mesa DRI drivers directly to Mesa developers via https://www.mesa3d.org/bugs.html
Comment 3 Matt Fagnani 2020-08-21 16:01:57 UTC
I was using Plasma 5.19.4 on Wayland in Fedora 33 with KF 5.73.0 and Qt 5.14.2. I set the desktop to use the Application Menu by right-clicking on the button at the bottom left of the screen, selecting Show Alternatives > Application Menu > Switch. I quickly left-clicked to open the Application Menu many times. The Task Manager bar at the bottom of the screen disappeared and reappeared automatically. plasmashell segmentation faulted in thread 1 in update_buffers at ../src/egl/drivers/dri2/platform_wayland.c:675 in mesa-libEGL-20.1.5-1.fc33.x86_64. 

Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
49        return ret;
[Current thread is 1 (Thread 0x7ff43ebf5640 (LWP 8914))]
(gdb) bt
#0  __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  <signal handler called>
#2  0x00007ff4c815026d in update_buffers (dri2_surf=dri2_surf@entry=0x7ff428166b70)
    at ../src/egl/drivers/dri2/platform_wayland.c:675
#3  0x00007ff4c81507e8 in image_get_buffers (driDrawable=<optimized out>, format=<optimized out>, 
    stamp=<optimized out>, loaderPrivate=0x7ff428166b70, buffer_mask=<optimized out>, 
    buffers=0x7ff43ebf3ba0) at ../src/egl/drivers/dri2/platform_wayland.c:810
#4  0x00007ff4c2a46b11 in dri_image_drawable_get_buffers (statts_count=<optimized out>, 
    statts=<optimized out>, images=<optimized out>, drawable=<optimized out>)
    at ../src/gallium/state_trackers/dri/dri2.c:282
#5  dri2_allocate_textures (ctx=0x55cc55a25e20, drawable=0x7ff42816b200, statts=0x7ff428163cd8, 
    statts_count=2) at ../src/gallium/state_trackers/dri/dri2.c:415
#6  0x00007ff4c2a39ee4 in dri_st_framebuffer_validate (stctx=<optimized out>, stfbi=<optimized out>, 
    statts=0x7ff428163cd8, count=2, out=0x7ff43ebf3d40)
    at ../src/gallium/state_trackers/dri/dri_drawable.c:82
#7  0x00007ff4c2a5609b in st_framebuffer_validate (stfb=stfb@entry=0x7ff428163800, 
    st=st@entry=0x55cc56ce6510) at ../src/mesa/state_tracker/st_manager.c:223
#8  0x00007ff4c2a57143 in st_manager_validate_framebuffers (st=0x55cc56ce6510)
    at ../src/mesa/state_tracker/st_manager.c:1185
#9  0x00007ff4c2a8e605 in st_validate_state (st=st@entry=0x55cc56ce6510, 
    pipeline=pipeline@entry=ST_PIPELINE_CLEAR) at ../src/mesa/state_tracker/st_atom.c:203
#10 0x00007ff4c2a8f100 in st_Clear (ctx=0x55cc56cabe50, mask=50)
    at ../src/mesa/state_tracker/st_cb_clear.c:442
#11 0x00007ff4de231d6b in QSGBatchRenderer::Renderer::renderBatches (this=this@entry=0x7ff4280079a0)
    at ../../include/QtQuick/5.14.2/QtQuick/private/../../../../../src/quick/scenegraph/coreapi/qsgrend--Type <RET> for more, q to quit, c to continue without paging--c
erer_p.h:131
#12 0x00007ff4de2324d2 in QSGBatchRenderer::Renderer::render (this=<optimized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:4320
#13 0x00007ff4de21bcd0 in QSGRenderer::renderScene (bindable=..., this=0x7ff4280079a0) at scenegraph/coreapi/qsgrenderer.cpp:259
#14 QSGRenderer::renderScene (this=0x7ff4280079a0, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:219
#15 0x00007ff4de21c1a3 in QSGRenderer::renderScene (this=<optimized out>, fboId=<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:211
#16 0x00007ff4de26f8e1 in QSGDefaultRenderContext::renderNextFrame (this=0x55cc55d1d880, renderer=0x7ff4280079a0, fboId=<optimized out>) at scenegraph/qsgdefaultrendercontext.cpp:223
#17 0x00007ff4de2c99a9 in QQuickWindowPrivate::renderSceneGraph (this=0x55cc55d1ccf0, size=..., surfaceSize=...) at items/qquickwindow.cpp:541
#18 0x00007ff4de27c7e3 in QSGRenderThread::syncAndRender (this=0x55cc56979f50, grabImage=0x0) at /usr/include/qt5/QtGui/5.14.2/QtGui/private/qrhi_p.h:1230
#19 0x00007ff4de283e0f in QSGRenderThread::run (this=0x55cc56979f50) at scenegraph/qsgthreadedrenderloop.cpp:980
#20 0x00007ff4dc7eb690 in QThreadPrivate::start (arg=0x55cc56979f50) at thread/qthread_unix.cpp:342
#21 0x00007ff4dbc4f3f9 in start_thread (arg=0x7ff43ebf5640) at pthread_create.c:463
#22 0x00007ff4dc46fb03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

platform_wayland.c:675 corresponds to that in the crash I reported here before.
 if (dri2_surf->base.Width != dri2_surf->wl_win->width ||
       dri2_surf->base.Height != dri2_surf->wl_win->height) {


The pointer dri2_surf=dri2_surf@entry=0x7ff428166b70 passed to update_buffers pointed to a invalid pointer possibly to dri2_surf->wl_win

(gdb) x 0x7ff428166b70
0x7ff428166b70: 0x553e66e0
(gdb) x 0x553e66e0
0x553e66e0:     Cannot access memory at address 0x553e66e0

I've seen crashes with this trace 2-3 times in the last few days. The crashes might involve a race condition in which the Wayland surface of the Application menu was occasionally freed or corrupted before it was used.
plasmashell crashed when I've quickly left-clicked to open the Application Menu many times in the last day with errors like The Wayland connection experienced a fatal error: Invalid argument
https://bugs.kde.org/show_bug.cgi?id=424879 and a segmentation fault in wl_proxy_set_queue https://bugs.kde.org/show_bug.cgi?id=409021 Those crashes might have been related to this one.

I reported previous plasmashell crashes in updates_buffers and assigned them to mesa at https://bugzilla.redhat.com/show_bug.cgi?id=1777733 Michel Dänzer replied "Note that while the linked upstream issue is technically a Mesa bug, Firefox was triggering this condition by accident and has been modified not to trigger it anymore. Might be similar for plasmashell." Firefox Nightly 80.0a1-81.0a1 had segmentation faults occasionally in update_buffers at ../src/egl/drivers/dri2/platform_wayland.c:675 in mesa-libEGL-20.1.3-1.fc33.x86_64 and later when I've clicked on toolbar buttons at the top right of the Firefox window in the last 3 weeks or so. I reported those crashes at https://bugzilla.mozilla.org/show_bug.cgi?id=1655120
Comment 4 ElXreno 2020-09-09 05:14:07 UTC
Created attachment 131501 [details]
New crash information added by DrKonqi

plasmashell (5.19.5) using Qt 5.14.2

- What I was doing when the application crashed:
Install a RPM package. After that, my workspace has been crashed.

-- Backtrace (Reduced):
#4  0x00007f7bdc98aced in update_buffers (dri2_surf=dri2_surf@entry=0x7f7b8c19a040) at ../src/egl/drivers/dri2/platform_wayland.c:675
#5  0x00007f7bdc98b108 in image_get_buffers (driDrawable=driDrawable@entry=0x5579c4e0ad00, format=<optimized out>, stamp=stamp@entry=0x5579c4e0ad30, loaderPrivate=loaderPrivate@entry=0x7f7b8c19a040, buffer_mask=buffer_mask@entry=1, buffers=buffers@entry=0x7f7b9eef8ea0) at ../src/egl/drivers/dri2/platform_wayland.c:810
#6  0x00007f7bd7306468 in intel_update_image_buffers (drawable=0x5579c4e0ad00, brw=0x5579cb9ccbe0) at ../src/mesa/drivers/dri/i965/brw_context.c:1896
#7  intel_update_renderbuffers (context=context@entry=0x5579c3c2eff0, drawable=drawable@entry=0x5579c4e0ad00) at ../src/mesa/drivers/dri/i965/brw_context.c:1523
#8  0x00007f7bd7306b69 in intel_prepare_render (brw=brw@entry=0x5579cb9ccbe0) at ../src/mesa/drivers/dri/i965/brw_context.c:1544
Comment 5 Unknown 2020-09-19 09:59:33 UTC
Created attachment 131766 [details]
my crash logs

I've also experienced this issue. Attached is my backtrace.

Operating System: Arch Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.8.10-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530