Bug 444326

Summary: Plasma froze on Wayland when I reopened Widgets Explorer after adding several widgets to desktop
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Widget Explorer sidebarAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: meven29, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2021-10-24 14:16:11 UTC
SUMMARY
I added several widgets by dragging them from Widgets Explorer and dropping them
on desktop. I closed the Widget Explorer, reopened it and then Plasma froze.
It became unresponsive and its colors desaturate.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: Wayland

Continuing.

Thread 1 "plasmashell" received signal SIGINT, Interrupt.
0x00007faa02bb1980 in QMutex::lock (this=this@entry=0x7fa9d40abea0)
    at /usr/include/c++/9/bits/atomic_base.h:769
769	      compare_exchange_strong(__pointer_type& __p1, __pointer_type __p2,

Thread 28 (Thread 0x7fa97bfff700 (LWP 18870)):
#0  0x00007faa0282f5ce in epoll_wait (epfd=107, events=events@entry=0x7fa97bffe7f0, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007fa9f018127b in impl_pollfd_wait (object=<optimized out>, pfd=<optimized out>, ev=0x7fa97bffe9a0, n_ev=<optimized out>, timeout=<optimized out>) at ../spa/plugins/support/system.c:155
#2  0x00007fa9f01736f4 in loop_iterate (object=0x555ed1b5efe8, timeout=-1) at ../spa/plugins/support/loop.c:316
#3  0x00007fa9f01ce0e0 in do_loop (user_data=0x555e87afdc30) at ../src/pipewire/data-loop.c:80
#4  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 27 (Thread 0x7fa9a1eed700 (LWP 18797)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e81a53814) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e81a537c0, cond=0x555e81a537e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e81a537e8, mutex=0x555e81a537c0) at pthread_cond_wait.c:647
#3  0x00007faa02bb75cb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x555e81a537c0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x555e92bd1c58, mutex=mutex@entry=0x555e92bd1c50, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007faa04822c24 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x555e92bd1c48) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x555e92bd1bb0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007faa04823099 in QSGRenderThread::run() (this=0x555e92bd1bb0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e92bd1bb0) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 26 (Thread 0x7fa9797fa700 (LWP 18751)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa99c115210, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa010cd36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa99c115210, timeout=<optimized out>, context=0x7fa99c066020) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa99c066020, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faa010cd4a3 in g_main_context_iteration (context=0x7fa99c066020, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faa02df2602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa99c165c80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faa02d968ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa9797f9be0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faa02bb02c2 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555eb3be1310) at thread/qthread_unix.cpp:329
#8  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 25 (Thread 0x7fa955ffb700 (LWP 17362)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa955ffaaa8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa955ffaa58, cond=0x7fa955ffaa80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa955ffaa80, mutex=0x7fa955ffaa58) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fa955ffa900 in  ()
#5  0x00007fa986b1d58f in base::FileDescriptorWatcher::~FileDescriptorWatcher() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x0000555e88259350 in  ()
#7  0x00007fa955ffa928 in  ()
#8  0x0000000000000000 in  ()

Thread 24 (Thread 0x7fa9567fc700 (LWP 17359)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa9567fb9c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa9567fb978, cond=0x7fa9567fb9a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa9567fb9a0, mutex=0x7fa9567fb978) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x0000000000000000 in  ()

Thread 23 (Thread 0x7fa956ffd700 (LWP 17342)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa956ffcaa8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa956ffca58, cond=0x7fa956ffca80) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa956ffca80, mutex=0x7fa956ffca58) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fa956ffc900 in  ()
#5  0x00007fa986b1d58f in base::FileDescriptorWatcher::~FileDescriptorWatcher() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#6  0x00007fa974022340 in  ()
#7  0x00007fa956ffc928 in  ()
#8  0x0000000000000000 in  ()

Thread 22 (Thread 0x7fa9577fe700 (LWP 17341)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa9577fd9c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa9577fd978, cond=0x7fa9577fd9a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa9577fd9a0, mutex=0x7fa9577fd978) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x0000000000000000 in  ()

Thread 21 (Thread 0x7fa957fff700 (LWP 17340)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fa957ffe9c8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7fa957ffe978, cond=0x7fa957ffe9a0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7fa957ffe9a0, mutex=0x7fa957ffe978) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x0000000000000000 in  ()

