Bug 446531

Summary: Plasma crashed inMpris2Engine::serviceOwnerChanged() after closing all running apps with middle-click on their entries in task manager
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: DataEnginesAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: jacobbyrd, kde, mwaterbu, nate, plasma-bugs, qydwhotmail, rgeorgiev583, sitter, till2.schaefer
Priority: HI Keywords: drkonqi
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=410092
Latest Commit: Version Fixed In: 6.0
Sentry Crash Report:

Description Patrick Silva 2021-12-05 18:54:27 UTC
Application: plasmashell (5.23.80)

Qt Version: 5.15.3
Frameworks Version: 5.89.0
Operating System: Linux 5.11.0-40-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.23.80 [CoredumpBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I clsoed all running apps (Opera and Strawberry music player) with middle-click on their entries in task manager, Plasma crashed.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 14068]
[New LWP 14331]
[New LWP 19844]
[New LWP 14229]
[New LWP 14220]
[New LWP 14123]
[New LWP 14124]
[New LWP 14125]
[New LWP 14105]
[New LWP 14264]
[New LWP 14307]
[New LWP 27484]
[New LWP 14299]
[New LWP 27488]
[New LWP 27486]
[New LWP 27490]
[New LWP 27487]
[New LWP 27489]
[New LWP 19845]
[New LWP 15225]
[New LWP 14256]
[New LWP 14126]
[New LWP 27485]
[New LWP 27482]
[New LWP 27483]
[New LWP 27491]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasmashell'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7f2961a1a4c0 (LWP 14068))]
__preamble__

[Current thread is 1 (Thread 0x7f2961a1a4c0 (LWP 14068))]

