Bug 416347 - plasma crashed in QtWaylandClient::QWaylandWindow::setVisible() on Wayland when I reconnected external monitor to hdmi port
Summary: plasma crashed in QtWaylandClient::QWaylandWindow::setVisible() on Wayland wh...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: master
Platform: unspecified Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, wayland
: 419754 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-16 19:10 UTC by Patrick Silva
Modified: 2022-07-13 15:43 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
glxinfo (42.97 KB, text/plain)
2020-01-28 15:53 UTC, waldauf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-01-16 19:10:05 UTC
Application: plasmashell (5.17.80)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.0.0-37-generic x86_64
Windowing system: Wayland
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
I started Wayland session
I connected an external monitor to hdmi port
I disconected the cable from hdmi port and connected it again
plasma crashed

-- 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 0x7ff834584800 (LWP 1369))]

Thread 8 (Thread 0x7ff7e4c0d700 (LWP 1617)):
#0  0x00007ff82b0ad9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5618c6e94ee4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff82b0ad9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5618c6e94e90, cond=0x5618c6e94eb8) at pthread_cond_wait.c:502
#2  0x00007ff82b0ad9f3 in __pthread_cond_wait (cond=0x5618c6e94eb8, mutex=0x5618c6e94e90) at pthread_cond_wait.c:655
#3  0x00007ff82e183aeb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5618c6e94e90) at thread/qwaitcondition_unix.cpp:146
#4  0x00007ff82e183aeb in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x5618c6e88890, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007ff82e183df9 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x5618c6e88898, mutex=mutex@entry=0x5618c6e88890, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#6  0x00007ff83218dec8 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5618c6e88888) at scenegraph/qsgthreadedrenderloop.cpp:245
#7  0x00007ff83218dec8 in QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5618c6e88810) at scenegraph/qsgthreadedrenderloop.cpp:710
#8  0x00007ff83218e2fa in QSGRenderThread::run() (this=0x5618c6e88810) at scenegraph/qsgthreadedrenderloop.cpp:739
#9  0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x5618c6e88810) at thread/qthread_unix.cpp:360
#10 0x00007ff82b0a76db in start_thread (arg=0x7ff7e4c0d700) at pthread_create.c:463
#11 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7ff7e7dee700 (LWP 1596)):
#0  0x00007ff82b0ad9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5618c40f6d74) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff82b0ad9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5618c40f6d20, cond=0x5618c40f6d48) at pthread_cond_wait.c:502
#2  0x00007ff82b0ad9f3 in __pthread_cond_wait (cond=0x5618c40f6d48, mutex=0x5618c40f6d20) at pthread_cond_wait.c:655
#3  0x00007ff82e183aeb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5618c40f6d20) at thread/qwaitcondition_unix.cpp:146
#4  0x00007ff82e183aeb in QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x5618c40f8f00, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007ff82e183df9 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x5618c40f8f08, mutex=mutex@entry=0x5618c40f8f00, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#6  0x00007ff83218dec8 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x5618c40f8ef8) at scenegraph/qsgthreadedrenderloop.cpp:245
#7  0x00007ff83218dec8 in QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x5618c40f8e80) at scenegraph/qsgthreadedrenderloop.cpp:710
#8  0x00007ff83218e2fa in QSGRenderThread::run() (this=0x5618c40f8e80) at scenegraph/qsgthreadedrenderloop.cpp:739
#9  0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x5618c40f8e80) at thread/qthread_unix.cpp:360
#10 0x00007ff82b0a76db in start_thread (arg=0x7ff7e7dee700) at pthread_create.c:463
#11 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7ff7ed771700 (LWP 1595)):
#0  0x00007ffe12b4862b in  ()
#1  0x00007ff82da88ea6 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7ff7ed770b10) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007ff82e3bf4a1 in qt_clock_gettime (ts=0x7ff7ed770b10, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  0x00007ff82e3bf4a1 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  0x00007ff82e3bf4a1 in qt_gettime() () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007ff82e3bdcd9 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7ff7e8004cf0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007ff82e3be2b5 in QTimerInfoList::timerWait(timespec&) (this=0x7ff7e8004cf0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007ff82e3bf8fe in timerSourcePrepareHelper (timeout=0x7ff7ed770bd4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:133
#8  0x00007ff82e3bf8fe in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7ff7ed770bd4) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007ff827bdfb28 in g_main_context_prepare (context=context@entry=0x7ff7e8000bf0, priority=priority@entry=0x7ff7ed770c60) at ../../../../glib/gmain.c:3474
#10 0x00007ff827be04fb in g_main_context_iterate (context=context@entry=0x7ff7e8000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3882
#11 0x00007ff827be06dc in g_main_context_iteration (context=0x7ff7e8000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#12 0x00007ff82e3bfb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff7e8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007ff82e36006a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff7ed770da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#14 0x00007ff82e17b3aa in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#15 0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x5618c3f854f0) at thread/qthread_unix.cpp:360
#16 0x00007ff82b0a76db in start_thread (arg=0x7ff7ed771700) at pthread_create.c:463
#17 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7ff801956700 (LWP 1544)):
#0  0x00007ff82da6cbf9 in __GI___poll (fds=0x7ff7fc0051f0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff827be05c9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ff7fc0051f0, timeout=<optimized out>, context=0x7ff7fc000bf0) at ../../../../glib/gmain.c:4203
#2  0x00007ff827be05c9 in g_main_context_iterate (context=context@entry=0x7ff7fc000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3897
#3  0x00007ff827be06dc in g_main_context_iteration (context=0x7ff7fc000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#4  0x00007ff82e3bfb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff7fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff82e36006a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff801955d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007ff82e17b3aa in QThread::exec() (this=this@entry=0x7ff8100733c0) at thread/qthread.cpp:531
#7  0x00007ff832107ac6 in QQuickPixmapReader::run() (this=0x7ff8100733c0) at util/qquickpixmapcache.cpp:962
#8  0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x7ff8100733c0) at thread/qthread_unix.cpp:360
#9  0x00007ff82b0a76db in start_thread (arg=0x7ff801956700) at pthread_create.c:463
#10 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7ff80f7bd700 (LWP 1517)):
#0  0x00007ff82b0ad9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5618c2feba9c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007ff82b0ad9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x5618c2feba48, cond=0x5618c2feba70) at pthread_cond_wait.c:502
#2  0x00007ff82b0ad9f3 in __pthread_cond_wait (cond=0x5618c2feba70, mutex=0x5618c2feba48) at pthread_cond_wait.c:655
#3  0x00007ff814bd72cb in cnd_wait (mtx=0x5618c2feba48, cond=0x5618c2feba70) at ../src/../include/c11/threads_posix.h:155
#4  0x00007ff814bd72cb in util_queue_thread_func (input=input@entry=0x5618c3459fb0) at ../src/util/u_queue.c:256
#5  0x00007ff814bd6ff7 in impl_thrd_routine (p=<optimized out>) at ../src/../include/c11/threads_posix.h:87
#6  0x00007ff82b0a76db in start_thread (arg=0x7ff80f7bd700) at pthread_create.c:463
#7  0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff81ddeb700 (LWP 1512)):
#0  0x00007ff8343ca890 in update_get_addr (ti=0x7ff82e819650) at ../elf/dl-tls.c:804
#1  0x00007ff8343d0a28 in __tls_get_addr () at ../sysdeps/x86_64/tls_get_addr.S:55
#2  0x00007ff82e17bb06 in get_thread_data () at thread/qthread_unix.cpp:183
#3  0x00007ff82e17bb06 in QThreadData::current(bool) (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:238
#4  0x00007ff82e3bfa7a in postEventSourcePrepare(GSource*, gint*) (s=0x7ff810004ba0, timeout=timeout@entry=0x7ff81ddeabb4) at kernel/qeventdispatcher_glib.cpp:253
#5  0x00007ff827bdfb28 in g_main_context_prepare (context=context@entry=0x7ff810000bf0, priority=priority@entry=0x7ff81ddeac40) at ../../../../glib/gmain.c:3474
#6  0x00007ff827be04fb in g_main_context_iterate (context=context@entry=0x7ff810000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3882
#7  0x00007ff827be06dc in g_main_context_iteration (context=0x7ff810000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#8  0x00007ff82e3bfb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff810000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007ff82e36006a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff81ddead80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#10 0x00007ff82e17b3aa in QThread::exec() (this=this@entry=0x5618c3035a60) at thread/qthread.cpp:531
#11 0x00007ff831c35815 in QQmlThreadPrivate::run() (this=0x5618c3035a60) at qml/ftw/qqmlthread.cpp:152
#12 0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x5618c3035a60) at thread/qthread_unix.cpp:360
#13 0x00007ff82b0a76db in start_thread (arg=0x7ff81ddeb700) at pthread_create.c:463
#14 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff81fc63700 (LWP 1411)):
#0  0x00007ff82da6cbf9 in __GI___poll (fds=0x7ff818003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ff827be05c9 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7ff818003ce0, timeout=<optimized out>, context=0x7ff818000bf0) at ../../../../glib/gmain.c:4203
#2  0x00007ff827be05c9 in g_main_context_iterate (context=context@entry=0x7ff818000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3897
#3  0x00007ff827be06dc in g_main_context_iteration (context=0x7ff818000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#4  0x00007ff82e3bfb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff818000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007ff82e36006a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff81fc62d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007ff82e17b3aa in QThread::exec() (this=this@entry=0x7ff8301f2d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:531
#7  0x00007ff82ff7b0e5 in QDBusConnectionManager::run() (this=0x7ff8301f2d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007ff82e17cb52 in QThreadPrivate::start(void*) (arg=0x7ff8301f2d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:360
#9  0x00007ff82b0a76db in start_thread (arg=0x7ff81fc63700) at pthread_create.c:463
#10 0x00007ff82da7988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff834584800 (LWP 1369)):
[KCrash Handler]
#6  0x00007ff821f7d6ad in QtWaylandClient::QWaylandWindow::setVisible(bool) (this=this@entry=0x5618c76b8010, visible=<optimized out>) at qwaylandwindow.cpp:412
#7  0x00007ff81731f834 in QtWaylandClient::QWaylandEglWindow::setVisible(bool) (this=0x5618c76b8010, visible=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:168
#8  0x00007ff82e940104 in QWindowPrivate::setVisible(bool) (this=0x5618c6fb99d0, visible=<optimized out>) at kernel/qwindow.cpp:408
#9  0x00005618c1fa2ba3 in ShellCorona::addOutput(QScreen*) (this=0x5618c2e11240, screen=<optimized out>) at ./shell/shellcorona.cpp:1311
#10 0x00007ff82e3929ef in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe12aef7b0, r=0x5618c2e11240, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 0x00007ff82e3929ef in QMetaObject::activate(QObject*, int, int, void**) (sender=0x7ffe12af0340, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=<optimized out>, argv@entry=0x7ffe12aef7b0) at kernel/qobject.cpp:3789
#12 0x00007ff82e392f97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7ff82eff1a80 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe12aef7b0) at kernel/qobject.cpp:3660
#13 0x00007ff82e929b52 in QGuiApplication::screenAdded(QScreen*) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:389
#14 0x00007ff82e912722 in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) (ps=<optimized out>, isPrimary=isPrimary@entry=false) at kernel/qwindowsysteminterface.cpp:805
#15 0x00007ff821f72e7b in QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QtWaylandClient::QWaylandScreen*) (this=0x5618c2de4320, screen=<optimized out>, screen@entry=0x5618cb616770) at qwaylanddisplay.cpp:262
#16 0x00007ff821f7e986 in QtWaylandClient::QWaylandScreen::maybeInitialize() (this=0x5618cb616770) at qwaylandscreen.cpp:91
#17 0x00007ff827789dae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#18 0x00007ff82778971f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#19 0x00007ff82ceb5e24 in wl_closure_invoke (closure=closure@entry=0x5618c7502930, flags=flags@entry=1, target=<optimized out>, target@entry=0x5618cb68c2b0, opcode=opcode@entry=2, data=<optimized out>) at ../src/connection.c:1006
#20 0x00007ff82ceb2659 in dispatch_event (display=display@entry=0x5618c2df6490, queue=<optimized out>) at ../src/wayland-client.c:1427
#21 0x00007ff82ceb3b24 in dispatch_queue (queue=0x5618c2df6558, display=0x5618c2df6490) at ../src/wayland-client.c:1573
#22 0x00007ff82ceb3b24 in wl_display_dispatch_queue_pending (display=0x5618c2df6490, queue=0x5618c2df6558) at ../src/wayland-client.c:1815
#23 0x00007ff82ceb3b7c in wl_display_dispatch_pending (display=<optimized out>) at ../src/wayland-client.c:1878
#24 0x00007ff821f71202 in QtWaylandClient::QWaylandDisplay::flushRequests() (this=0x5618c2de4320) at qwaylanddisplay.cpp:201
#25 0x00007ff82e3928d5 in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0x5618c2e0d710, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=<optimized out>, argv@entry=0x7ffe12aefcf0) at kernel/qobject.cpp:3809
#26 0x00007ff82e392f97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5618c2e0d710, m=m@entry=0x7ff82e817c40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe12aefcf0) at kernel/qobject.cpp:3660
#27 0x00007ff82e39f028 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=this@entry=0x5618c2e0d710, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:141
#28 0x00007ff82e39f3e2 in QSocketNotifier::event(QEvent*) (this=0x5618c2e0d710, e=0x7ffe12aeffd0) at kernel/qsocketnotifier.cpp:266
#29 0x00007ff82f5baeac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5618c2dee6e0, receiver=receiver@entry=0x5618c2e0d710, e=e@entry=0x7ffe12aeffd0) at kernel/qapplication.cpp:3703
#30 0x00007ff82f5c24b0 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe12af0340, receiver=0x5618c2e0d710, e=0x7ffe12aeffd0) at kernel/qapplication.cpp:3449
#31 0x00007ff82e361f08 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5618c2e0d710, event=0x7ffe12aeffd0) at kernel/qcoreapplication.cpp:1095
#32 0x00007ff82e3620de in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x7ffe12aeffd0) at kernel/qcoreapplication.cpp:1490
#33 0x00007ff82e3c07e8 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=source@entry=0x5618c2e1be30) at kernel/qeventdispatcher_glib.cpp:107
#34 0x00007ff827be0417 in g_main_dispatch (context=0x5618c2e1b6d0) at ../../../../glib/gmain.c:3176
#35 0x00007ff827be0417 in g_main_context_dispatch (context=context@entry=0x5618c2e1b6d0) at ../../../../glib/gmain.c:3829
#36 0x00007ff827be0650 in g_main_context_iterate (context=context@entry=0x5618c2e1b6d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3902
#37 0x00007ff827be06dc in g_main_context_iteration (context=0x5618c2e1b6d0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#38 0x00007ff82e3bfb7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5618c2e20930, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007ff82e36006a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe12af01f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#40 0x00007ff82e3693e0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1403
#41 0x00005618c1f81894 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:228