Thread 20 (Thread 0x7fa978ff9700 (LWP 17339)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e9c5e8e0c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e9c5e8d48, cond=0x555e9c5e8de0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e9c5e8de0, mutex=0x555e9c5e8d48) at pthread_cond_wait.c:647
#3  0x00007fa986b280ab in base::ConditionVariable::Wait() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fa95c000bf0 in  ()
#5  0x00007fa97403d2e8 in  ()
#6  0x00007fa978ff8c00 in  ()
#7  0x00007fa986b0f7c1 in base::ThreadIdNameManager::SetName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#8  0x0000000000000000 in  ()

Thread 19 (Thread 0x7fa97a7fc700 (LWP 17336)):
#0  0x00007faa0282512b in __GI___select (nfds=96, readfds=0x7fa97a7fbb60, writefds=0x0, exceptfds=0x0, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x00007fa986b2dd94 in base::(anonymous namespace)::InotifyReaderThreadDelegate::ThreadMain() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#2  0x0000000000000030 in  ()
#3  0x00007fa900000004 in  ()
#4  0x00007fa97a7fbb60 in  ()
#5  0x00007fa97a7fbbe0 in  ()
#6  0x0000000000000001 in  ()
#7  0x00007fa97a7fbbf0 in  ()
#8  0x0000000000000000 in  ()

Thread 18 (Thread 0x7fa97affd700 (LWP 17335)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa97affc8f0, clockid=<optimized out>, expected=0, futex_word=0x7fa97affcac8) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa97affc8f0, clockid=<optimized out>, mutex=0x7fa97affca78, cond=0x7fa97affcaa0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fa97affcaa0, mutex=0x7fa97affca78, abstime=0x7fa97affc8f0) at pthread_cond_wait.c:665
#3  0x00007fa986b2820a in base::ConditionVariable::TimedWait(base::TimeDelta const&) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x0000000000001544 in  ()
#5  0x000000003849a071 in  ()
#6  0x0000000000001523 in  ()
#7  0x000000003849a071 in  ()
#8  0x0000000000000001 in  ()
#9  0x00007fa986b00064 in base::internal::ThreadGroup::GetNumAdditionalWorkersForForegroundTaskSourcesLockRequired() const () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x0000000000000000 in  ()

Thread 17 (Thread 0x7fa980c6a700 (LWP 17332)):
#0  0x00007faa0282f5ce in epoll_wait (epfd=90, events=0x7fa974002090, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007fa9a294b5e9 in  () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#2  0x00007fa9a2941625 in event_base_loop () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#3  0x00007fa986b37947 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fa980c69b50 in  ()
#5  0x0001000000000000 in  ()
#6  0x00007fa980c69a20 in  ()
#7  0x00007fa980c69a18 in  ()
#8  0x00007fa980c69ad8 in  ()
#9  0x00007fa980c69b50 in  ()
#10 0x00007fa980c69bb0 in  ()
#11 0x00007faa027aa419 in __GI___libc_malloc (bytes=140365986699872) at malloc.c:3066
#12 0x0000000000000001 in  ()
#13 0x7fffffffffffffff in  ()
#14 0x00007fa980c69bb0 in  ()
#15 0x00007fa980c69a90 in  ()
#16 0x00007fa986aee69c in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#17 0x0000000000000000 in  ()

Thread 16 (Thread 0x7fa98146b700 (LWP 17331)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fa98146a8f0, clockid=<optimized out>, expected=0, futex_word=0x7fa98146aac8) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7fa98146a8f0, clockid=<optimized out>, mutex=0x7fa98146aa78, cond=0x7fa98146aaa0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x7fa98146aaa0, mutex=0x7fa98146aa78, abstime=0x7fa98146a8f0) at pthread_cond_wait.c:665
#3  0x00007fa986b2820a in base::ConditionVariable::TimedWait(base::TimeDelta const&) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x0000000000001544 in  ()
#5  0x0000000038556282 in  ()
#6  0x0000000000001523 in  ()
#7  0x0000000038556282 in  ()
#8  0x00007fa970001d68 in  ()
#9  0x00007fa986b3ae81 in (anonymous namespace)::ClockNow(int) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x00007fa986b28cef in base::WaitableEvent::TimedWait(base::TimeDelta const&) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#11 0x0000000000000001 in  ()
#12 0x00007fa98146aa60 in  ()
#13 0x0000000000000000 in  ()

