https://bugs.kde.org/show_bug.cgi?id=528739
Bug ID: 528739
Summary: plasmashell segfaults in
MultiplexerModel::updateActivePlayer when an MPRIS
player unregisters
Classification: Plasma
Product: plasmashell
Version First 6.8.2
Reported In:
Platform: EndeavourOS
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: generic-crash
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 198393
--> https://bugs.kde.org/attachment.cgi?id=198393&action=edit
coredumpctl info plasmashell > coredump-plasmashell.txt journalctl --user -u
plasma-plasmashell.service -b -n 300 --no-pager > plasmashell-journal.txt
STEPS TO REPRODUCE
1. In Cantata, enable Settings → Interface → External → “Enable MPRIS D-Bus
interface”.
2. Start Cantata. It exposes an MPRIS service on the session D-Bus.
3. Close Cantata.
4. plasmashell crashes with SIGSEGV and is automatically restarted by systemd.
OBSERVED RESULT
plasmashell terminates with signal 11 (SIGSEGV). The Plasma shell disappears
briefly and is then restarted.
EXPECTED RESULT
Closing an MPRIS client should not crash plasmashell. Plasma should safely
remove the player from its MPRIS model.
SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: [paste output of: plasmashell --version]
KDE Frameworks Version: [paste output of: kf6-config --version]
Qt Version: [paste output of: qmake6 --version]
Kernel Version: [paste output of: uname -r]
Graphics Platform: [Wayland or X11]
Cantata version: [paste output of: pacman -Qi cantata | grep Version]
ADDITIONAL INFORMATION
Cantata is an MPD client. The crash occurs when Cantata closes and its MPRIS
D-Bus service unregisters.
The crash also occurs with the Plasma Media Controller applet disabled and with
third-party MPRIS widgets such as Plasmusic Toolbar removed from the panel.
Therefore, it appears to be in plasmashell/libkmpris rather than in a
particular applet.
Disabling “Enable MPRIS D-Bus interface” in Cantata prevents the crash.
Relevant journal entries:
plasmashell: Player ready changed false - plasmoid status changed 6
kernel: plasmashell segfault at 0 ... in libQt6Qml.so.6.12.0
systemd-coredump: Process plasmashell terminated abnormally with signal 11
(SIGSEGV)
systemd: plasma-plasmashell.service: Main process exited, code=dumped,
status=11/SEGV
systemd: plasma-plasmashell.service: Failed with result 'core-dump'.
systemd: plasma-plasmashell.service: Scheduled restart job.
Relevant backtrace:
#41 QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int)
libQt6Core.so.6
#45 MultiplexerModel::updateActivePlayer()
libkmpris.so.6
#47 QObject::~QObject()
libQt6Core.so.6
#48 libkmpris.so.6
#50 libQt6DBus.so.6
#51 QDBusServiceWatcher::qt_metacall(...)
#53 QObject::event(QEvent*)
#55 QCoreApplication::notifyInternal2(QObject*, QEvent*)
#56 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#61 QEventDispatcherGlib::processEvents(...)
#62 QEventLoop::exec(...)
#63 QCoreApplication::exec()
--
You are receiving this mail because:
You are watching all bug changes.