Thread 26 (Thread 0x7f28b3fff700 (LWP 27491)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f776047ba0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776047ba0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776047ba0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776047ba0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776047ba0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f776047ba0) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f776047ba0) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 25 (Thread 0x7f28fa8b9700 (LWP 27483)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x55f7951b45f0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x55f7951b45f0, timeout=<optimized out>, context=0x55f7951b1ca0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=0x55f7951b1ca0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f6f3 in g_main_loop_run (loop=0x55f7951b1d90) at ../../../glib/gmain.c:4241
#4  0x00007f29224f5f8a in gdbus_shared_thread_func (user_data=0x55f7951a2090) at ../../../gio/gdbusprivate.c:279
#5  0x00007f2964188ad1 in g_thread_proxy (data=0x55f7951ab240) at ../../../glib/gthread.c:807
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 24 (Thread 0x7f293d9d3700 (LWP 27482)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x55f7951a4800, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55f7951a4800, timeout=<optimized out>, context=0x55f7951a46e0) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x55f7951a46e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x55f7951a46e0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f296415f4f1 in glib_worker_main (data=<optimized out>) at ../../../glib/gmain.c:5996
#5  0x00007f2964188ad1 in g_thread_proxy (data=0x7f29340022a0) at ../../../glib/gthread.c:807
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 23 (Thread 0x7f28cb753700 (LWP 27485)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f7760cc5b0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f7760cc5b0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f7760cc5b0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f7760cc5b0) at ./src/thread.cpp:86
#10 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7760cc5b0) at thread/qthread_unix.cpp:329
#11 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 22 (Thread 0x7f295997b700 (LWP 14126)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f7758a532c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7758a52d8, cond=0x55f7758a5300) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f7758a5300, mutex=0x55f7758a52d8) at pthread_cond_wait.c:647
#3  0x00007f295b34cb1b in cnd_wait (mtx=0x55f7758a52d8, cond=0x55f7758a5300) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55f7759fc980) at ../src/util/u_queue.c:294
#5  0x00007f295b34c71b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 21 (Thread 0x7f293eeb3700 (LWP 14256)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x7f2934012320, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f2934012320, timeout=<optimized out>, context=0x7f2934010330) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f2934010330, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x7f2934010330, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x7f293400f720, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7f293eeb2ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2965c4d2c2 in QThread::exec (this=this@entry=0x55f776191f20) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f29677fb3fa in QQuickPixmapReader::run (this=0x55f776191f20) at util/qquickpixmapcache.cpp:1024
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f776191f20) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 20 (Thread 0x7f293e1d4700 (LWP 15225)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c2dc614) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c2dc5c0, cond=0x55f77c2dc5e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c2dc5e8, mutex=0x55f77c2dc5c0) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c2dc5c0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55f77bb6d188, mutex=mutex@entry=0x55f77bb6d180, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f29678c0c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55f77bb6d178) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55f77bb6d0e0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f29678c1099 in QSGRenderThread::run (this=0x55f77bb6d0e0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f77bb6d0e0) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 19 (Thread 0x7f293c9d1700 (LWP 19845)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f2928000e54) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f2928000e00, cond=0x7f2928000e28) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f2928000e28, mutex=0x7f2928000e00) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x7f2928000e00) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55f7863e6228, mutex=mutex@entry=0x55f7863e6220, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f29678c0c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55f7863e6218) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55f7863e6180) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f29678c1099 in QSGRenderThread::run (this=0x55f7863e6180) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7863e6180) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 18 (Thread 0x7f28c974f700 (LWP 27489)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f776046e00, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776046e00, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776046e00, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776046e00, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776046e00, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f776046e00) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f776046e00) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 17 (Thread 0x7f28ca751700 (LWP 27487)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x7f28bc003da0, threadWasBusy=threadWasBusy@entry=true, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x7f28bc003da0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f28bc003da0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x7f28bc003da0) at ./src/thread.cpp:86
#10 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x7f28bc003da0) at thread/qthread_unix.cpp:329
#11 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7f28c8f4e700 (LWP 27490)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f7760474c0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f7760474c0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f7760474c0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f7760474c0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f7760474c0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f7760474c0) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7760474c0) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7f28caf52700 (LWP 27486)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x7f28c40039a0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x7f28c40039a0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f28c40039a0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x7f28c40039a0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x7f28c40039a0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x7f28c40039a0) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x7f28c40039a0) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7f28c9f50700 (LWP 27488)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f776046810, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776046810, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776046810, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f776046810, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f776046810, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f776046810) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f776046810) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7f2917fff700 (LWP 14299)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x7f2910006320, nfds=1, timeout=3499901) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f2910006320, timeout=<optimized out>, context=0x7f2910000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f2910000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x7f2910000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x7f2910000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7f2917ffeba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2965c4d2c2 in QThread::exec (this=this@entry=0x55f778eca050) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f292089007c in KCupsConnection::run (this=0x55f778eca050) at ./libkcups/KCupsConnection.cpp:289
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f778eca050) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f28cbf54700 (LWP 27484)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77c868654) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77c868600, cond=0x55f77c868628) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77c868628, mutex=0x55f77c868600) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77c868600) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=<optimized out>, mutex=0x55f792962380, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f2921d88bac in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=this@entry=0x55f77905a630, th=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f2921d89930 in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x55f77905a630, th=<optimized out>, th@entry=0x55f7760309a0, threadWasBusy=threadWasBusy@entry=false, suspendIfInactive=suspendIfInactive@entry=false, justReturning=justReturning@entry=false) at ./src/weaver.cpp:561
#7  0x00007f2921d8adce in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f7760309a0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:43
#8  0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f7760309a0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#9  0x00007f2921d8ae29 in ThreadWeaver::WorkingHardState::applyForWork (this=0x55f790f42a40, th=0x55f7760309a0, wasBusy=<optimized out>) at ./src/workinghardstate.cpp:49
#10 0x00007f2921d88af2 in ThreadWeaver::Weaver::applyForWork (this=<optimized out>, th=0x55f7760309a0, wasBusy=<optimized out>) at ./src/weaver.cpp:575
#11 0x00007f2921d87bd3 in ThreadWeaver::Thread::run (this=0x55f7760309a0) at ./src/thread.cpp:86
#12 0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7760309a0) at thread/qthread_unix.cpp:329
#13 0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#14 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f2916f6a700 (LWP 14307)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f77cf63980) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f77cf63930, cond=0x55f77cf63958) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f77cf63958, mutex=0x55f77cf63930) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f77cf63930) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55f77cf63898, mutex=mutex@entry=0x55f77cf63890, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f29678c0c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55f77cf63888) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55f77cf637f0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f29678c1099 in QSGRenderThread::run (this=0x55f77cf637f0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f77cf637f0) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f2923fff700 (LWP 14264)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f776945744) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7769456f0, cond=0x55f776945718) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f776945718, mutex=0x55f7769456f0) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f7769456f0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55f779238658, mutex=mutex@entry=0x55f779238650, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f29678c0c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55f779238648) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55f7792385b0) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f29678c1099 in QSGRenderThread::run (this=0x55f7792385b0) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7792385b0) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f2960e32700 (LWP 14105)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x7f295c005240, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7f295c005240, timeout=<optimized out>, context=0x7f295c000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f295c000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x7f295c000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x7f295c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7f2960e31bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2965c4d2c2 in QThread::exec (this=this@entry=0x7f2966846d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f29667c2f4b in QDBusConnectionManager::run (this=0x7f2966846d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x7f2966846d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f295a17c700 (LWP 14125)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f7758a5328) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7758a52d8, cond=0x55f7758a5300) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f7758a5300, mutex=0x55f7758a52d8) at pthread_cond_wait.c:647
#3  0x00007f295b34cb1b in cnd_wait (mtx=0x55f7758a52d8, cond=0x55f7758a5300) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55f7759fc940) at ../src/util/u_queue.c:294
#5  0x00007f295b34c71b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f295a97d700 (LWP 14124)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f7758a5328) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7758a52d8, cond=0x55f7758a5300) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f7758a5300, mutex=0x55f7758a52d8) at pthread_cond_wait.c:647
#3  0x00007f295b34cb1b in cnd_wait (mtx=0x55f7758a52d8, cond=0x55f7758a5300) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55f7758c9f30) at ../src/util/u_queue.c:294
#5  0x00007f295b34c71b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f295b17e700 (LWP 14123)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f7758a532c) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7758a52d8, cond=0x55f7758a5300) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f7758a5300, mutex=0x55f7758a52d8) at pthread_cond_wait.c:647
#3  0x00007f295b34cb1b in cnd_wait (mtx=0x55f7758a52d8, cond=0x55f7758a5300) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55f7758c9e10) at ../src/util/u_queue.c:294
#5  0x00007f295b34c71b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f2956bf9700 (LWP 14220)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x7f2944004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f2944004e60, timeout=<optimized out>, context=0x7f2944000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f2944000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x7f2944000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x7f2944000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7f2956bf8bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2965c4d2c2 in QThread::exec (this=this@entry=0x55f775e168d0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2967461549 in QQmlThreadPrivate::run (this=0x55f775e168d0) at qml/ftw/qqmlthread.cpp:155
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f775e168d0) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f2955dfb700 (LWP 14229)):
#0  0x00007f29658c1aff in __GI___poll (fds=0x7f2938004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f296415f36e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f2938004a60, timeout=<optimized out>, context=0x7f2938000c20) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f2938000c20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f296415f4a3 in g_main_context_iteration (context=0x7f2938000c20, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x7f2938000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7f2955dfabe0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f2965c4d2c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f7760163c0) at thread/qthread_unix.cpp:329
#8  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f28fb4b9700 (LWP 19844)):
#0  0x00007f2922321538 in pa_fdsem_before_poll (f=0x7f2928003600) at ./pulsecore/atomic.h:102
#1  0x00007f2922339387 in srbchannel_rwloop (sr=0x7f2928003550) at pulsecore/srbchannel.c:203
#2  0x00007f29225deba3 in dispatch_pollfds (m=0x55f7834f32e0) at pulse/mainloop.c:140
#3  pa_mainloop_dispatch (m=m@entry=0x55f7834f32e0) at pulse/mainloop.c:898
#4  0x00007f29225deed2 in pa_mainloop_iterate (m=0x55f7834f32e0, block=<optimized out>, retval=0x0) at pulse/mainloop.c:929
#5  0x00007f29225def70 in pa_mainloop_run (m=0x55f7834f32e0, retval=retval@entry=0x0) at pulse/mainloop.c:945
#6  0x00007f29225ed11d in thread (userdata=0x55f779060870) at pulse/thread-mainloop.c:101
#7  0x00007f292234872c in internal_thread_func (userdata=0x55f783295350) at pulsecore/thread-posix.c:81
#8  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2915a79700 (LWP 14331)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55f7806fb034) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f7806fafe0, cond=0x55f7806fb008) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55f7806fb008, mutex=0x55f7806fafe0) at pthread_cond_wait.c:647
#3  0x00007f2965c545cb in QWaitConditionPrivate::wait (deadline=..., this=0x55f7806fafe0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55f779282128, mutex=mutex@entry=0x55f779282120, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f29678c0c24 in QSGRenderThreadEventQueue::takeEvent (wait=true, this=0x55f779282118) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore (this=this@entry=0x55f779282080) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007f29678c1099 in QSGRenderThread::run (this=0x55f779282080) at scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007f2965c4e45c in QThreadPrivate::start (arg=0x55f779282080) at thread/qthread_unix.cpp:329
#9  0x00007f2965732609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f29658ce293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2961a1a4c0 (LWP 14068)):
[KCrash Handler]
#3  QHashData::nextNode (node=0x55f790f42e10) at tools/qhash.cpp:591
#4  0x00007f2967f4315a in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#5  0x00007f2967f40237 in Plasma::DataEngine::removeSource(QString const&) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#6  0x00007f29226d5f1f in Mpris2Engine::serviceOwnerChanged (newOwner=..., oldOwner=..., serviceName=..., this=0x55f778e84b30) at ./dataengines/mpris2/mpris2engine.cpp:71
#7  Mpris2Engine::serviceOwnerChanged (this=0x55f778e84b30, serviceName=..., oldOwner=..., newOwner=...) at ./dataengines/mpris2/mpris2engine.cpp:59
#8  0x00007f2965e6bdce in QtPrivate::QSlotObjectBase::call (a=0x7fff2676fbd0, r=0x55f778e84b30, this=0x55f778e89d00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false> (sender=0x55f778e7f760, signal_index=5, argv=0x7fff2676fbd0) at kernel/qobject.cpp:3886
#10 0x00007f2965e65197 in QMetaObject::activate (sender=sender@entry=0x55f778e7f760, m=m@entry=0x7f29668456c0 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff2676fbd0) at kernel/qobject.cpp:3946
#11 0x00007f2966827ea3 in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x55f778e7f760, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#12 0x00007f2966827f53 in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (this=<optimized out>, service=..., oldOwner=..., newOwner=...) at qdbusservicewatcher.cpp:76
#13 0x00007f296682869d in QDBusServiceWatcher::qt_static_metacall (_o=_o@entry=0x55f778e7f760, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7fff2676fd80) at qdbusservicewatcher.h:91
#14 0x00007f2966828a73 in QDBusServiceWatcher::qt_metacall (this=0x55f778e7f760, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff2676fd80) at .moc/moc_qdbusservicewatcher.cpp:197
#15 0x00007f29667cf55b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:1001
#16 0x00007f2965e62949 in QObject::event (this=0x55f778e7f760, e=0x7f295c09f890) at kernel/qobject.cpp:1314
#17 0x00007f2966b47dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55f7758628a0, receiver=receiver@entry=0x55f778e7f760, e=e@entry=0x7f295c09f890) at kernel/qapplication.cpp:3632
#18 0x00007f2966b50bb8 in QApplication::notify (this=0x7fff267704a0, receiver=0x55f778e7f760, e=0x7f295c09f890) at kernel/qapplication.cpp:3156
#19 0x00007f2965e34daa in QCoreApplication::notifyInternal2 (receiver=0x55f778e7f760, event=0x7f295c09f890) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#20 0x00007f2965e376b1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55f77583bef0) at kernel/qcoreapplication.cpp:1821
#21 0x00007f2965e8ffa7 in postEventSourceDispatch (s=0x55f77587b990) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f296415f17d in g_main_dispatch (context=0x55f77587fd50) at ../../../glib/gmain.c:3309
#23 g_main_context_dispatch (context=context@entry=0x55f77587fd50) at ../../../glib/gmain.c:3974
#24 0x00007f296415f400 in g_main_context_iterate (context=context@entry=0x55f77587fd50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#25 0x00007f296415f4a3 in g_main_context_iteration (context=0x55f77587fd50, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#26 0x00007f2965e8f602 in QEventDispatcherGlib::processEvents (this=0x55f77587b8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f2965e338ab in QEventLoop::exec (this=this@entry=0x7fff26770380, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#28 0x00007f2965e3ba64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x000055f77547fdd5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238