Thread 15 (Thread 0x7fa9ea7fc700 (LWP 17330)):
#0  0x00007faa0282f5ce in epoll_wait (epfd=85, events=0x7fa9d001e550, maxevents=32, timeout=2049584) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x00007fa9a294b5e9 in  () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#2  0x00007fa9a2941625 in event_base_loop () at /lib/x86_64-linux-gnu/libevent-2.1.so.7
#3  0x00007fa986b37918 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#4  0x00007fa9d006ba80 in  ()
#5  0x00017fa9ea7fbbb0 in  ()
#6  0x00007fa9ea7fba40 in  ()
#7  0x00007fa9ea7fba38 in  ()
#8  0x0000000000000000 in  ()

Thread 14 (Thread 0x7fa9a0eeb700 (LWP 17329)):
#0  0x00007faa027f2dff in __GI___wait4 (pid=17326, stat_loc=0x7fa9a0eeabcc, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1  0x00007fa986b2760b in base::Process::WaitForExitWithTimeout(base::TimeDelta, int*) const () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#2  0x00007fa9c80a2f20 in  ()
#3  0x00007fa9c8033df0 in  ()
#4  0x0000000000000000 in  ()

Thread 13 (Thread 0x7fa9eaffd700 (LWP 17323)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa9eaffca50, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa9895d61da in content::SandboxIPCHandler::Run() () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#2  0x0000000100000051 in  ()
#3  0x0000000100000050 in  ()
#4  0x00007fa9eaffcb00 in  ()
#5  0x00007faa02a423a4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long) () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007fa9eaffcae0 in  ()
#7  0x00007fa9eaffcbb0 in  ()
#8  0x00007fa986b2fafe in base::(anonymous namespace)::SetThreadCgroupForThreadPriority(int, base::FilePath const&, base::ThreadPriority) () at /lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#9  0x000000000000001f in  ()
#10 0x000000000000001f in  ()
#11 0x0000000000000009 in  ()
#12 0x00007fa9eaffcb10 in  ()
#13 0x0000000000000000 in  ()

Thread 12 (Thread 0x7fa9a37fe700 (LWP 17265)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e7c454884) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e7c454830, cond=0x555e7c454858) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e7c454858, mutex=0x555e7c454830) at pthread_cond_wait.c:647
#3  0x00007faa02bb75cb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x555e7c454830) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x555e7dc36c18, mutex=mutex@entry=0x555e7dc36c10, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007faa04822c24 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x555e7dc36c08) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x555e7dc36b70) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007faa04823099 in QSGRenderThread::run() (this=0x555e7dc36b70) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e7dc36b70) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fa9c154f700 (LWP 17207)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e7e40c8f4) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e7e40c8a0, cond=0x555e7e40c8c8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e7e40c8c8, mutex=0x555e7e40c8a0) at pthread_cond_wait.c:647
#3  0x00007faa02bb75cb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x555e7e40c8a0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x7fa9f8078318, mutex=mutex@entry=0x7fa9f8078310, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007faa04822c24 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x7fa9f8078308) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x7fa9f8078270) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007faa04823099 in QSGRenderThread::run() (this=0x7fa9f8078270) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x7fa9f8078270) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fa9c2cd9700 (LWP 17196)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa9b4006150, nfds=1, timeout=3205967) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa010cd36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa9b4006150, timeout=<optimized out>, context=0x7fa9b4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa9b4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faa010cd4a3 in g_main_context_iteration (context=0x7fa9b4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faa02df2602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa9b4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faa02d968ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa9c2cd8ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faa02bb02c2 in QThread::exec() (this=this@entry=0x555e7dfb0a80) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007fa9c2db907c in KCupsConnection::run() (this=0x555e7dfb0a80) at ./libkcups/KCupsConnection.cpp:289
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e7dfb0a80) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fa9e9ffb700 (LWP 17185)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e7928c1b0) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e7928c160, cond=0x555e7928c188) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e7928c188, mutex=0x555e7928c160) at pthread_cond_wait.c:647
#3  0x00007faa02bb75cb in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x555e7928c160) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x555e7c481858, mutex=mutex@entry=0x555e7c481850, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007faa04822c24 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x555e7c481848) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore() (this=this@entry=0x555e7c4817b0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007faa04823099 in QSGRenderThread::run() (this=0x555e7c4817b0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e7c4817b0) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa9f10c3700 (LWP 17177)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa9d804c950, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa010cd36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fa9d804c950, timeout=<optimized out>, context=0x7fa9d80346c0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa9d80346c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faa010cd4a3 in g_main_context_iteration (context=0x7fa9d80346c0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faa02df2602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa9d800c5b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faa02d968ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa9f10c2ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faa02bb02c2 in QThread::exec() (this=this@entry=0x555e7c107cd0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faa0475d3fa in QQuickPixmapReader::run() (this=0x555e7c107cd0) at util/qquickpixmapcache.cpp:1024
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e7c107cd0) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa9f44e6700 (LWP 17158)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa9d4004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa010cd36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fa9d4004e60, timeout=<optimized out>, context=0x7fa9d4000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa9d4000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faa010cd4a3 in g_main_context_iteration (context=0x7fa9d4000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faa02df2602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa9d4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faa02d968ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa9f44e5bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faa02bb02c2 in QThread::exec() (this=this@entry=0x555e79029470) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faa043c3549 in QQmlThreadPrivate::run() (this=0x555e79029470) at qml/ftw/qqmlthread.cpp:155
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x555e79029470) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa9f67fc700 (LWP 17103)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e78dc8fdc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e78dc8f88, cond=0x555e78dc8fb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e78dc8fb0, mutex=0x555e78dc8f88) at pthread_cond_wait.c:647
#3  0x00007fa9fcacea4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa9fcace64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa9f6ffd700 (LWP 17102)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e78dc8fdc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e78dc8f88, cond=0x555e78dc8fb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e78dc8fb0, mutex=0x555e78dc8f88) at pthread_cond_wait.c:647
#3  0x00007fa9fcacea4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa9fcace64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa9f77fe700 (LWP 17101)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e78dc8fdc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e78dc8f88, cond=0x555e78dc8fb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e78dc8fb0, mutex=0x555e78dc8f88) at pthread_cond_wait.c:647
#3  0x00007fa9fcacea4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa9fcace64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa9f7fff700 (LWP 17100)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555e78dc8fdc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555e78dc8f88, cond=0x555e78dc8fb0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x555e78dc8fb0, mutex=0x555e78dc8f88) at pthread_cond_wait.c:647
#3  0x00007fa9fcacea4b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fa9fcace64b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa9fe293700 (LWP 17033)):
#0  0x00007faa02822aff in __GI___poll (fds=0x7fa9f8091e50, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007faa010cd36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fa9f8091e50, timeout=<optimized out>, context=0x7fa9f8000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7fa9f8000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007faa010cd4a3 in g_main_context_iteration (context=0x7fa9f8000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007faa02df2602 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa9f8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007faa02d968ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa9fe292bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007faa02bb02c2 in QThread::exec() (this=this@entry=0x7faa037a7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007faa03723f4b in QDBusConnectionManager::run() (this=0x7faa037a7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007faa02bb145c in QThreadPrivate::start(void*) (arg=0x7faa037a7d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007faa01aff609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007faa0282f293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa9fe9769c0 (LWP 16998)):
#0  0x00007faa02bb1980 in QMutex::lock() (this=this@entry=0x7fa9d40abea0) at /usr/include/c++/9/bits/atomic_base.h:769
#1  0x00007faa04336d0d in QMutexLocker::QMutexLocker(QBasicMutex*) (m=0x7fa9d40abea0, this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmutex.h:238
#2  QQmlTypeModule::type(QV4::String const*, int) const (this=0x7fa9d4092c30, name=name@entry=0x7fa9f38a75b0, minor=0) at qml/qqmltypemodule.cpp:155
#3  0x00007faa04338460 in QQmlTypeModuleVersion::type(QV4::String const*) const (this=this@entry=0x7fa9d4a4b158, name=name@entry=0x7fa9f38a75b0) at qml/qqmltypemoduleversion.cpp:92
#4  0x00007faa04359b8b in QQmlTypeNameCache::typeSearch<QV4::String const*>(QVector<QQmlTypeModuleVersion> const&, QV4::String const*) const (key=0x7fa9f38a75b0, modules=..., this=0x7fa9d4a3e6e0) at qml/qqmltypenamecache_p.h:148
#5  QQmlTypeNameCache::query(QV4::String const*, QQmlImportRef const*) const (this=0x7fa9d4a3e6e0, name=0x7fa9f38a75b0, importNamespace=0x7fa9d4a4b060) at qml/qqmltypenamecache.cpp:181
#6  0x00007faa0438d6c7 in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) (m=0x7fa9f38a75a0, id=..., receiver=0x7fa9f38a75a0, hasProperty=0x0) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#7  0x00007faa041a167c in QV4::Object::get(QV4::StringOrSymbol*, bool*, QV4::Value const*) const (receiver=0x7fa9f38a75a0, hasProperty=0x0, name=0x7fa9f38a75a8, this=0x7fa9f38a75a0) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:167
#8  QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (l=<optimized out>, engine=0x555e791bd2d0, object=...) at jsruntime/qv4lookup.cpp:201
#9  0x00007fa9c06fb744 in  ()
#10 0x0000000000000000 in  ()
Detaching from program: /usr/bin/plasmashell, process 16998
[Inferior 1 (process 16998) detached]
Comment 1 Méven Car 2021-10-26 11:53:42 UTC
Seems like a deadlock in Qml:

Thread 1 (Thread 0x7fa9fe9769c0 (LWP 16998)):
#0  0x00007faa02bb1980 in QMutex::lock() (this=this@entry=0x7fa9d40abea0) at /usr/include/c++/9/bits/atomic_base.h:769
#1  0x00007faa04336d0d in QMutexLocker::QMutexLocker(QBasicMutex*) (m=0x7fa9d40abea0, this=<synthetic pointer>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmutex.h:238
#2  QQmlTypeModule::type(QV4::String const*, int) const (this=0x7fa9d4092c30, name=name@entry=0x7fa9f38a75b0, minor=0) at qml/qqmltypemodule.cpp:155
#3  0x00007faa04338460 in QQmlTypeModuleVersion::type(QV4::String const*) const (this=this@entry=0x7fa9d4a4b158, name=name@entry=0x7fa9f38a75b0) at qml/qqmltypemoduleversion.cpp:92
#4  0x00007faa04359b8b in QQmlTypeNameCache::typeSearch<QV4::String const*>(QVector<QQmlTypeModuleVersion> const&, QV4::String const*) const (key=0x7fa9f38a75b0, modules=..., this=0x7fa9d4a3e6e0) at qml/qqmltypenamecache_p.h:148
#5  QQmlTypeNameCache::query(QV4::String const*, QQmlImportRef const*) const (this=0x7fa9d4a3e6e0, name=0x7fa9f38a75b0, importNamespace=0x7fa9d4a4b060) at qml/qqmltypenamecache.cpp:181
#6  0x00007faa0438d6c7 in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*, QV4::PropertyKey, QV4::Value const*, bool*) (m=0x7fa9f38a75a0, id=..., receiver=0x7fa9f38a75a0, hasProperty=0x0) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/common/qv4staticvalue_p.h:325
#7  0x00007faa041a167c in QV4::Object::get(QV4::StringOrSymbol*, bool*, QV4::Value const*) const (receiver=0x7fa9f38a75a0, hasProperty=0x0, name=0x7fa9f38a75a8, this=0x7fa9f38a75a0) at ../../include/QtQml/5.15.3/QtQml/private/../../../../../src/qml/jsruntime/qv4string_p.h:167
#8  QV4::Lookup::getterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) (l=<optimized out>, engine=0x555e791bd2d0, object=...) at jsruntime/qv4lookup.cpp:201
#9  0x00007fa9c06fb744 in  ()
#10 0x0000000000000000 in  ()
Detaching from program: /usr/bin/plasmashell, process 16998
[Inferior 1 (process 16998) detached]

I could not reproduce it with Kubuntu plasma master and Qt 5.12 (no KDE patch collection).
Comment 2 Nate Graham 2022-01-12 18:00:41 UTC
Indeed, and me neither.

Patrick, is this still happening with current git master?
Comment 3 Patrick Silva 2022-01-14 11:59:30 UTC
I'm unable to reproduce on neon unstable.