Application: plasmashell (5.18.5) Qt Version: 5.12.8 Frameworks Version: 5.68.0 Operating System: Linux 5.4.0-31-generic x86_64 Windowing system: X11 Distribution: Ubuntu 20.04 LTS -- Information about the crash: General Info: Hardware System is a laptop with an nvidia optimus card (Nvidia GT 540M with the Nvidia 390 driver installed) Internal monitor resolution is 1366*768 pixel, external is 1920*1080 pixel. Software System is a clean install of Kubuntu 20.04 (no upgrade) using X. - What I was doing when the application crashed: When logging in with the external monitor connected the plasma shell displays the control bar and the background image for the primary monitor on the secondary screen (my case: the laptop screen) and the background image for the secondary screen on the primary monitor (aka the external monitor) Then I unplug the external monitor and the plasma shell crashes, restarts and from there on behaves normally (no more crashing when de-/reattaching displays, displaying things where they should be) The crash can be reproduced every time. -- 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 0x7f60e1d1f280 (LWP 1396))] Thread 11 (Thread 0x7f60af01a700 (LWP 1943)): #0 g_source_ref (source=0x7f60a0005070) at ../../../glib/gmain.c:2166 #1 0x00007f60e4011168 in g_source_iter_next (iter=iter@entry=0x7f60af019ba0, source=source@entry=0x7f60af019b98) at ../../../glib/gmain.c:1046 #2 0x00007f60e4012aff in g_main_context_check (context=context@entry=0x7f60a0000c30, max_priority=2147483647, fds=fds@entry=0x7f60a00029e0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3860 #3 0x00007f60e4013152 in g_main_context_iterate (context=context@entry=0x7f60a0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044 #4 0x00007f60e40132e3 in g_main_context_iteration (context=0x7f60a0000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #5 0x00007f60e598a583 in QEventDispatcherGlib::processEvents (this=0x7f60a0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007f60e59314db in QEventLoop::exec (this=this@entry=0x7f60af019d60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f60e5769785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f60af5120bc in KCupsConnection::run() () from /lib/x86_64-linux-gnu/libkcupslib.so #9 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x55df48666730) at thread/qthread_unix.cpp:361 #10 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7f60b7885700 (LWP 1678)): #0 g_source_ref (source=0x7f60b0004cb0) at ../../../glib/gmain.c:2166 #1 0x00007f60e4011168 in g_source_iter_next (iter=iter@entry=0x7f60b7884ba0, source=source@entry=0x7f60b7884b98) at ../../../glib/gmain.c:1046 #2 0x00007f60e4012aff in g_main_context_check (context=context@entry=0x7f60b0000c30, max_priority=2147483647, fds=fds@entry=0x7f60b00058f0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3860 #3 0x00007f60e4013152 in g_main_context_iterate (context=context@entry=0x7f60b0000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044 #4 0x00007f60e40132e3 in g_main_context_iteration (context=0x7f60b0000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #5 0x00007f60e598a583 in QEventDispatcherGlib::processEvents (this=0x7f60b0000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007f60e59314db in QEventLoop::exec (this=this@entry=0x7f60b7884d60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f60e5769785 in QThread::exec (this=this@entry=0x7f60d400ca20) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f60e73c2e1a in QQuickPixmapReader::run (this=0x7f60d400ca20) at util/qquickpixmapcache.cpp:953 #9 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x7f60d400ca20) at thread/qthread_unix.cpp:361 #10 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7f60d0df2700 (LWP 1663)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55df45641b10) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55df45641ac0, cond=0x55df45641ae8) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55df45641ae8, mutex=0x55df45641ac0) at pthread_cond_wait.c:638 #3 0x00007f60e5770b0f in QWaitConditionPrivate::wait (deadline=..., this=0x55df45641ac0) at thread/qwaitcondition_unix.cpp:146 #4 QWaitCondition::wait (this=<optimized out>, mutex=0x55df4563a6d0, deadline=...) at thread/qwaitcondition_unix.cpp:225 #5 0x00007f60e5770c01 in QWaitCondition::wait (this=this@entry=0x55df4563a6d8, mutex=mutex@entry=0x55df4563a6d0, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #6 0x00007f60e744f109 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55df4563a6c8) at scenegraph/qsgthreadedrenderloop.cpp:245 #7 QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55df4563a650) at scenegraph/qsgthreadedrenderloop.cpp:710 #8 0x00007f60e744f3ad in QSGRenderThread::run (this=0x55df4563a650) at scenegraph/qsgthreadedrenderloop.cpp:739 #9 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x55df4563a650) at thread/qthread_unix.cpp:361 #10 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f60d27fc700 (LWP 1563)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55df44f7e898) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55df44f7e848, cond=0x55df44f7e870) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55df44f7e870, mutex=0x55df44f7e848) at pthread_cond_wait.c:638 #3 0x00007f60d8f2c35b in cnd_wait (mtx=0x55df44f7e848, cond=0x55df44f7e870) at ../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x55df4525e0e0) at ../src/util/u_queue.c:275 #5 0x00007f60d8f2bf6b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #6 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f60d2ffd700 (LWP 1562)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55df44f7e898) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55df44f7e848, cond=0x55df44f7e870) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55df44f7e870, mutex=0x55df44f7e848) at pthread_cond_wait.c:638 #3 0x00007f60d8f2c35b in cnd_wait (mtx=0x55df44f7e848, cond=0x55df44f7e870) at ../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x55df4525e0a0) at ../src/util/u_queue.c:275 #5 0x00007f60d8f2bf6b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #6 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f60d37fe700 (LWP 1561)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55df44f7e898) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55df44f7e848, cond=0x55df44f7e870) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55df44f7e870, mutex=0x55df44f7e848) at pthread_cond_wait.c:638 #3 0x00007f60d8f2c35b in cnd_wait (mtx=0x55df44f7e848, cond=0x55df44f7e870) at ../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x55df44f2f570) at ../src/util/u_queue.c:275 #5 0x00007f60d8f2bf6b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #6 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f60d3fff700 (LWP 1560)): #0 futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55df44f7e898) at ../sysdeps/nptl/futex-internal.h:183 #1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55df44f7e848, cond=0x55df44f7e870) at pthread_cond_wait.c:508 #2 __pthread_cond_wait (cond=0x55df44f7e870, mutex=0x55df44f7e848) at pthread_cond_wait.c:638 #3 0x00007f60d8f2c35b in cnd_wait (mtx=0x55df44f7e848, cond=0x55df44f7e870) at ../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x55df44fa7d20) at ../src/util/u_queue.c:275 #5 0x00007f60d8f2bf6b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87 #6 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #7 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f60dadee700 (LWP 1528)): #0 0x00007f60e53ec96f in __GI___poll (fds=0x7f60cc0025e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f60e40131ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f60cc0025e0, timeout=<optimized out>, context=0x7f60cc000c30) at ../../../glib/gmain.c:4346 #2 g_main_context_iterate (context=context@entry=0x7f60cc000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042 #3 0x00007f60e40132e3 in g_main_context_iteration (context=0x7f60cc000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #4 0x00007f60e598a583 in QEventDispatcherGlib::processEvents (this=0x7f60cc000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #5 0x00007f60e59314db in QEventLoop::exec (this=this@entry=0x7f60dadedd80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #6 0x00007f60e5769785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #7 0x00007f60e70dc1a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5 #8 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x55df44db0280) at thread/qthread_unix.cpp:361 #9 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #10 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f60dbfff700 (LWP 1438)): #0 g_source_ref (source=0x7f60d4004d60) at ../../../glib/gmain.c:2166 #1 0x00007f60e4011168 in g_source_iter_next (iter=iter@entry=0x7f60dbffebb0, source=source@entry=0x7f60dbffeba8) at ../../../glib/gmain.c:1046 #2 0x00007f60e401266b in g_main_context_prepare (context=context@entry=0x7f60d4000c30, priority=priority@entry=0x7f60dbffec30) at ../../../glib/gmain.c:3597 #3 0x00007f60e40130db in g_main_context_iterate (context=context@entry=0x7f60d4000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4027 #4 0x00007f60e40132e3 in g_main_context_iteration (context=0x7f60d4000c30, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #5 0x00007f60e598a583 in QEventDispatcherGlib::processEvents (this=0x7f60d4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #6 0x00007f60e59314db in QEventLoop::exec (this=this@entry=0x7f60dbffed70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #7 0x00007f60e5769785 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #8 0x00007f60e699defa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5 #9 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x7f60e6a20d80) at thread/qthread_unix.cpp:361 #10 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #11 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f60e0e23700 (LWP 1411)): #0 0x00007f60e53ec96f in __GI___poll (fds=0x7f60e0e22ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f60e7855c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f60e785790a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f60e160f298 in QXcbEventQueue::run (this=0x55df44bb6e40) at qxcbeventqueue.cpp:228 #4 0x00007f60e576a9d2 in QThreadPrivate::start (arg=0x55df44bb6e40) at thread/qthread_unix.cpp:361 #5 0x00007f60e4c10609 in start_thread (arg=<optimized out>) at pthread_create.c:477 #6 0x00007f60e53f9103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f60e1d1f280 (LWP 1396)): [KCrash Handler] #6 0x00007f60e7c57321 in PlasmaQuick::ContainmentView::containment() const () from /lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5 #7 0x000055df42b4a372 in ShellCorona::screenForContainment (this=0x55df44c347b0, containment=<optimized out>) at ./shell/shellcorona.cpp:1995 #8 0x00007f60e0125525 in AppletInterface::<lambda(int)>::operator() (__closure=0x55df44e489f0, id=0) at ./src/scriptengines/qml/plasmoid/appletinterface.cpp:129 #9 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, AppletInterface::AppletInterface(DeclarativeAppletScript*, const QVariantList&, QQuickItem*)::<lambda(int)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146 #10 QtPrivate::Functor<AppletInterface::AppletInterface(DeclarativeAppletScript*, const QVariantList&, QQuickItem*)::<lambda(int)>, 1>::call<QtPrivate::List<int>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256 #11 QtPrivate::QFunctorSlotObject<AppletInterface::AppletInterface(DeclarativeAppletScript*, const QVariantList&, QQuickItem*)::<lambda(int)>, 1, QtPrivate::List<int>, void>::impl (which=1, r=<optimized out>, ret=<optimized out>, a=<optimized out>, this_=0x55df44e489e0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:439 #12 QtPrivate::QFunctorSlotObject<AppletInterface::AppletInterface(DeclarativeAppletScript*, const QVariantList&, QQuickItem*)::<lambda(int)>, 1, QtPrivate::List<int>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55df44e489e0, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:432 #13 0x00007f60e595e458 in QtPrivate::QSlotObjectBase::call (a=0x7ffdf0833390, r=0x55df44dcbc10, this=0x55df44e489e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #14 QMetaObject::activate (sender=0x55df44c347b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784 #15 0x00007f60e77aa575 in Plasma::Corona::screenGeometryChanged(int) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5 #16 0x000055df42b46abc in ShellCorona::<lambda()>::operator() (__closure=0x55df46bfe730, __closure=0x55df46bfe730) at ./shell/shellcorona.cpp:1292 #17 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, ShellCorona::addOutput(QScreen*)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:146 #18 QtPrivate::Functor<ShellCorona::addOutput(QScreen*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:256 #19 QtPrivate::QFunctorSlotObject<ShellCorona::addOutput(QScreen*)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55df46bfe720, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:439 #20 0x00007f60e595e458 in QtPrivate::QSlotObjectBase::call (a=0x7ffdf08334e0, r=0x55df44c347b0, this=0x55df46bfe720) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #21 QMetaObject::activate (sender=0x55df44bf40b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3784 #22 0x00007f60e60de886 in QScreen::geometryChanged (this=this@entry=0x55df44bf40b0, _t1=...) at .moc/moc_qscreen.cpp:371 #23 0x00007f60e5d1cb77 in QGuiApplicationPrivate::processScreenGeometryChange (e=<optimized out>) at kernel/qguiapplication.cpp:2994 #24 QGuiApplicationPrivate::processScreenGeometryChange (e=<optimized out>) at kernel/qguiapplication.cpp:2973 #25 0x00007f60e5d1d030 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55df4ac691c0) at kernel/qguiapplication.cpp:1891 #26 0x00007f60e5cf735b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1151 #27 0x00007f60e161032e in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #28 0x00007f60e4012fbd in g_main_dispatch (context=0x7f60dc005010) at ../../../glib/gmain.c:3309 #29 g_main_context_dispatch (context=context@entry=0x7f60dc005010) at ../../../glib/gmain.c:3974 #30 0x00007f60e4013240 in g_main_context_iterate (context=context@entry=0x7f60dc005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047 #31 0x00007f60e40132e3 in g_main_context_iteration (context=0x7f60dc005010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108 #32 0x00007f60e598a565 in QEventDispatcherGlib::processEvents (this=0x55df44c1f930, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #33 0x00007f60e59314db in QEventLoop::exec (this=this@entry=0x7ffdf08337f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #34 0x00007f60e5939246 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #35 0x000055df42b20b25 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:228 [Inferior 1 (process 1396) detached] Possible duplicates by query: bug 421611, bug 415884, bug 413185, bug 385342, bug 379085. Reported using DrKonqi
a desktop view has been deleted without ShellCorona::handleScreenRemoved or ShellCorona::removeDesktop being called
*** Bug 431726 has been marked as a duplicate of this bug. ***
*** Bug 375750 has been marked as a duplicate of this bug. ***
*** Bug 433486 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 373885 ***