Possible duplicates by query: bug 416132, bug 416116, bug 416083, bug 415017, bug 414648.

Reported using DrKonqi
Comment 1 waldauf 2020-01-28 15:42:28 UTC
I have the same problem. When I connect an external monitor (one or two) to my laptop (HDMI or MiniDP) then my plasmashell gets stuck and I'm not possible to click on whatever with a mouse. The keyboard works alright. A quick win is restart plasmashell or restart SDDM.

Information about system & KDE:
Operating System: Arch Linux 
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Kernel Version: 5.4.15-arch1-1

Packages containing plasma:
extra/plasma-workspace-wallpapers 5.17.5-1
extra/plasma-workspace 5.17.5-2
extra/plasma-sdk 5.17.5-1
extra/plasma-pa 5.17.5-1
extra/plasma-nm 5.17.5-1
extra/plasma-integration 5.17.5-1
extra/plasma-framework 5.66.0-1
extra/plasma-desktop 5.17.5-2
Comment 2 waldauf 2020-01-28 15:53:14 UTC
Created attachment 125492 [details]
glxinfo
Comment 3 waldauf 2020-01-28 15:53:19 UTC
I added glxinfo.

Similar bug report: https://bugs.kde.org/show_bug.cgi?id=414719
Comment 4 waldauf 2020-01-28 15:55:18 UTC
Now I caught some (hopefully) relevant logs in journalctl:

Jan 28 16:53:06 jenpockej dbus-daemon[964]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.6897' (uid=1000 pid=1398 comm="/usr/lib/firefox/firefox --sm-client-id 10143c8d9d")
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:06 jenpockej systemd[1]: Starting Hostname Service...
Jan 28 16:53:06 jenpockej kwin_x11[1158]: file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
Jan 28 16:53:07 jenpockej dbus-daemon[964]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 28 16:53:07 jenpockej systemd[1]: Started Hostname Service.
Jan 28 16:53:08 jenpockej sudo[403769]: pam_unix(sudo:auth): conversation failed
Jan 28 16:53:08 jenpockej sudo[403769]: pam_unix(sudo:auth): auth could not identify password for [waldauf]
Jan 28 16:53:08 jenpockej sudo[403775]: pam_unix(sudo:auth): conversation failed
Jan 28 16:53:08 jenpockej sudo[403775]: pam_unix(sudo:auth): auth could not identify password for [waldauf]
Jan 28 16:53:08 jenpockej kwin_x11[1158]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 29176, resource id: 56627913, major code: 15 (QueryTree), minor code: 0
Jan 28 16:53:08 jenpockej kwin_x11[1158]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 29181, resource id: 56627913, major code: 18 (ChangeProperty), minor code: 0
Jan 28 16:53:09 jenpockej krusader[1439]: 16:53:09.523-warning default unknown@0 # file not found (unexpected), path= "/tmp/mozilla-temp-805311980"
Comment 5 waldauf 2020-01-29 09:29:07 UTC
Next symptom is 100% usage of CPU by kwin_11 process.
Comment 6 waldauf 2020-01-29 14:47:11 UTC
Next symptom is delay in working with window - switch window, scroll page, ... .
Comment 7 aancw 2020-03-11 06:42:20 UTC
(In reply to waldauf from comment #5)
> Next symptom is 100% usage of CPU by kwin_11 process.

I'm experiencing this issue too when idle.
Comment 8 Nate Graham 2021-01-26 23:09:44 UTC
*** Bug 419754 has been marked as a duplicate of this bug. ***