Possible duplicates by query: bug 445876, bug 445653, bug 445646, bug 445479, bug 445464.

Reported using DrKonqi
Comment 1 Fushan Wen 2022-01-12 17:50:22 UTC
It seems the crash is not related to m_multiplexer. Investigating...
Comment 2 Fushan Wen 2022-01-13 14:57:25 UTC
It's possible that `QDBusServiceWatcher::serviceOwnerChanged` is emitted before `Mpris2Engine::initialFetchFinished`, so the same source is added twice.
Comment 3 Bug Janitor Service 2022-01-13 17:22:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1358
Comment 4 Matt Whitlock 2022-03-05 22:20:54 UTC
I think I experienced the same issue on Plasma Frameworks 5.91.0, Plasma Workspace 5.24.2…

Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QHashData::nextNode (node=node@entry=0x55e5ee669d10) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/tools/qhash.cpp:591
#7  0x00007f96f4bf8e49 in QHash<QString, Plasma::DataContainer*>::iterator::operator++ (this=<synthetic pointer>) at /usr/include/qt5/QtCore/qhash.h:351
#8  QHash<QString, Plasma::DataContainer*>::erase (this=0x7f96b4098db8, it=it@entry=...) at /usr/include/qt5/QtCore/qhash.h:879
#9  0x00007f96f4bf82af in QHash<QString, Plasma::DataContainer*>::erase (it=..., this=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:409
#10 Plasma::DataEngine::removeSource (this=this@entry=0x55e5ec114dd0, source=...) at ../plasma-framework-5.91.0/src/plasma/dataengine.cpp:295
#11 0x00007f96b1087a3f in Mpris2Engine::serviceOwnerChanged (this=0x55e5ec114dd0, serviceName=..., oldOwner=..., newOwner=...) at ../plasma-workspace-5.24.2/dataengines/mpris2/mpris2engine.cpp:71
#12 0x00007f96b10896eb in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<QString const&, QString const&, QString const&>, void, void (Mpris2Engine::*)(QString const&, QString const&, QString const&)>::call (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#13 QtPrivate::FunctionPointer<void (Mpris2Engine::*)(QString const&, QString const&, QString const&)>::call<QtPrivate::List<QString const&, QString const&, QString const&>, void> (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#14 QtPrivate::QSlotObject<void (Mpris2Engine::*)(QString const&, QString const&, QString const&), QtPrivate::List<QString const&, QString const&, QString const&>, void>::impl (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#15 0x00007f96f2afe805 in QtPrivate::QSlotObjectBase::call (a=0x7ffe00d38570, r=0x55e5ec114dd0, this=0x55e5ecc31d60) at ../../include/QtCore/../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x55e5ec420890, signal_index=5, argv=0x7ffe00d38570) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qobject.cpp:3886
#17 0x00007f96f2af81af in QMetaObject::activate (sender=sender@entry=0x55e5ec420890, m=m@entry=0x7f96f34ba6a0 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe00d38570) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qobject.cpp:3946
#18 0x00007f96f349c1b8 in QDBusServiceWatcher::serviceOwnerChanged (this=this@entry=0x55e5ec420890, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#19 0x00007f96f349cb1a in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (newOwner=..., oldOwner=..., service=..., this=<optimized out>) at ../../../qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/dbus/qdbusservicewatcher.cpp:76
#20 QDBusServiceWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbusservicewatcher.cpp:116
#21 0x00007f96f349cfab in QDBusServiceWatcher::qt_metacall (this=0x55e5ec420890, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffe00d386d0) at .moc/moc_qdbusservicewatcher.cpp:197
#22 0x00007f96f3445a0a in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../../qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/tools/qvarlengtharray.h:190
#23 0x00007f96f2af4f0e in QObject::event (this=0x55e5ec420890, e=0x7f96e0147820) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qobject.cpp:1314
#24 0x00007f96f3807edf in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55e5ec420890, e=0x7f96e0147820) at ../../../qtbase-c9fde86b0a2440133bc08f4811b6ca793be47f0a/src/widgets/kernel/qapplication.cpp:3632
#25 0x00007f96f2aca60a in QCoreApplication::notifyInternal2 (receiver=0x55e5ec420890, event=0x7f96e0147820) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qcoreapplication.cpp:1064
#26 0x00007f96f2acd373 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55e5ebc97e20) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qcoreapplication.cpp:1821
#27 0x00007f96f2b1ee43 in postEventSourceDispatch (s=0x55e5ebd6cf20) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#28 0x00007f96f0f5f4cc in g_main_dispatch (context=0x7f96e8005000) at ../glib-2.70.4/glib/gmain.c:3381
#29 g_main_context_dispatch (context=0x7f96e8005000) at ../glib-2.70.4/glib/gmain.c:4099
#30 0x00007f96f0f5f738 in g_main_context_iterate (context=context@entry=0x7f96e8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.70.4/glib/gmain.c:4175
#31 0x00007f96f0f5f7df in g_main_context_iteration (context=0x7f96e8005000, may_block=1) at ../glib-2.70.4/glib/gmain.c:4240
#32 0x00007f96f2b1e508 in QEventDispatcherGlib::processEvents (this=0x55e5ebd72eb0, flags=...) at ../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f96f2ac917b in QEventLoop::exec (this=this@entry=0x7ffe00d38ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/global/qflags.h:69
#34 0x00007f96f2ad0dcc in QCoreApplication::exec () at ../../include/QtCore/../../../qtbase-f4ac0b55c37f2b594ffbe639db43dac365825c7c/src/corelib/global/qflags.h:121
#35 0x00007f96f2ed6f2c in QGuiApplication::exec () at ../../../qtbase-38ad2f39daec09168728033969265834b6a2d924/src/gui/kernel/qguiapplication.cpp:1867
#36 0x00007f96f3807e55 in QApplication::exec () at ../../../qtbase-c9fde86b0a2440133bc08f4811b6ca793be47f0a/src/widgets/kernel/qapplication.cpp:2824
#37 0x000055e5e9fa1a68 in main (argc=<optimized out>, argv=<optimized out>) at ../plasma-workspace-5.24.2/shell/main.cpp:238
[Inferior 1 (process 30402) detached]
Comment 5 Nate Graham 2022-10-14 19:14:48 UTC
*** Bug 460392 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2023-01-03 10:46:26 UTC
*** Bug 463122 has been marked as a duplicate of this bug. ***
Comment 7 David Edmundson 2023-04-30 19:35:04 UTC
*** Bug 469199 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2023-05-15 19:57:34 UTC
*** Bug 469495 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas Fella 2023-06-13 17:51:21 UTC
*** Bug 470955 has been marked as a duplicate of this bug. ***
Comment 10 Harald Sitter 2023-06-30 13:22:15 UTC
I suspect this broke as part of https://invent.kde.org/frameworks/plasma-framework/-/commit/5984d4960fa5ecf60a20b1fbc782fb841faa4af7 because the emit is potentially triggering blocking call chains (through qobject connects) into other parts of the dataengine that may mutate d->sources such that the iterator is no longer valid once erase() runs. At least that's the only explanation I have for the backtrace. The trace only really happens if the iterator is invalid (e.g. if you erase(end()++) you'd get that trace).

