Bug 438588 - Plasma crashed when connected an external monitor on Wayland
Summary: Plasma crashed when connected an external monitor on Wayland
Status: RESOLVED DUPLICATE of bug 421700
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.0
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-14 02:17 UTC by Moltke
Modified: 2021-06-15 20:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moltke 2021-06-14 02:17:30 UTC
Application: plasmashell (5.22.0)

Qt Version: 5.15.3
Frameworks Version: 5.84.0
Operating System: Linux 5.4.0-74-generic x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.0
Distribution: KDE neon Testing Edition

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

I connected an external monitor throught the VGA port of the laptop and plasmashell crashed on Wayland.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[New LWP 1188]
[New LWP 1243]
[New LWP 1244]
[New LWP 1245]
[New LWP 1246]
[New LWP 1247]
[New LWP 1309]
[New LWP 1322]
[New LWP 1349]
[New LWP 1352]
[New LWP 1354]
[New LWP 1395]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f3a409d4aff in __GI___poll (fds=0x7fff999ef5b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f3a3ccb78c0 (LWP 1138))]

Thread 13 (Thread 0x7f3a14919700 (LWP 1395)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d56cbb20) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d56cbad0, cond=0x5643d56cbaf8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d56cbaf8, mutex=0x5643d56cbad0) at pthread_cond_wait.c:638
#3  0x00007f3a40d67ebb in QWaitConditionPrivate::wait (deadline=..., this=0x5643d56cbad0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5643d6968190, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f3a429afb44 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f3a429affb9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d69680f0) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f39f717b700 (LWP 1354)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d5162984) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d5162930, cond=0x5643d5162958) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d5162958, mutex=0x5643d5162930) at pthread_cond_wait.c:638
#3  0x00007f3a40d67ebb in QWaitConditionPrivate::wait (deadline=..., this=0x5643d5162930) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5643d4370ab0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f3a429afb44 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f3a429affb9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d4370a10) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f39fd00f700 (LWP 1352)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d4a69f80) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d4a69f30, cond=0x5643d4a69f58) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d4a69f58, mutex=0x5643d4a69f30) at pthread_cond_wait.c:638
#3  0x00007f3a40d67ebb in QWaitConditionPrivate::wait (deadline=..., this=0x5643d4a69f30) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x5643d4a69db0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f3a429afb44 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f3a429affb9 in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d4a69d10) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f39fe317700 (LWP 1349)):
#0  0x00007f3a409d4aff in __GI___poll (fds=0x7f39f8006750, nfds=1, timeout=3205960) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3a3f2f136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a3f2f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a40fa2b3b in QEventDispatcherGlib::processEvents (this=0x7f39f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f3a40f46dcb in QEventLoop::exec (this=this@entry=0x7f39fe316ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f3a40d60bb2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f39fe80e07c in KCupsConnection::run() () from /lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d450e9d0) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f3a16411700 (LWP 1322)):
#0  0x00007fff999fb6cb in ?? ()
#1  0x00007fff999fb918 in clock_gettime ()
#2  0x00007f3a4099f235 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f3a16410a10) at ../sysdeps/unix/sysv/linux/clock_gettime.c:38
#3  0x00007f3a40fa2405 in qt_clock_gettime (ts=0x7f3a16410a10, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#4  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#5  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#6  0x00007f3a40fa0c9d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f3a0c0066e0) at kernel/qtimerinfo_unix.cpp:91
#7  0x00007f3a40fa1279 in QTimerInfoList::timerWait (this=0x7f3a0c0066e0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#8  0x00007f3a40fa2896 in timerSourcePrepareHelper (timeout=0x7f3a16410ad4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#9  timerSourcePrepare (source=<optimized out>, timeout=0x7f3a16410ad4) at kernel/qeventdispatcher_glib.cpp:166
#10 0x00007f3a3f2f08ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f3a3f2f129b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f3a3f2f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f3a40fa2b3b in QEventDispatcherGlib::processEvents (this=0x7f3a0c0123c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#14 0x00007f3a40f46dcb in QEventLoop::exec (this=this@entry=0x7f3a16410ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#15 0x00007f3a40d60bb2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#16 0x00007f3a428ea3ba in ?? () from /lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d4115920) at thread/qthread_unix.cpp:329
#18 0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#19 0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f3a2d4ae700 (LWP 1309)):
#0  0x00007f3a409d4aff in __GI___poll (fds=0x7f3a10004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3a3f2f136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a3f2f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a40fa2b3b in QEventDispatcherGlib::processEvents (this=0x7f3a10000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f3a40f46dcb in QEventLoop::exec (this=this@entry=0x7f3a2d4adcc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f3a40d60bb2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f3a42561559 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x5643d39030e0) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f3a2e85a700 (LWP 1247)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d37464c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d3746478, cond=0x5643d37464a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d37464a0, mutex=0x5643d3746478) at pthread_cond_wait.c:638
#3  0x00007f3a3a034b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f3a3a03475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f3a2f05b700 (LWP 1246)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d37464c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d3746478, cond=0x5643d37464a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d37464a0, mutex=0x5643d3746478) at pthread_cond_wait.c:638
#3  0x00007f3a3a034b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f3a3a03475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f3a38911700 (LWP 1245)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d37464c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d3746478, cond=0x5643d37464a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d37464a0, mutex=0x5643d3746478) at pthread_cond_wait.c:638
#3  0x00007f3a3a034b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f3a3a03475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f3a39112700 (LWP 1244)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d37464c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d3746478, cond=0x5643d37464a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d37464a0, mutex=0x5643d3746478) at pthread_cond_wait.c:638
#3  0x00007f3a3a034b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f3a3a03475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f3a39a68700 (LWP 1243)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5643d3745d1c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5643d3745cc8, cond=0x5643d3745cf0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5643d3745cf0, mutex=0x5643d3745cc8) at pthread_cond_wait.c:638
#3  0x00007f3a3a034b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007f3a3a03475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f3a3bdf7700 (LWP 1188)):
#0  0x00007f3a409d4aff in __GI___poll (fds=0x7f3a34005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f3a3f2f136e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3a3f2f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3a40fa2b3b in QEventDispatcherGlib::processEvents (this=0x7f3a34000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f3a40f46dcb in QEventLoop::exec (this=this@entry=0x7f3a3bdf6cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f3a40d60bb2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f3a418d2f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f3a40d61d4c in QThreadPrivate::start (arg=0x7f3a41956d80) at thread/qthread_unix.cpp:329
#8  0x00007f3a3fd23609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f3a409e1293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f3a3ccb78c0 (LWP 1138)):
[KCrash Handler]
#4  std::__atomic_base<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_acquire, this=0x700000001000f) at /usr/include/c++/9/bits/atomic_base.h:734
#5  std::atomic<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_acquire, this=0x700000001000f) at /usr/include/c++/9/atomic:519
#6  QAtomicOps<QObjectPrivate::SignalVector*>::loadAcquire<QObjectPrivate::SignalVector*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#7  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadAcquire (this=0x700000001000f) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#8  QObjectPrivate::ConnectionData::signalVectorCount (this=0x7000000010007) at kernel/qobject_p.h:315
#9  QObjectPrivate::connectImpl (sender=0x5643d568a7a0, signal_index=8, receiver=0x5643d4121730, slot=0x7fff999f0260, slotObj=0x5643d6de05a0, type=Qt::UniqueConnection, types=0x0, senderMetaObject=0x7f3a4189f300 <QScreen::staticMetaObject>) at kernel/qobject.cpp:5036
#10 0x00007f3a40f74c85 in QObject::connectImpl (sender=sender@entry=0x5643d568a7a0, signal=signal@entry=0x7fff999f0250, receiver=receiver@entry=0x5643d4121730, slot=slot@entry=0x7fff999f0260, slotObj=0x5643d6de05a0, type=Qt::UniqueConnection, types=0x0, senderMetaObject=<optimized out>) at kernel/qobject.cpp:5001
#11 0x00005643d1ae8b49 in QObject::connect<void (QScreen::*)(QRect const&), void (PanelView::*)()> (type=Qt::UniqueConnection, slot=(void (PanelView::*)(class PanelView * const)) 0x5643d1aec1d0 <PanelView::updateStruts()>, receiver=0x5643d4121730, signal=(void (QScreen::*)(class QScreen * const, const class QRect &)) 0x7f3a4178cba0 <QScreen::virtualGeometryChanged(QRect const&)>, sender=0x5643d568a7a0) at /usr/include/c++/9/bits/atomic_base.h:279
#12 PanelView::setScreenToFollow (screen=<optimized out>, this=<optimized out>) at ./shell/panelview.cpp:853
#13 PanelView::setScreenToFollow (this=this@entry=0x5643d4121730, screen=0x5643d568a7a0) at ./shell/panelview.cpp:837
#14 0x00005643d1af8273 in ShellCorona::primaryOutputChanged (this=<optimized out>) at ./shell/shellcorona.cpp:759
#15 0x00007f3a40f7f2ee in QtPrivate::QSlotObjectBase::call (a=0x7fff999f0470, r=0x5643d37547c0, this=0x5643d40d0040) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x7fff999f1090, signal_index=11, argv=0x7fff999f0470) at kernel/qobject.cpp:3886
#17 0x00007f3a40f786b7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3a41897460 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff999f0470) at kernel/qobject.cpp:3946
#18 0x00007f3a4131cd36 in QGuiApplication::primaryScreenChanged (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:403
#19 0x00007f3a41352f8e in QScreen::~QScreen (this=0x5643d367f130, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:116
#20 0x00007f3a4135329d in QScreen::~QScreen (this=0x5643d367f130, __in_chrg=<optimized out>) at kernel/qscreen.cpp:134
#21 0x00007f3a41302bdb in QWindowSystemInterface::handleScreenRemoved (platformScreen=0x5643d3677fe0) at kernel/qwindowsysteminterface.cpp:844
#22 0x00007f3a3ee4ec29 in QtWaylandClient::QWaylandDisplay::registry_global_remove (this=0x5643d36720a0, id=34) at qwaylanddisplay.cpp:419
#23 0x00007f3a3f299ff5 in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#24 0x00007f3a3f29940a in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#25 0x00007f3a4086f3a8 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#26 0x00007f3a4086bc48 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#27 0x00007f3a4086d21c in wl_display_dispatch_queue_pending () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#28 0x00007f3a3ee4d1c5 in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x5643d36720a0) at qwaylanddisplay.cpp:222
#29 0x00007f3a40f7f320 in doActivate<false> (sender=0x5643d36e6230, signal_index=3, argv=0x7fff999f0a60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#30 0x00007f3a40f786b7 in QMetaObject::activate (sender=sender@entry=0x5643d36e6230, m=m@entry=0x7f3a411e2b40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff999f0a60) at kernel/qobject.cpp:3946
#31 0x00007f3a40f83373 in QSocketNotifier::activated (this=this@entry=0x5643d36e6230, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#32 0x00007f3a40f83b13 in QSocketNotifier::event (this=0x5643d36e6230, e=0x7fff999f0d30) at kernel/qsocketnotifier.cpp:302
#33 0x00007f3a41c47dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x5643d366f460, receiver=receiver@entry=0x5643d36e6230, e=e@entry=0x7fff999f0d30) at kernel/qapplication.cpp:3632
#34 0x00007f3a41c50bb8 in QApplication::notify (this=0x7fff999f1090, receiver=0x5643d36e6230, e=0x7fff999f0d30) at kernel/qapplication.cpp:3156
#35 0x00007f3a40f482ca in QCoreApplication::notifyInternal2 (receiver=0x5643d36e6230, event=0x7fff999f0d30) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#36 0x00007f3a40fa3725 in socketNotifierSourceDispatch (source=0x5643d369cbb0) at kernel/qeventdispatcher_glib.cpp:107
#37 0x00007f3a3f2f117d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f3a3f2f1400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f3a3f2f14a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f3a40fa2b22 in QEventDispatcherGlib::processEvents (this=0x5643d36e62c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007f3a40f46dcb in QEventLoop::exec (this=this@entry=0x7fff999f0f40, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#42 0x00007f3a40f4ef84 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x00005643d1ad0dfe in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:251
[Inferior 1 (process 1138) detached]

