Bug 477144 - kded6 crashed in Mpris2SourceModel::removeMediaPlayer() and then some system tray icons stopped appearing
Summary: kded6 crashed in Mpris2SourceModel::removeMediaPlayer() and then some system ...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 477609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-17 15:22 UTC by Patrick Silva
Modified: 2024-03-02 02:27 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-11-17 15:22:17 UTC
SUMMARY
kded6 crashed after interacting with Media Player applet and then closing some apps with middle-click in the task manager. After this crash, the system tray icon of Discord and Strawberry music player stopped appearing.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland


Thread 9 (Thread 0x7f797928d6c0 (LWP 1093)):
#0  0x00007f798d920f6f in __GI___poll (fds=0x7f7958000b90, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f798d6ea276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=3, fds=0x7f7958000b90, timeout=<optimized out>, context=0x7f795400b060) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=0x7f795400b060, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007f798d68cb97 in g_main_loop_run (loop=0x7f795400b190) at ../glib/glib/gmain.c:4551
#4  0x00007f798341e14c in gdbus_shared_thread_func (user_data=0x7f795400b030) at ../glib/gio/gdbusprivate.c:284
#5  0x00007f798d6bd9f5 in g_thread_proxy (data=0x56134f31b820) at ../glib/glib/gthread.c:831
#6  0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7f7979a8e6c0 (LWP 1092)):
#0  0x00007f798d920f6f in __GI___poll (fds=0x7f7954000b90, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f798d6ea276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x7f7954000b90, timeout=<optimized out>, context=0x56134f318ba0) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x56134f318ba0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007f798d68a162 in g_main_context_iteration (context=context@entry=0x56134f318ba0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#4  0x00007f7979d6cfde in dconf_gdbus_worker_thread (user_data=0x56134f318ba0) at ../dconf/gdbus/dconf-gdbus-thread.c:82
#5  0x00007f798d6bd9f5 in g_thread_proxy (data=0x56134f318d20) at ../glib/glib/gthread.c:831
#6  0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7f7981b226c0 (LWP 1063)):
#0  0x00007f798d8a74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x56134f05cdf0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56134f05cdf0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f798d8a752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56134f05cdf0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f798d8a9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56134f05cda0, cond=0x56134f05cdc8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56134f05cdc8, mutex=0x56134f05cda0) at pthread_cond_wait.c:618
#5  0x00007f7979ed1b5c in cnd_wait () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.2.1/src/util/u_queue.c:290
#7  0x00007f7979f1ca0c in impl_thrd_routine() () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f798a50b6c0 (LWP 1053)):
#0  0x00007f798d920f6f in __GI___poll (fds=0x56134f02b650, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f798d6ea276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x56134f02b650, timeout=<optimized out>, context=0x7f7984000c80) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f7984000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007f798d68a162 in g_main_context_iteration (context=0x7f7984000c80, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007f798e19795a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f7984000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#5  0x00007f798df6cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7f798a50ab70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f798a50ab70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#7  0x00007f798e049d6f in QThread::exec() (this=this@entry=0x7f798eec0b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#8  0x00007f798ee397ff in QDBusConnectionManager::run() (this=0x7f798eec0b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/dbus/qdbusconnection.cpp:131
#9  0x00007f798e0c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x7f798eec0b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f798301a6c0 (LWP 1059)):
#0  0x00007f798d8a74ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x56134f0a6bc4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x56134f0a6bc4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f798d8a752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x56134f0a6bc4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f798d8a9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x56134f0a6b70, cond=0x56134f0a6b98) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x56134f0a6b98, mutex=0x56134f0a6b70) at pthread_cond_wait.c:618
#5  0x00007f798e0cc950 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x56134f0a6b70) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:103
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x56134f09bb60, mutex=mutex@entry=0x56134f09bb58, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#7  0x00007f798a57e828 in QtWaylandClient::EventThread::waitForReading() (this=0x56134f09bb20) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:218
#8  QtWaylandClient::EventThread::run() (this=0x56134f09bb20) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:179
#9  0x00007f798e0c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x56134f09bb20) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f79813216c0 (LWP 1090)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f798d6e52b7 in g_cond_wait (cond=0x56134f313e18, mutex=0x56134f313e10) at ../glib/glib/gthread-posix.c:1552
#2  0x00007f798d6571b4 in g_async_queue_pop_intern_unlocked (queue=0x56134f313e10, wait=1, end_time=-1) at ../glib/glib/gasyncqueue.c:425
#3  0x00007f798d6bfa7e in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/glib/gthreadpool.c:311
#4  0x00007f798d6bd9f5 in g_thread_proxy (data=0x56134f313e60) at ../glib/glib/gthread.c:831
#5  0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f798d349500 (LWP 1050)):
#0  0x00007f798d920f6f in __GI___poll (fds=fds@entry=0x7ffdb6f9be98, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f798f774e32 in poll (__timeout=1000, __nfds=1, __fds=0x7ffdb6f9be98) at /usr/include/bits/poll2.h:39
#2  pollDrKonqiSocket (sockfd=3, pid=<optimized out>) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:844
#3  KCrash::startProcess(int, char const**, bool) (argv=argv@entry=0x7ffdb6f9bfd8, waitAndExit=waitAndExit@entry=true, argc=<optimized out>) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:706
#4  0x00007f798f7758f0 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:602
#5  0x00007f798d85c710 in <signal handler called> () at /usr/lib/libc.so.6
#6  0x00007f798dfb1054 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) (sender=sender@entry=0x56134f4030f0, signal=signal@entry=0x0, receiver=receiver@entry=0x56134f488140, method=method@entry=0x0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:3197
#7  0x00007f79781de879 in Mpris2SourceModel::removeMediaPlayer(QString const&) (sourceName=..., this=0x56134f488140) at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.80/libkmpris/mpris2sourcemodel.cpp:401
#8  Mpris2SourceModel::onServiceOwnerChanged(QString const&, QString const&, QString const&) (this=0x56134f488140, serviceName=..., oldOwner=<optimized out>, newOwner=...) at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.80/libkmpris/mpris2sourcemodel.cpp:210
#9  0x00007f798dfb9a59 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdb6f9d100, r=0x56134f488140, this=0x56134f63b1c0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobjectdefs_impl.h:433
#10 doActivate<false>(QObject*, int, void**) (sender=0x56134f489c80, signal_index=5, argv=0x7ffdb6f9d100) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:4021
#11 0x00007f798ee859a6 in QDBusServiceWatcher::serviceOwnerChanged(QString const&, QString const&, QString const&) (_t3=..., _t2=<optimized out>, _t1=<optimized out>, this=0x56134f489c80) at /usr/src/debug/qt6-base/build/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:318
#12 QDBusServiceWatcherPrivate::_q_serviceOwnerChanged(QString const&, QString const&, QString const&) (this=<optimized out>, newOwner=..., oldOwner=<optimized out>, service=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/dbus/qdbusservicewatcher.cpp:53
#13 QDBusServiceWatcher::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x56134f489c80, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7ffdb6f9d2b8) at /usr/src/debug/qt6-base/build/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:209
#14 0x00007f798ee85b70 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) (this=0x56134f489c80, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffdb6f9d2b8) at /usr/src/debug/qt6-base/build/src/dbus/DBus_autogen/include/moc_qdbusservicewatcher.cpp:285
#15 0x00007f798ee48e4e in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<QMetaType> const&, int) (this=0x7f79840016a0, object=0x56134f489c80, msg=..., metaTypes=<optimized out>, slotIdx=8) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/dbus/qdbusintegrator.cpp:967
#16 0x00007f798dfa5077 in QObject::event(QEvent*) (this=0x56134f489c80, e=0x7f798402ad30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:1437
#17 0x00007f798f17318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x56134f489c80, e=0x7f798402ad30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290
#18 0x00007f798df626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x56134f489c80, event=event@entry=0x7f798402ad30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#19 0x00007f798df62a5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7f798402ad30, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536
#20 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x56134f016b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1898
#21 0x00007f798e199d24 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1757
#22 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x56134f0edda0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#23 0x00007f798d68bf69 in g_main_dispatch (context=0x7f7984000ef0) at ../glib/glib/gmain.c:3476
#24 0x00007f798d6ea327 in g_main_context_dispatch_unlocked (context=0x7f7984000ef0) at ../glib/glib/gmain.c:4284
#25 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f7984000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#26 0x00007f798d68a162 in g_main_context_iteration (context=0x7f7984000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#27 0x00007f798e197934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x56134f019cf0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#28 0x00007f798df6cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffdb6f9d900) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#29 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdb6f9d900, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#30 0x00007f798df65178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#31 0x00007f798f16fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569
#32 0x000056134e8c2b84 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kded/kded-5.245.0/src/kded.cpp:674
Warning: the current language does not match this frame.

