Bug 469199 - Plasma crash in Mpris2Engine::serviceOwnerChanged
Summary: Plasma crash in Mpris2Engine::serviceOwnerChanged
Status: RESOLVED DUPLICATE of bug 446531
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-30 15:16 UTC by Till Schäfer
Modified: 2023-04-30 19:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2023-04-30 15:16:26 UTC
Application: plasmashell (5.27.4)
 (Compiled from sources)
Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.1.19-gentoo x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
This crash happens regularily after comming back to my desktop after some idle time.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#6  QHashData::nextNode(QHashData::Node*) (node=node@entry=0x55dee7e92ff0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/tools/qhash.cpp:591
#7  0x00007f797f7a22cb in QHash<QString, Plasma::DataContainer*>::iterator::operator++() (this=<synthetic pointer>) at /usr/include/qt5/QtCore/qhash.h:350
#8  QHash<QString, Plasma::DataContainer*>::erase(QHash<QString, Plasma::DataContainer*>::const_iterator) (this=0x55dee4cab3a8, it=..., it@entry=...) at /usr/include/qt5/QtCore/qhash.h:879
#9  0x00007f797f7a129f in QHash<QString, Plasma::DataContainer*>::erase(QHash<QString, Plasma::DataContainer*>::iterator) (it=..., this=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:409
#10 Plasma::DataEngine::removeSource(QString const&) (this=0x55dee50ee850, source=...) at /var/tmp/portage/kde-frameworks/plasma-5.105.0/work/plasma-framework-5.105.0/src/plasma/dataengine.cpp:299
#11 0x00007f7963760e6c in Mpris2Engine::serviceOwnerChanged(QString const&, QString const&, QString const&) (newOwner=..., oldOwner=<optimized out>, serviceName=..., this=0x55dee50ee850) at /var/tmp/portage/kde-plasma/plasma-workspace-5.27.4.1-r2/work/plasma-workspace-5.27.4.1/dataengines/mpris2/mpris2engine.cpp:71
#12 Mpris2Engine::serviceOwnerChanged(QString const&, QString const&, QString const&) (this=0x55dee50ee850, serviceName=..., oldOwner=<optimized out>, newOwner=...) at /var/tmp/portage/kde-plasma/plasma-workspace-5.27.4.1-r2/work/plasma-workspace-5.27.4.1/dataengines/mpris2/mpris2engine.cpp:59
#13 0x00007f797d6b2bcc in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff070418c0, r=0x55dee50ee850, this=0x55dee4cd5d50) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x55dee4c589c0, signal_index=5, argv=0x7fff070418c0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:3923
#15 0x00007f797d6acadf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55dee4c589c0, m=m@entry=0x7f797ed3e6c0 <QDBusServiceWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff070418c0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:3983
#16 0x00007f797ed21486 in QDBusServiceWatcher::serviceOwnerChanged(QString const&, QString const&, QString const&) (this=this@entry=0x55dee4c589c0, _t1=..., _t2=..., _t3=...) at .moc/moc_qdbusservicewatcher.cpp:242
#17 0x00007f797ed21d7a in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged(QString const&, QString const&, QString const&) (newOwner=..., oldOwner=..., service=..., this=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.9/work/qtbase-everywhere-src-5.15.9/src/dbus/qdbusservicewatcher.cpp:76
#18 QDBusServiceWatcher::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x55dee4c589c0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=3, _a=_a@entry=0x7fff07041a40) at .moc/moc_qdbusservicewatcher.cpp:116
#19 0x00007f797ed22223 in QDBusServiceWatcher::qt_metacall(QMetaObject::Call, int, void**) (this=0x55dee4c589c0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff07041a40) at .moc/moc_qdbusservicewatcher.cpp:197
#20 0x00007f797ecd37db in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#21 0x00007f797d6aacd4 in QObject::event(QEvent*) (this=0x55dee4c589c0, e=0x7f797407ebf0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qobject.cpp:1347
#22 0x00007f797e16308e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55dee4c589c0, e=0x7f797407ebf0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:3640
#23 0x00007f797d67fc08 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55dee4c589c0, event=0x7f797407ebf0) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1064
#24 0x00007f797d682fa3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55dee40c9310) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qcoreapplication.cpp:1821
#25 0x00007f797d6d2893 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55dee4207140) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f797cd65d08 in g_main_dispatch (context=0x7f7974005010) at ../glib-2.74.6/glib/gmain.c:3454
#27 g_main_context_dispatch (context=0x7f7974005010) at ../glib-2.74.6/glib/gmain.c:4172
#28 0x00007f797cd65f98 in g_main_context_iterate (context=context@entry=0x7f7974005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.74.6/glib/gmain.c:4248
#29 0x00007f797cd6602c in g_main_context_iteration (context=0x7f7974005010, may_block=1) at ../glib-2.74.6/glib/gmain.c:4313
#30 0x00007f797d6d2396 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55dee42078a0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f797d67e6bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff07041e80, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f797d686656 in QCoreApplication::exec() () at /var/tmp/portage/dev-qt/qtcore-5.15.9/work/qtbase-everywhere-src-5.15.9/include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007f797db0dddc in QGuiApplication::exec() () at /var/tmp/portage/dev-qt/qtgui-5.15.9/work/qtbase-everywhere-src-5.15.9/src/gui/kernel/qguiapplication.cpp:1870
#34 0x00007f797e163005 in QApplication::exec() () at /var/tmp/portage/dev-qt/qtwidgets-5.15.9/work/qtbase-everywhere-src-5.15.9/src/widgets/kernel/qapplication.cpp:2832
#35 0x000055dee34f9a06 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.27.4.1-r2/work/plasma-workspace-5.27.4.1/shell/main.cpp:235
[Inferior 1 (process 3491) detached]

The reporter indicates this bug may be a duplicate of or related to bug 446531.

Reported using DrKonqi
Comment 1 David Edmundson 2023-04-30 19:35:04 UTC

*** This bug has been marked as a duplicate of bug 446531 ***