Bug 489162 - plasmashell crash whenever a system tray widget is created, if it's present on start-up
Summary: plasmashell crash whenever a system tray widget is created, if it's present o...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 6.1.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-06-25 08:31 UTC by kde
Modified: 2024-06-25 15:28 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (74.53 KB, text/plain)
2024-06-25 08:31 UTC, kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2024-06-25 08:31:04 UTC
Application: plasmashell (6.1.0)

Qt Version: 6.7.1
Frameworks Version: 6.3.0
Operating System: Linux 6.9.5-200.fc40.x86_64 x86_64
Windowing System: X11
Distribution: "Fedora Linux 40 (Workstation Edition)"
DrKonqi: 6.1.0 [CoredumpBackend]

-- Information about the crash:
First of all, this happens on both X11 and Wayland, with dedicated Nvidia drivers installed (550.90.07), running the latest release of Fedora 40. (GNOME ran fine, though, so it's more isolated to KDE).
This seems to only happen if my desktop has a panel with a system tray widget, or if a system tray widget is created.
I had to reset my desktop configuration to fix it as KDE kept crashing upon startup, but it seems like, if the system tray was *added after* the desktop started initally, it'd only flash a bit and pop up a Crash Handler after removing the system tray and adjusting a few stuff.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007fd5a7e14aff in PipeWireCore::init (this=0x556fa7339ae0, fd=0) at /usr/src/debug/kpipewire-6.1.0-1.fc40.x86_64/src/pipewirecore.cpp:86
#6  0x00007fd5a7e14e9e in PipeWireCore::fetch (fd=0) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:274
#7  0x00007fd59ee1edf8 in MediaMonitor::connectToCore (this=0x556fa7339110) at /usr/src/debug/kpipewire-6.1.0-1.fc40.x86_64/src/monitors/mediamonitor.cpp:157
#8  0x00007fd5d9198b56 in QQmlObjectCreator::finalize (this=0x556fa7331a90, interrupt=...) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1567
#9  0x00007fd5d9117719 in QQmlComponentPrivate::complete (enginePriv=0x556f9e0ef200, state=state@entry=0x556fa7cee008) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/ftw/qbipointer_p.h:133


Reported using DrKonqi
Comment 1 kde 2024-06-25 08:31:05 UTC
Created attachment 170949 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Marco Martin 2024-06-25 10:41:16 UTC
Thread 1 (Thread 0x7fd5d1b07b00 (LWP 12652)):
[KCrash Handler]
#5  0x00007fd5a7e14aff in PipeWireCore::init (this=0x556fa7339ae0, fd=0) at /usr/src/debug/kpipewire-6.1.0-1.fc40.x86_64/src/pipewirecore.cpp:86
#6  0x00007fd5a7e14e9e in PipeWireCore::fetch (fd=0) at /usr/include/qt6/QtCore/qsharedpointer_impl.h:274
#7  0x00007fd59ee1edf8 in MediaMonitor::connectToCore (this=0x556fa7339110) at /usr/src/debug/kpipewire-6.1.0-1.fc40.x86_64/src/monitors/mediamonitor.cpp:157
#8  0x00007fd5d9198b56 in QQmlObjectCreator::finalize (this=0x556fa7331a90, interrupt=...) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1567
#9  0x00007fd5d9117719 in QQmlComponentPrivate::complete (enginePriv=0x556f9e0ef200, state=state@entry=0x556fa7cee008) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/ftw/qbipointer_p.h:133
#10 0x00007fd5d911d9c3 in QQmlComponentPrivate::completeCreate (this=0x556fa7cedf50) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlcomponent.cpp:1277
#11 0x00007fd5dabc093b in PlasmaQuick::SharedQmlEngine::completeInitialization (this=0x556fa7317f50, initialProperties=...) at /usr/src/debug/libplasma-6.1.0-1.fc40.x86_64/src/plasmaquick/sharedqmlengine.cpp:239
#12 0x00007fd5daba4e90 in PlasmaQuick::AppletQuickItem::itemForApplet (applet=<optimized out>) at /usr/include/qt6/QtCore/qhash.h:836
#13 0x00007fd5dabd3649 in ContainmentItem::init (this=0x556fa8041860) at /usr/src/debug/libplasma-6.1.0-1.fc40.x86_64/src/plasmaquick/plasmoid/containmentitem.cpp:78
#14 0x00007fd5dab9af9f in PlasmaQuick::AppletQuickItem::itemChange (this=0x556fa8041860, change=QQuickItem::ItemSceneChange, value=...) at /usr/src/debug/libplasma-6.1.0-1.fc40.x86_64/src/plasmaquick/appletquickitem.cpp:917
#15 0x00007fd5d98058f9 in QQuickItemPrivate::refWindow (this=0x556fa82191b0, c=0x556f9e66fe70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:3067
#16 0x00007fd5d98058c2 in QQuickItemPrivate::refWindow (this=0x556f9ff8cd80, c=0x556f9e66fe70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:3060
#17 0x00007fd5d98058c2 in QQuickItemPrivate::refWindow (this=this@entry=0x556f9fe810b0, c=c@entry=0x556f9e66fe70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:3060
#18 0x00007fd5d9805d4f in QQuickItem::setParentItem (this=this@entry=0x556f9fb52df0, parentItem=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickitem.cpp:2772
#19 0x00007fd5d9b681c9 in QQuickRepeater::initItem (this=<optimized out>, index=<optimized out>, object=0x556f9fb52df0) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickrepeater.cpp:405
#20 0x00007fd5d9b6a704 in QQuickRepeater::qt_metacall (this=0x556f9eb79f80, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff90abe650) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickrepeater_p.cpp:297
#21 0x00007fd5d7dfaa3a in doActivate<false> (sender=0x556f9ec407c0, signal_index=6, argv=0x7fff90abe650) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4112
#22 0x00007fd5d7df0b47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd5d6ccf7a0 <QQmlInstanceModel::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff90abe650) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#23 0x00007fd5d6c3bcb9 in QQmlInstanceModel::initItem (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/qmlmodels/QmlModels_autogen/include/moc_qqmlobjectmodel_p.cpp:293
#24 0x00007fd5d9163a63 in QQmlIncubatorPrivate::incubate (this=this@entry=0x556f9fb51110, i=...) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlincubator.cpp:321
#25 0x00007fd5d9163daf in QQmlEnginePrivate::incubate (this=0x556f9e0ef200, i=..., forContext=...) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlincubator.cpp:53
#26 0x00007fd5d6c846c9 in QQmlDelegateModelPrivate::object (this=0x556f9e461e70, group=QQmlListCompositor::Default, index=2, incubationMode=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmldelegatemodel.cpp:1284
#27 0x00007fd5d9b6966f in QQuickRepeater::modelUpdated (this=0x556f9eb79f80, changeSet=..., reset=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/quick/items/qquickrepeater.cpp:486
#28 0x00007fd5d9b6a704 in QQuickRepeater::qt_metacall (this=0x556f9eb79f80, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff90abebb0) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/quick/Quick_autogen/include/moc_qquickrepeater_p.cpp:297
#29 0x00007fd5d7dfaa3a in doActivate<false> (sender=0x556f9ec407c0, signal_index=4, argv=0x7fff90abebb0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4112
#30 0x00007fd5d7df0b47 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd5d6ccf7a0 <QQmlInstanceModel::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff90abebb0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#31 0x00007fd5d6c3bbd7 in QQmlInstanceModel::modelUpdated (this=<optimized out>, _t1=..., _t2=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/qmlmodels/QmlModels_autogen/include/moc_qqmlobjectmodel_p.cpp:279
#32 0x00007fd5d6c78c6d in non-virtual thunk to QQmlDelegateModelPrivate::emitModelUpdated(QQmlChangeSet const&, bool) () at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmldelegatemodel_p_p.h:303
#33 0x00007fd5d6c7db9b in QQmlDelegateModelGroupPrivate::emitModelUpdated (this=0x556f9ec40830, reset=reset@entry=false) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmldelegatemodel.cpp:2871
#34 0x00007fd5d6c80078 in QQmlDelegateModelPrivate::emitChanges (this=this@entry=0x556f9e461e70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmldelegatemodel.cpp:1893
#35 0x00007fd5d6c865d4 in QQmlDelegateModel::_q_itemsInserted (this=<optimized out>, index=2, count=1) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmldelegatemodel.cpp:1625
#36 0x00007fd5d6c8e834 in QQmlDelegateModel::qt_metacall (this=0x556f9ec407c0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff90abfe50) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/qmlmodels/QmlModels_autogen/include/moc_qqmldelegatemodel_p.cpp:439
#37 0x00007fd5d7dfaa3a in doActivate<false> (sender=0x556f9eb64f70, signal_index=13, argv=0x7fff90abfe50) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4112
#38 0x00007fd5d7df0b47 in QMetaObject::activate (sender=sender@entry=0x556f9eb64f70, m=m@entry=0x7fd5d8285fe0, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fff90abfe50) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#39 0x00007fd5d800084a in QAbstractItemModel::rowsInserted (this=this@entry=0x556f9eb64f70, _t1=..., _t2=<optimized out>, _t3=<optimized out>, _t4=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qabstractitemmodel.cpp:1056
#40 0x00007fd5d800ed95 in QAbstractItemModel::endInsertRows (this=this@entry=0x556f9eb64f70) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/itemmodels/qabstractitemmodel.cpp:2908
#41 0x00007fd5d6c5a2c1 in QQmlListModel::emitItemsInserted (this=0x556f9eb64f70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmllistmodel.cpp:2227
#42 QQmlListModel::emitItemsInserted (this=0x556f9eb64f70) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmllistmodel.cpp:2224
#43 0x00007fd5d6c666e8 in QQmlListModel::insert (this=0x556f9eb64f70, args=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qmlmodels/qqmllistmodel.cpp:2504
#44 0x00007fd5d6c69ed4 in QQmlListModel::qt_metacall (this=0x556f9eb64f70, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff90ac0110) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/redhat-linux-build/src/qmlmodels/QmlModels_autogen/include/moc_qqmllistmodel_p.cpp:261
#45 0x00007fd5d91acc1a in QQmlObjectOrGadget::metacall (this=this@entry=0x7fff90ac00b0, type=type@entry=QMetaObject::InvokeMetaMethod, index=<optimized out>, argv=argv@entry=0x7fff90ac0110) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/qml/qqmlobjectorgadget.cpp:14
#46 0x00007fd5d904d4fd in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2918
#47 operator()<QV4::QObjectMethod::callInternal(const QV4::Value*, const QV4::Value*, int) const::<lambda()> > (__closure=<synthetic pointer>, call=...) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2901
#48 QV4::QObjectMethod::callInternal (this=<optimized out>, thisObject=<optimized out>, argv=0x7fd5b85bf658, argc=2) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:2912
#49 0x00007fd5d906e0e9 in QV4::FunctionObject::call (this=0x7fff90ac0198, thisObject=0x7fd5b85bf640, argv=0x7fd5b85bf658, argc=2) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/jsruntime/qv4functionobject_p.h:171
#50 QV4::Runtime::CallPropertyLookup::call (engine=0x556f9dfc3760, base=..., index=<optimized out>, argv=0x7fd5b85bf658, argc=2) at /usr/src/debug/qt6-qtdeclarative-6.7.1-4.fc40.x86_64/src/qml/jsruntime/qv4runtime.cpp:1507
#51 0x00007fd5a400896c in ?? ()
#52 0x0000000000000000 in ?? ()
Comment 3 Marco Martin 2024-06-25 10:45:25 UTC
since the bt says is something in pipewire is probably a plasma-pa issue
Comment 4 kde 2024-06-25 13:30:12 UTC
(In reply to Marco Martin from comment #3)
> since the bt says is something in pipewire is probably a plasma-pa issue

huh, that's weird cause, cause this started happening after I installed pipewire (but I thought it was unrelated as there was a big batch of updates, too), but continued happening even after I uninstalled PW
There might be some leftovers of PW causing this, then, sorry
Comment 5 Nate Graham 2024-06-25 14:04:16 UTC
Doesn't Fedora 40 ship PipeWire by default? Did you have it masked or something? Starting to feel like a local configuration issue.
Comment 6 kde 2024-06-25 14:57:45 UTC
(In reply to Nate Graham from comment #5)
> Doesn't Fedora 40 ship PipeWire by default? Did you have it masked or
> something? Starting to feel like a local configuration issue.

Well, uh
it's a long story, I'm a Linux beginner and therefore this is most probably a local configuration issue, apologies

I installed PipeWire thinking it was just an app or something, and that broke my audio configuration, so I uninstalled it (and then that broke KDE), found out it didn't fix my audio issue, then read that Fedora 40 ships with PulseAudio and so i swapped PipeWire with PulseAudio, and that fixed my broken audio, but I had to reset my KDE desktop

This report probably should be closed or set as Resolved, but I cant figure out which category fits "User error/local config" the most, so I hope "Not a bug" fits it well?
Again, I'm really sorry for this and for wasting your time, I thought it was a KDE issue and my reading through the backtrace didn't catch the fact that it was from PipeWire, apologies.
Comment 7 Nate Graham 2024-06-25 15:14:03 UTC
Sounds like a local configuration issue, yeah. NOT A BUG is fine.

In general — and especially when you're a beginner — it's best to ask for help when you encounter a problem, rather than trying random things that a web search (or even worse, ChatGPT!) suggests. The problem here is that you won't understand any of the information you find, and will lack the context to understand which of them will break your system (because the person writing the advice was using a system that isn't the same as yours such that the recommendation won't work). So since you're using Fedora, asking for help from other people also using Fedora is the best plan. Each Linux distro is really its own OS; advice you find for someone using Ubuntu likely won't be applicable to Fedora, for example.
Comment 8 kde 2024-06-25 15:28:35 UTC
(In reply to Nate Graham from comment #7)
> Sounds like a local configuration issue, yeah. NOT A BUG is fine.
> 
> In general — and especially when you're a beginner — it's best to ask for
> help when you encounter a problem, rather than trying random things that a
> web search (or even worse, ChatGPT!) suggests. The problem here is that you
> won't understand any of the information you find, and will lack the context
> to understand which of them will break your system (because the person
> writing the advice was using a system that isn't the same as yours such that
> the recommendation won't work). So since you're using Fedora, asking for
> help from other people also using Fedora is the best plan. Each Linux distro
> is really its own OS; advice you find for someone using Ubuntu likely won't
> be applicable to Fedora, for example.

Yeah, I'm starting to realize just how different the troubleshooting process in Linux is to Windows, and that you can't always expect the OS to catch your mistakes and not let you break almost everything if you just asked nicely
Thanks a ton, though!