That being said, I don't see where that call chain happens nor can I reproduce the crash. A blind fix would be to move the emits out of iteration scopes. This way we preserve the notify-before-removal behavior while also ensuring that iterators cannot go invalid mid-flight.
Comment 11 Bug Janitor Service 2023-06-30 13:37:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/816
Comment 12 Bug Janitor Service 2023-07-03 12:19:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma5support/-/merge_requests/9
Comment 13 Harald Sitter 2023-07-04 13:19:12 UTC
Git commit 2d932664829348775eb0bda9cfefe66c0dd6c85e by Harald Sitter.
Committed on 04/07/2023 at 12:36.
Pushed by sitter into branch 'kf5'.

dataengine: do not emit removal signals while iterators are open

this likely caused connect-based call chains into client code that would
then mutate the underlying container such that the iterator goes invalid
mid-removal resulting in a crash.

to solve this simply emit the signals all in one go initially, before
iterating the sources for removal

M  +12   -3    src/plasma/dataengine.cpp

https://invent.kde.org/frameworks/plasma-framework/-/commit/2d932664829348775eb0bda9cfefe66c0dd6c85e
Comment 14 Harald Sitter 2023-07-04 13:19:15 UTC
Git commit d9c52371f487a4fd53f9d0b18760d0b902500695 by Harald Sitter.
Committed on 04/07/2023 at 12:36.
Pushed by sitter into branch 'master'.

dataengine: do not emit removal signals while iterators are open

this likely caused connect-based call chains into client code that would
then mutate the underlying container such that the iterator goes invalid
mid-removal resulting in a crash.

to solve this simply emit the signals all in one go initially, before
iterating the sources for removal

M  +12   -3    src/plasma5support/dataengine.cpp

https://invent.kde.org/plasma/plasma5support/-/commit/d9c52371f487a4fd53f9d0b18760d0b902500695
Comment 15 Fushan Wen 2023-11-11 00:23:34 UTC
Git commit 84b65b26338d7fbff15ccda23fda336a07ba915e by Fushan Wen.
Committed on 11/11/2023 at 01:11.
Pushed by fusionfuture into branch 'master'.

libkmpris: record source names of pending players

When a player container hasn't finished its initialization, it may
already disappear on DBus, so onServiceOwnerChanged will call
`removeMediaPlayer` prematurely. This adds several checks to guard the
situation.
FIXED-IN: 6.0

M  +22   -7    libkmpris/mpris2sourcemodel.cpp
M  +3    -2    libkmpris/mpris2sourcemodel.h
M  +20   -4    libkmpris/multiplexer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/84b65b26338d7fbff15ccda23fda336a07ba915e