Reported using DrKonqi
Comment 1 Moltke 2021-06-15 18:19:10 UTC
This keep happening every time. Just updated to 5.22.1, connected the external monitor and plasmashell crashed. Here's the last part of the report made by drkonqi:
[KCrash Handler]
#4  QWindow::geometry (this=0x55af11f9a1c0) at kernel/qwindow.cpp:1791
#5  0x00007fd5ce4ca463 in QPlatformWindow::windowGeometry (this=this@entry=0x55af0fb40f90) at kernel/qplatformwindow.cpp:838
#6  0x00007fd5cc009062 in QtWaylandClient::QWaylandWindow::setVisible (visible=true, this=0x55af0fb40f80) at qwaylandwindow.cpp:440
#7  QtWaylandClient::QWaylandWindow::setVisible (this=0x55af0fb40f80, visible=<optimized out>) at qwaylandwindow.cpp:427
#8  0x00007fd5ce4e69fb in QWindowPrivate::setVisible (this=0x55af11f41030, visible=<optimized out>) at kernel/qwindow.cpp:408
#9  0x000055af0c35da0b in ShellCorona::addOutput (this=0x55af0e166850, screen=<optimized out>) at ./shell/shellcorona.cpp:1235
#10 0x00007fd5ce1302ee in QtPrivate::QSlotObjectBase::call (a=0x7fffddbab4c0, r=0x55af0e166850, this=0x55af0e813cc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x7fffddbac040, signal_index=9, argv=0x7fffddbab4c0) at kernel/qobject.cpp:3886
#12 0x00007fd5ce1296b7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd5cea48460 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffddbab4c0) at kernel/qobject.cpp:3946
#13 0x00007fd5ce4cdc76 in QGuiApplication::screenAdded (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qguiapplication.cpp:389
#14 0x00007fd5ce4b6692 in QWindowSystemInterface::handleScreenAdded (ps=<optimized out>, isPrimary=isPrimary@entry=false) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:116
#15 0x00007fd5cbffa778 in QtWaylandClient::QWaylandDisplay::handleScreenInitialized (this=0x55af0e0840a0, screen=<optimized out>, screen@entry=0x55af0fc0d8e0) at qwaylanddisplay.cpp:314
#16 0x00007fd5cc00a533 in QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x55af0fc0d8e0) at qwaylandscreen.cpp:108
#17 QtWaylandClient::QWaylandScreen::maybeInitialize (this=0x55af0fc0d8e0) at qwaylandscreen.cpp:99
#18 0x00007fd5cc445ff5 in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#19 0x00007fd5cc44540a in ?? () from /lib/x86_64-linux-gnu/libffi.so.7
#20 0x00007fd5cda203a8 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#21 0x00007fd5cda1cc48 in ?? () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#22 0x00007fd5cda1e21c in wl_display_dispatch_queue_pending () from /lib/x86_64-linux-gnu/libwayland-client.so.0
#23 0x00007fd5cbff91c5 in QtWaylandClient::QWaylandDisplay::flushRequests (this=0x55af0e0840a0) at qwaylanddisplay.cpp:222
#24 0x00007fd5ce130320 in doActivate<false> (sender=0x55af0e0f8310, signal_index=3, argv=0x7fffddbaba10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#25 0x00007fd5ce1296b7 in QMetaObject::activate (sender=sender@entry=0x55af0e0f8310, m=m@entry=0x7fd5ce393b40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffddbaba10) at kernel/qobject.cpp:3946
#26 0x00007fd5ce134373 in QSocketNotifier::activated (this=this@entry=0x55af0e0f8310, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178
#27 0x00007fd5ce134b13 in QSocketNotifier::event (this=0x55af0e0f8310, e=0x7fffddbabce0) at kernel/qsocketnotifier.cpp:302
#28 0x00007fd5cedf8dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55af0e081460, receiver=receiver@entry=0x55af0e0f8310, e=e@entry=0x7fffddbabce0) at kernel/qapplication.cpp:3632
#29 0x00007fd5cee01bb8 in QApplication::notify (this=0x7fffddbac040, receiver=0x55af0e0f8310, e=0x7fffddbabce0) at kernel/qapplication.cpp:3156
#30 0x00007fd5ce0f92ca in QCoreApplication::notifyInternal2 (receiver=0x55af0e0f8310, event=0x7fffddbabce0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#31 0x00007fd5ce154725 in socketNotifierSourceDispatch (source=0x55af0e0b2d80) at kernel/qeventdispatcher_glib.cpp:107
#32 0x00007fd5cc49d17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fd5cc49d400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fd5cc49d4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fd5ce153b22 in QEventDispatcherGlib::processEvents (this=0x55af0e0f86d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007fd5ce0f7dcb in QEventLoop::exec (this=this@entry=0x7fffddbabef0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#37 0x00007fd5ce0fff84 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x000055af0c335dfe in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:251
[Inferior 1 (process 1131) detached]

Hope this is help
Comment 2 Nate Graham 2021-06-15 20:25:41 UTC

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