Bug 463122

Summary: Crash removing mpris engine
Product: [Plasma] plasmashell Reporter: Mark <mwaterbu>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, mwaterbu
Priority: NOR Keywords: drkonqi
Version: 5.25.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Mark 2022-12-16 15:13:01 UTC
Application: plasmashell (5.25.5)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-26-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
Behavior is very repeatable.
KVM switch does not do EDID emulation, and is connected to a DP MST hub. When switching back to machine running Kubuntu, monitors are often improperly configured, so resetting orientation and positions with xrandr is required.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fe353909427 in QHashData::nextNode(QHashData::Node*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe355c61e7a in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#6  0x00007fe355c60df6 in Plasma::DataEngine::removeSource(QString const&) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
#7  0x00007fe2f441cdbc in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/dataengine/plasma_engine_mpris2.so
#8  0x00007fe353af36ff in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe3545df893 in QDBusServiceWatcher::serviceOwnerChanged(QString const&, QString const&, QString const&) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007fe3545e01d2 in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#11 0x00007fe3545e068b in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#12 0x00007fe35459123b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#13 0x00007fe353ae7b30 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fe35476bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fe353abae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fe353abdeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fe353b15427 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fe351e734f9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fe351ec8228 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fe351e70cb0 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe353b14aea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fe353ab97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fe353ac1c2a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00005579d049f567 in ?? ()
#25 0x00007fe353023510 in __libc_start_call_main (main=main@entry=0x5579d049e6b0, argc=argc@entry=1, argv=argv@entry=0x7fff744f1578) at ../sysdeps/nptl/libc_start_call_main.h:58
#26 0x00007fe3530235c9 in __libc_start_main_impl (main=0x5579d049e6b0, argc=1, argv=0x7fff744f1578, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff744f1568) at ../csu/libc-start.c:381
#27 0x00005579d049f685 in ?? ()
[Inferior 1 (process 23239) detached]

Reported using DrKonqi
Comment 1 Bug Janitor Service 2022-12-16 15:33:29 UTC
Thank you for the bug report!

Please note that Plasma 5.25.5 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 David Edmundson 2023-01-03 10:46:26 UTC

*** This bug has been marked as a duplicate of bug 446531 ***
Comment 3 Mark 2023-01-24 00:05:00 UTC
Created attachment 155547 [details]
New crash information added by DrKonqi

plasmashell (5.26.5) using Qt 5.15.6

As requested, here is the repeated behavior using a supported version of Plasma (5.26.5)

-- Backtrace (Reduced):
#4  0x00007f1317109427 in QHashData::nextNode(QHashData::Node*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
[...]
#6  0x00007f13194c5716 in Plasma::DataEngine::removeSource(QString const&) () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
[...]
#9  0x00007f1317ddf893 in QDBusServiceWatcher::serviceOwnerChanged(QString const&, QString const&, QString const&) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
[...]
#11 0x00007f1317de068b in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
[...]
#13 0x00007f13172e7b30 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5