Thread 2 (Thread 0x7f79828196c0 (LWP 1060)):
#0  0x00007f798d920f6f in __GI___poll (fds=fds@entry=0x7f7982818bb0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f798a57e8a8 in poll (__timeout=-1, __nfds=2, __fds=0x7f7982818bb0) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run() (this=0x56134f080120) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:184
#3  0x00007f798e0c97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#5  QThreadPrivate::start(void*) (arg=0x56134f080120) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f7980a926c0 (LWP 1091)):
#0  g_log_structured_array (log_level=log_level@entry=G_LOG_LEVEL_ERROR, fields=fields@entry=0x7f7980a90810, n_fields=4) at ../glib/glib/gmessages.c:556
#1  0x00007f798d6935a3 in g_log_default_handler (log_domain=log_domain@entry=0x7f798346b16b "GLib-GIO", log_level=log_level@entry=6, message=message@entry=0x7f7960001880 "inotify read(): Bad file descriptor", unused_data=unused_data@entry=0x0) at ../glib/glib/gmessages.c:3284
#2  0x00007f798d694455 in g_logv (log_domain=0x7f798346b16b "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7f7980a90960) at ../glib/glib/gmessages.c:1392
#3  0x00007f798d694724 in g_log (log_domain=log_domain@entry=0x7f798346b16b "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7f79834776d2 "inotify read(): %s") at ../glib/glib/gmessages.c:1461
#4  0x00007f79834490d9 in ik_source_read_some_events (iks=iks@entry=0x56134f6c43b0, buffer=buffer@entry=0x7f7980a90ab0 "\002", buffer_len=buffer_len@entry=4096) at ../glib/gio/inotify/inotify-kernel.c:160
#5  0x00007f798344918d in ik_source_read_all_the_events (buffer_len=4096, length_out=<synthetic pointer>, buffer=0x7f7980a90ab0 "\002", iks=0x56134f6c43b0) at ../glib/gio/inotify/inotify-kernel.c:176
#6  ik_source_dispatch (source=0x56134f6c43b0, func=0x7f798344a380 <ip_event_callback>, user_data=<optimized out>) at ../glib/gio/inotify/inotify-kernel.c:253
#7  0x00007f798d68bf69 in g_main_dispatch (context=0x56134f313fe0) at ../glib/glib/gmain.c:3476
#8  0x00007f798d6ea327 in g_main_context_dispatch_unlocked (context=0x56134f313fe0) at ../glib/glib/gmain.c:4284
#9  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x56134f313fe0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#10 0x00007f798d68a162 in g_main_context_iteration (context=0x56134f313fe0, may_block=may_block@entry=1) at ../glib/glib/gmain.c:4414
#11 0x00007f798d68a1b2 in glib_worker_main (data=<optimized out>) at ../glib/glib/gmain.c:6574
#12 0x00007f798d6bd9f5 in g_thread_proxy (data=0x56134f314210) at ../glib/glib/gthread.c:831
#13 0x00007f798d8aa9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#14 0x00007f798d92e7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Comment 1 Bug Janitor Service 2023-11-18 01:49:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3551
Comment 2 Fushan Wen 2023-11-20 00:17:12 UTC
Git commit edc80b9bec442a66b1bcefb4f1dd3b98413ad19b by Fushan Wen.
Committed on 20/11/2023 at 01:03.
Pushed by fusionfuture into branch 'master'.

appiumtests/mediacontrollertest: test invalid player

Do not crash when a player is invalid or its DBus interface returns any errors on initialization

M  +17   -3    appiumtests/mediacontrollertest.py
M  +64   -9    appiumtests/utils/mediaplayer.py
M  +2    -1    libkmpris/mpris2sourcemodel.cpp
M  +2    -2    libkmpris/playercontainer.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/edc80b9bec442a66b1bcefb4f1dd3b98413ad19b
Comment 3 Fushan Wen 2023-11-27 14:10:35 UTC
*** Bug 477609 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-03-01 20:33:23 UTC
*** Bug 481992 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-03-01 20:33:45 UTC
Re-opening as we just got a new duplicate report from a user on Plasma 6.
Comment 6 Fushan Wen 2024-03-02 02:27:40 UTC
Moved to 481992