Bug 436350 - Plasma crash a few seconds after login following an upgrade to Plasma 5.21.4
Summary: Plasma crash a few seconds after login following an upgrade to Plasma 5.21.4
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.21.4
Platform: Other Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 11:00 UTC by Vaclav Masin
Modified: 2021-06-06 14:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22


Attachments
listIcons.sh (855 bytes, application/x-shellscript)
2021-05-01 16:58 UTC, Konrad Materka
Details
Output of the listIcons.sh script just before running ktorrent. (19.34 KB, text/plain)
2021-05-01 18:23 UTC, Vaclav Masin
Details
Crash dump after running ktorrent (copied from KDE Crash Handler) (14.04 KB, text/plain)
2021-05-01 18:25 UTC, Vaclav Masin
Details
Crash dump on the test user account (18.19 KB, text/plain)
2021-05-01 19:04 UTC, Vaclav Masin
Details
workaround for missing DataSource (699 bytes, patch)
2021-05-01 22:11 UTC, Konrad Materka
Details
plasma-shell.log (37.37 KB, text/plain)
2021-05-02 07:41 UTC, Vaclav Masin
Details
listIcons-output2.txt (21.36 KB, text/plain)
2021-05-02 07:42 UTC, Vaclav Masin
Details
workaround and additional logs (1.90 KB, patch)
2021-05-02 10:25 UTC, Konrad Materka
Details
Log after plasmashell restart (31.46 KB, text/plain)
2021-05-02 12:50 UTC, Vaclav Masin
Details
Log after kded5 restart (16.42 KB, text/plain)
2021-05-02 12:50 UTC, Vaclav Masin
Details
Plasmashell log extra lines (13.65 KB, text/plain)
2021-05-02 13:06 UTC, Vaclav Masin
Details
patch: workaround + even more logs (3.46 KB, patch)
2021-05-02 15:35 UTC, Konrad Materka
Details
Plasmashell extended logging (84.87 KB, text/plain)
2021-05-02 17:02 UTC, Vaclav Masin
Details
patch: workaround + logs attempt3 (2.42 KB, patch)
2021-05-02 20:59 UTC, Konrad Materka
Details
Plasma shell extended logging 2 (123.51 KB, text/x-log)
2021-05-02 21:46 UTC, Vaclav Masin
Details
System Tray settings screenshot - empty items (191.54 KB, image/png)
2021-05-02 21:49 UTC, Vaclav Masin
Details
testVector.zip (2.10 KB, application/zip)
2021-05-03 10:54 UTC, Konrad Materka
Details
Test Vector app output (1.04 MB, text/plain)
2021-05-03 14:39 UTC, Vaclav Masin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Masin 2021-04-29 11:00:49 UTC
SUMMARY
I upgraded to the latest Plasma version yesterday. Things worked fine at first for a few hours, I played around a little bit browsing through the system settings, maybe changing something here and there (nothing major). Turned off the machine before bed. Started back up this morning and since then I've been consistently running into the crash below about 10 - 15 seconds after an otherwise seemingly successful Plasma start-up.

Starting up Plasma on the same machine while logged in as another (newly created) user doesn't seem to be hitting the bug.

STEPS TO REPRODUCE
1. Log in
2. Do something for a few seconds
3. Crash follows

OBSERVED RESULT
Crash

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux 5.4.109 - Linux From Scratch 8.4 - Plasma 5.21.4
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Application: Plasma (plasmashell), signal: Segmentation fault

[New LWP 5268]
[New LWP 5269]
[New LWP 5270]
[New LWP 5275]
[New LWP 5276]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007fe3f479dfd9 in __GI___poll (fds=0x7ffca348b3b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fe3f0d2f840 (LWP 5267))]

Thread 6 (Thread 0x7fe3da4e5700 (LWP 5276)):
#0  0x00007fe3f47a06e7 in __GI___select (nfds=39, readfds=0x7fe3da4e4d20, writefds=0x0, exceptfds=0x0, timeout=0x7fe3da4e4d10) at ../sysdeps/unix/sysv/linux/select.c:41
#1  0x00007fe3e6e698d1 in ?? () from /usr/lib/libnvidia-glcore.so.460.67
#2  0x00007fe3e6e673ba in ?? () from /usr/lib/libnvidia-glcore.so.460.67
#3  0x00007fe3f4373fb8 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007fe3f47a88cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fe3dafe6700 (LWP 5275)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x2ee1404) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x2ee13b0, cond=0x2ee13d8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x2ee13d8, mutex=0x2ee13b0) at pthread_cond_wait.c:655
#3  0x00007fe3f4c358f3 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /opt/qt5/lib/libQt5Core.so.5
#4  0x00007fe3f6fd7c8c in ?? () from /opt/qt5/lib/libQt5Quick.so.5
#5  0x00007fe3f6fd7ee1 in ?? () from /opt/qt5/lib/libQt5Quick.so.5
#6  0x00007fe3f4c2fa6d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#7  0x00007fe3f4373fb8 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fe3f47a88cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fe3ec9ac700 (LWP 5270)):
#0  0x00007fe3f1744149 in g_mutex_lock (mutex=mutex@entry=0x7fe3dc000be0) at ../glib/gthread-posix.c:1515
#1  0x00007fe3f16f3f7f in g_main_context_check (context=context@entry=0x7fe3dc000be0, max_priority=2147483647, fds=fds@entry=0x7fe3dc004a00, n_fds=n_fds@entry=1) at ../glib/gmain.c:3864
#2  0x00007fe3f16f46e8 in g_main_context_iterate (context=context@entry=0x7fe3dc000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4128
#3  0x00007fe3f16f484c in g_main_context_iteration (context=0x7fe3dc000be0, may_block=1) at ../glib/gmain.c:4196
#4  0x00007fe3f4e54903 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#5  0x00007fe3f4dff953 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#6  0x00007fe3f4c2e8c6 in QThread::exec() () from /opt/qt5/lib/libQt5Core.so.5
#7  0x00007fe3f6a93615 in ?? () from /opt/qt5/lib/libQt5Qml.so.5
#8  0x00007fe3f4c2fa6d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#9  0x00007fe3f4373fb8 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007fe3f47a88cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe3edc61700 (LWP 5269)):
#0  0x00007fe3f479dfd9 in __GI___poll (fds=0x7fe3e0004e00, nfds=1, timeout=5471) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe3f16f473e in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fe3e0004e00, timeout=<optimized out>, context=0x7fe3e0000be0) at ../glib/gmain.c:4434
#2  g_main_context_iterate (context=context@entry=0x7fe3e0000be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
#3  0x00007fe3f16f484c in g_main_context_iteration (context=0x7fe3e0000be0, may_block=1) at ../glib/gmain.c:4196
#4  0x00007fe3f4e54903 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#5  0x00007fe3f4dff953 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#6  0x00007fe3f4c2e8c6 in QThread::exec() () from /opt/qt5/lib/libQt5Core.so.5
#7  0x00007fe3f50ff4f5 in ?? () from /opt/qt5/lib/libQt5DBus.so.5
#8  0x00007fe3f4c2fa6d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#9  0x00007fe3f4373fb8 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007fe3f47a88cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe3ef528700 (LWP 5268)):
#0  0x00007fe3f479dfd9 in __GI___poll (fds=fds@entry=0x7fe3ef527c88, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe3f7494cb7 in _xcb_conn_wait (c=c@entry=0x20cdb50, cond=cond@entry=0x20cdb90, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#2  0x00007fe3f74967aa in xcb_wait_for_event (c=0x20cdb50) at xcb_in.c:697
#3  0x00007fe3ef5f14c0 in ?? () from /opt/qt5/lib/libQt5XcbQpa.so.5
#4  0x00007fe3f4c2fa6d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#5  0x00007fe3f4373fb8 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fe3f47a88cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe3f0d2f840 (LWP 5267)):
[KCrash Handler]
#5  0x00007fe3f73e6521 in Plasma::DataContainer::data() const () from /opt/kf5/lib/libKF5Plasma.so.5
#6  0x00007fe3ec089033 in StatusNotifierModel::data(QModelIndex const&, int) const () from /opt/kf5-5.81.0/lib/plugins/plasma/applets/org.kde.plasma.private.systemtray.so
#7  0x00007fe3ec0bff04 in KConcatenateRowsProxyModel::data(QModelIndex const&, int) const () from /opt/kf5/lib/libKF5ItemModels.so.5
#8  0x00007fe3ec08dada in SortedSystemTrayModel::compareCategoriesOrderly(QModelIndex const&, QModelIndex const&) const () from /opt/kf5-5.81.0/lib/plugins/plasma/applets/org.kde.plasma.private.systemtray.so
#9  0x00007fe3ec08df1f in SortedSystemTrayModel::lessThanSystemTray(QModelIndex const&, QModelIndex const&) const () from /opt/kf5-5.81.0/lib/plugins/plasma/applets/org.kde.plasma.private.systemtray.so
#10 0x00007fe3f4dd2dfa in ?? () from /opt/qt5/lib/libQt5Core.so.5
#11 0x00007fe3f4dd6c34 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#12 0x00007fe3f4dd8e40 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#13 0x00007fe3f4ddb7c5 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#14 0x00007fe3f4ddc721 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#15 0x00007fe3f4e3340d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#16 0x00007fe3f4dabe5e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /opt/qt5/lib/libQt5Core.so.5
#17 0x00007fe3f4db326a in QAbstractItemModel::endInsertRows() () from /opt/qt5/lib/libQt5Core.so.5
#18 0x00007fe3ec0c1b5e in KConcatenateRowsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/kf5/lib/libKF5ItemModels.so.5
#19 0x00007fe3f4e3340d in ?? () from /opt/qt5/lib/libQt5Core.so.5
#20 0x00007fe3f4dabe5e in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int, QAbstractItemModel::QPrivateSignal) () from /opt/qt5/lib/libQt5Core.so.5
#21 0x00007fe3f4db326a in QAbstractItemModel::endInsertRows() () from /opt/qt5/lib/libQt5Core.so.5
#22 0x00007fe3ec088e63 in StatusNotifierModel::dataUpdated(QString const&, QMap<QString, QVariant> const&) () from /opt/kf5-5.81.0/lib/plugins/plasma/applets/org.kde.plasma.private.systemtray.so
#23 0x00007fe3f4e0f236 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /opt/qt5/lib/libQt5Core.so.5
#24 0x00007fe3f4e107c5 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /opt/qt5/lib/libQt5Core.so.5
#25 0x00007fe3f73f05bc in Plasma::DataEnginePrivate::connectSource(Plasma::DataContainer*, QObject*, unsigned int, Plasma::Types::IntervalAlignment, bool) () from /opt/kf5/lib/libKF5Plasma.so.5
#26 0x00007fe3f73f0832 in Plasma::DataEngine::connectSource(QString const&, QObject*, unsigned int, Plasma::Types::IntervalAlignment) const () from /opt/kf5/lib/libKF5Plasma.so.5
#27 0x00007fe3f4e333dc in ?? () from /opt/qt5/lib/libQt5Core.so.5
#28 0x00007fe3f73edf42 in Plasma::DataEngine::sourceAdded(QString const&) () from /opt/kf5/lib/libKF5Plasma.so.5
#29 0x00007fe3f73ee2ad in Plasma::DataEngine::addSource(Plasma::DataContainer*) () from /opt/kf5/lib/libKF5Plasma.so.5
#30 0x00007fe3d81ee9ca in QtPrivate::QFunctorSlotObject<StatusNotifierItemEngine::registerWatcher(QString const&)::{lambda()#3}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /opt/kf5-5.81.0/lib/plugins/plasma/dataengine/plasma_engine_statusnotifieritem.so
#31 0x00007fe3f4e333dc in ?? () from /opt/qt5/lib/libQt5Core.so.5
#32 0x00007fe3f51581af in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /opt/qt5/lib/libQt5DBus.so.5
#33 0x00007fe3f5158290 in ?? () from /opt/qt5/lib/libQt5DBus.so.5
#34 0x00007fe3f4e2b9ce in QObject::event(QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#35 0x00007fe3f5afd15e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#36 0x00007fe3f5b03b80 in QApplication::notify(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Widgets.so.5
#37 0x00007fe3f4e00ca9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/qt5/lib/libQt5Core.so.5
#38 0x00007fe3f4e03721 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/qt5/lib/libQt5Core.so.5
#39 0x00007fe3f4e55223 in ?? () from /opt/qt5/lib/libQt5Core.so.5
#40 0x00007fe3f16f456d in g_main_dispatch (context=0x7fe3e8004fa0) at ../glib/gmain.c:3337
#41 g_main_context_dispatch (context=context@entry=0x7fe3e8004fa0) at ../glib/gmain.c:4055
#42 0x00007fe3f16f47c8 in g_main_context_iterate (context=context@entry=0x7fe3e8004fa0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#43 0x00007fe3f16f484c in g_main_context_iteration (context=0x7fe3e8004fa0, may_block=1) at ../glib/gmain.c:4196
#44 0x00007fe3f4e548ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#45 0x00007fe3f4dff953 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/qt5/lib/libQt5Core.so.5
#46 0x00007fe3f4e078cc in QCoreApplication::exec() () from /opt/qt5/lib/libQt5Core.so.5
#47 0x00000000004203ad in main ()
[Inferior 1 (process 5267) detached]
Comment 1 David Redondo 2021-04-30 09:29:01 UTC

*** This bug has been marked as a duplicate of bug 435991 ***
Comment 2 Konrad Materka 2021-05-01 10:17:06 UTC
I'm reopening this, Bug 435991 was caused by kded crash, we need to investige this one separately.
Comment 3 Konrad Materka 2021-05-01 10:35:25 UTC
Hi Vaclav, can you give more details?

* on which version it was working? You wrote about upgrade to 5.21.4, which version was before?

* is this crash always reproducible?

* you wrote that it does not happen on fresh user - this is very interesting! Can you investigate more? My guess is that somethings starts alongside Plasma session, application that registers System Tray icon.

* can you share logs from Plasma and system logs? You can start Plasma by running:
> kquitapp5 plasmashell
> QT_LOGGING_RULES=*kde*=true kstart5 plasmashell
In system logs there should be entries like:
> kded5[2444]: Registering ":1.172/org/ayatana/NotificationItem/Skype1" to system tray
* from info attached to this bug report I see that you are using Linux From Scratch. This is pretty uncommon - are you using any additional hardening, compiler flags or anything non standard (besides installing from scratch :))
Comment 4 Vaclav Masin 2021-05-01 16:12:15 UTC
Hey Konrad,

thanks for looking into it.

My previous Plasma version (and the one I'm now back on for now) was from last December so most likely 5.20.4.

It is pretty much reproducible on my main user account. I had actually managed to get rid of the bug for a while by deleting most of the KDE configuration files from ~/.config and starting from scratch. But than I ran into it again once I started to play around with the sys tray. I think once I start up anything that involves dealing with the system tray (adding icons to it?), the crash occurs. I specifically remember having it happen after starting up Ktorrent and Skype.

I'll try to reproduce it once again on the clean test account. It didn't occur there at first but I'm now not sure I really tried hard enough. I'll get back to you on it in a bit.

I'm not using any special flags or hardening and stuff. Although I should probably mention that I had a bit of a trouble getting libksysguard to build - it kept failing on me like this:

[ 25%] Linking CXX shared library ../bin/libprocesscore.so
/usr/bin/ld: CMakeFiles/processcore.dir/cgroup_data_model.cpp.o: in function `KSysGuard::CGroupDataModel::update(KSysGuard::CGroup*) [clone .localalias.191]':
cgroup_data_model.cpp:(.text+0x1f8d): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: cgroup_data_model.cpp:(.text+0x1f9e): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: cgroup_data_model.cpp:(.text+0x20b8): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: cgroup_data_model.cpp:(.text+0x2386): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: cgroup_data_model.cpp:(.text+0x2454): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [processcore/CMakeFiles/processcore.dir/build.make:340: bin/libprocesscore.so.5.21.4] Error 1
make[1]: *** [CMakeFiles/Makefile2:896: processcore/CMakeFiles/processcore.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Which in the end I only managed to fix by adding "link_libraries(stdc++fs)" to the (almost) very top of CMakeLists.txt. It doesn't sound like something that has anything to do with the sys tray but I'm better mentioning it anyway.

I'm going to try get the plasmashell logs you mention on my other (test) machine (I fear I'd break this main rig of mine again - sadly, it wasn't as easy to downgrade back to 5.20.4).
Comment 5 Vaclav Masin 2021-05-01 16:26:20 UTC
OK, managed to reproduce it, on my test machine (which is pretty much the exact copy of my main rig). Plasma started up just fine, then I executed in Konsole those two commands you gave me, then I went on to start up KTorrent and voila - Plasma crashed. This is what I've got in Konsole:

xxx [ /tmp ]$ kquitapp5 plasmashell
xxx [ /tmp ]$ QT_LOGGING_RULES=*kde*=true kstart5 plasmashell
Omitting both --window and --windowclass arguments is not recommended
xxx [ /tmp ]$ kf.plasma.quick: Applet preload policy set to 1
kde.systemtray: Adding applet: "org.kde.plasma.devicenotifier"
kde.systemtray: Adding applet: "touchpad"
kde.systemtray: Adding applet: "org.kde.plasma.volume"
kde.systemtray: Adding applet: "org.kde.plasma.nightcolorcontrol"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.keyboardlayout" "org.kde.keyboard.wayland"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.bluetooth" "org.bluez"
kde.systemtray: Adding applet: "org.kde.plasma.notifications"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.mediacontroller" "org.mpris.MediaPlayer2.*"
kde.systemtray: Adding applet: "org.kde.plasma.vault"
kde.systemtray: Adding applet: "org.kde.plasma.keyboardindicator"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.networkmanagement" "org.freedesktop.NetworkManager"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.battery" "org.kde.Solid.PowerManagement"
kde.systemtray: Adding applet: "org.kde.plasma.clipboard"
kde.systemtray: Adding applet: "org.kde.plasma.devicenotifier"
kde.systemtray: Adding applet: "touchpad"
kde.systemtray: Adding applet: "org.kde.plasma.volume"
kde.systemtray: Adding applet: "org.kde.plasma.nightcolorcontrol"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.keyboardlayout" "org.kde.keyboard.wayland"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.bluetooth" "org.bluez"
kde.systemtray: Adding applet: "org.kde.plasma.notifications"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.mediacontroller" "org.mpris.MediaPlayer2.*"
kde.systemtray: Adding applet: "org.kde.plasma.vault"
kde.systemtray: Adding applet: "org.kde.plasma.keyboardindicator"
kde.systemtray: Adding applet: "org.kde.plasma.diskquota"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.networkmanagement" "org.freedesktop.NetworkManager"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.battery" "org.kde.Solid.PowerManagement"
kde.systemtray: Adding applet: "org.kde.plasma.clipboard"
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
kde.systemtray: DBus service "org.kde.Solid.PowerManagement" matching QRegExp(patternSyntax=1, pattern='"org.kde.Solid.PowerManagement"') appeared. Loading "org.kde.plasma.battery"
kde.systemtray: Adding applet: "org.kde.plasma.battery"
kde.systemtray: DBus service "org.freedesktop.NetworkManager" matching QRegExp(patternSyntax=1, pattern='"org.freedesktop.NetworkManager"') appeared. Loading "org.kde.plasma.networkmanagement"
kde.systemtray: Adding applet: "org.kde.plasma.networkmanagement"
kde.systemtray: DBus service "org.kde.Solid.PowerManagement" matching QRegExp(patternSyntax=1, pattern='"org.kde.Solid.PowerManagement"') appeared. Loading "org.kde.plasma.battery"
kde.systemtray: Adding applet: "org.kde.plasma.battery"
kde.systemtray: DBus service "org.freedesktop.NetworkManager" matching QRegExp(patternSyntax=1, pattern='"org.freedesktop.NetworkManager"') appeared. Loading "org.kde.plasma.networkmanagement"
kde.systemtray: Adding applet: "org.kde.plasma.networkmanagement"
Plasma Shell startup completed
org.kde.plasma.pulseaudio: Attempting connection to PulseAudio sound daemon
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
org.kde.plasma.notifications: Registered JobViewServer service on DBus
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Could not create Plasma Calendar Plugin:  "/opt/kf5-5.75.0/lib/plugins/plasmacalendarplugins/holidaysevents.so"
"The shared library was not found."
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:493:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.panelspacer/contents/ui/main.qml:53:5: Unable to assign [undefined] to QQuickGridLayout*
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:493:13: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:554:5: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
kde.systemtraycontainer: Containment id 54 that used to be a system tray was deleted
qml: +++ new BUtton textsDisable,Cancel
qml: +++ new BUtton textsDisable,Cancel
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
qml:  in external window
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels"))
Cyclic dependency detected between "file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
org.kde.plasma.notifications: Registered Notification service on DBus
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Device")(262, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "ChannelVolumes")(268, "Channels")(270, "DeviceIndex")(265, "Muted")(264, "Volume")(267, "VolumeWritable")(266, "HasVolume"))
org.kde.klipper: Setting selection to < "kquitapp5 plasmashell" >
org.kde.klipper: Setting clipboard to < "kquitapp5 plasmashell" >
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
kde.systemtraycontainer: Containment id 72 that used to be a system tray was deleted
qml: +++ new BUtton textsDisable,Cancel
qml: +++ new BUtton textsDisable,Cancel
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
qml:  in external window
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: state callback
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
laachta [ /tmp ]$ file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
org.kde.plasma.kicker: initForClient "org.kde.plasma.kickoff.favorites.instance-68"
org.kde.plasma.kicker: Loading the ordering  ("preferred://browser", "applications:systemsettings.desktop", "applications:org.kde.dolphin.desktop", "applications:org.kde.kate.desktop", "applications:org.kde.discover.desktop", "applications:firefox.desktop", "applications:org.kde.krusader.desktop", "applications:org.kde.kmail2.desktop", "applications:org.kde.kcolorchooser.desktop", "applications:org.kde.konsole.desktop", "preferred://browser", "applications:systemsettings.desktop", "applications:org.kde.dolphin.desktop", "applications:org.kde.kate.desktop", "applications:org.kde.discover.desktop", "applications:firefox.desktop", "applications:org.kde.krusader.desktop", "applications:org.kde.kmail2.desktop", "applications:org.kde.kcolorchooser.desktop", "applications:org.kde.konsole.desktop")
org.kde.plasma.kicker: Query is Query { Select: LinkedResources, Type: (":any"), Agent: ("org.kde.plasma.favorites.applications", "org.kde.plasma.favorites.contacts", "org.kde.plasma.favorites.documents"), Activity: (":current", ":global"), Url: ("*"), Date: "", Order: HighScore, Limit: 0 }
org.kde.plasma.kicker: Got  "applications:firefox.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:firefox.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:firefox.desktop" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.discover.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.discover.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.discover.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.discover.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.dolphin.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.dolphin.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.dolphin.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.dolphin.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.kate.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.kate.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kate.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kate.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.kmail2.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.kmail2.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kmail2.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kmail2.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.konsole.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.konsole.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.konsole.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.konsole.desktop")
org.kde.plasma.kicker: Got  "applications:org.kde.krusader.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:org.kde.krusader.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:org.kde.krusader.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.krusader.desktop")
org.kde.plasma.kicker: Got  "applications:systemsettings.desktop"  -->
org.kde.plasma.kicker: Adding result "applications:systemsettings.desktop" already present? false
org.kde.plasma.kicker: Original id is:  "applications:systemsettings.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/systemsettings.desktop")
org.kde.plasma.kicker: Got  "kontact.desktop"  -->
org.kde.plasma.kicker: Adding result "kontact.desktop" already present? false
org.kde.plasma.kicker: Entry is not valid!
org.kde.plasma.kicker: Got  "ktp-contactlist.desktop"  -->
org.kde.plasma.kicker: Adding result "ktp-contactlist.desktop" already present? false
org.kde.plasma.kicker: Entry is not valid!
org.kde.plasma.kicker: Got  "preferred://browser"  -->
org.kde.plasma.kicker: Adding result "preferred://browser" already present? false
org.kde.plasma.kicker: Original id is:  "preferred://browser" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Original id is:  "preferred://browser" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Original id is:  "applications:systemsettings.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/systemsettings.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.dolphin.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.dolphin.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kate.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kate.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.discover.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.discover.desktop")
org.kde.plasma.kicker: Original id is:  "applications:firefox.desktop" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.krusader.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.krusader.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kmail2.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kmail2.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kcolorchooser.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kcolorchooser.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.konsole.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.konsole.desktop")
org.kde.plasma.kicker: Original id is:  "preferred://browser" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Original id is:  "applications:systemsettings.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/systemsettings.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.dolphin.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.dolphin.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kate.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kate.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.discover.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.discover.desktop")
org.kde.plasma.kicker: Original id is:  "applications:firefox.desktop" , and the url is QUrl("file:///home/laachta/.local/share/applications/firefox.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.krusader.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.krusader.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kmail2.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kmail2.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.kcolorchooser.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.kcolorchooser.desktop")
org.kde.plasma.kicker: Original id is:  "applications:org.kde.konsole.desktop" , and the url is QUrl("file:///opt/kf5-5.81.0/share/applications/org.kde.konsole.desktop")
org.kde.plasma.kicker: After ordering:  QVector("preferred://browser", "applications:systemsettings.desktop", "applications:org.kde.dolphin.desktop", "applications:org.kde.kate.desktop", "applications:org.kde.discover.desktop", "applications:firefox.desktop", "applications:org.kde.krusader.desktop", "applications:org.kde.kmail2.desktop", "applications:org.kde.konsole.desktop")
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/LeaveButtons.qml:69:5: QML ToolButton: Binding loop detected for property "display"
org.kde.plasma.pulseaudio: state callback
org.kde.plasma.pulseaudio: state callback
org.kde.plasma.pulseaudio: ready
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: Changing preferred sink to QPulseAudio::Sink(0x555dc60) "alsa_output.pci-0000_00_1b.0.analog-stereo"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: Changing preferred sink to QPulseAudio::Sink(0x555dc60) "alsa_output.pci-0000_00_1b.0.analog-stereo"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: Default sink changed QPulseAudio::Sink(0x555dc60)
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: PROPERTY CHANGED ( 0 ) ::  276 "Default"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: PROPERTY CHANGED ( 0 ) ::  276 "Default"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: Default source changed QPulseAudio::Source(0x42dd330)
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: PROPERTY CHANGED ( 0 ) ::  276 "Default"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: PROPERTY CHANGED ( 0 ) ::  276 "Default"
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(277, "VirtualDevice")(276, "Default")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports"))
org.kde.plasma.pulseaudio: PROPERTY CHANGED ( 0 ) ::  276 "Default"
org.kde.plasma.pulseaudio: "Name" 270
org.kde.plasma.pulseaudio: "PulseObject" 257
org.kde.plasma.pulseaudio: returning roles QHash((261, "Properties")(260, "IconName")(263, "Device")(262, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(269, "ChannelVolumes")(268, "Channels")(270, "DeviceIndex")(265, "Muted")(264, "Volume")(267, "VolumeWritable")(266, "HasVolume"))
org.kde.plasma.pulseaudio: "VirtualStream" 271
trying to show an empty dialog
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2288, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2289, resource id: 33554512, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2290, resource id: 33554512, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2291, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2292, resource id: 33554514, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2293, resource id: 33554514, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2294, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2295, resource id: 33554516, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2296, resource id: 33554516, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2297, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2298, resource id: 33554518, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2299, resource id: 33554518, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2300, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2301, resource id: 33554520, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2302, resource id: 33554520, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2303, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2304, resource id: 33554522, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2305, resource id: 33554522, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2306, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2307, resource id: 33554524, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2308, resource id: 33554524, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 2309, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2310, resource id: 33554526, major code: 55 (CreateGC), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2311, resource id: 33554526, major code: 72 (PutImage), minor code: 0
kde.dataengine.sni: Registering ":1.81/StatusNotifierItem"
KCrash: Attempting to start /opt/kf5-5.81.0/bin/plasmashell
KCrash: Application 'plasmashell' crashing...
KCrash: Attempting to start /opt/kf5/lib/libexec/drkonqi
org.kde.drkonqi: found lsb_release
org.kde.drkonqi: Using /proc to determine executable path
org.kde.drkonqi: exe "/opt/kf5-5.81.0/bin/plasmashell" has deleted files: false
org.kde.drkonqi: Executable is: "/opt/kf5-5.81.0/bin/plasmashell"
org.kde.drkonqi: Executable exists: true
org.kde.drkonqi: Check debugger if "kdbgwin" [ "kdbgwin" ] is installed: false
org.kde.drkonqi: Check debugger if "gdb" [ "gdb" ] is installed: true
org.kde.drkonqi: Using debugger: "gdb"
org.kde.drkonqi: Enabling drkonqi crash catching
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
kf.coreaddons: Failed to find os-release file!
kf.plasma.quick: Applet preload policy set to 1
kde.systemtray: Adding applet: "org.kde.plasma.devicenotifier"
kde.systemtray: Adding applet: "touchpad"
kde.systemtray: Adding applet: "org.kde.plasma.volume"
kde.systemtray: Adding applet: "org.kde.plasma.nightcolorcontrol"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.keyboardlayout" "org.kde.keyboard.wayland"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.bluetooth" "org.bluez"
kde.systemtray: Adding applet: "org.kde.plasma.notifications"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.mediacontroller" "org.mpris.MediaPlayer2.*"
kde.systemtray: Adding applet: "org.kde.plasma.vault"
kde.systemtray: Adding applet: "org.kde.plasma.keyboardindicator"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.networkmanagement" "org.freedesktop.NetworkManager"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.battery" "org.kde.Solid.PowerManagement"
kde.systemtray: Adding applet: "org.kde.plasma.clipboard"
kde.systemtray: Adding applet: "org.kde.plasma.devicenotifier"
kde.systemtray: Adding applet: "touchpad"
kde.systemtray: Adding applet: "org.kde.plasma.volume"
kde.systemtray: Adding applet: "org.kde.plasma.nightcolorcontrol"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.keyboardlayout" "org.kde.keyboard.wayland"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.bluetooth" "org.bluez"
kde.systemtray: Adding applet: "org.kde.plasma.notifications"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.mediacontroller" "org.mpris.MediaPlayer2.*"
kde.systemtray: Adding applet: "org.kde.plasma.vault"
kde.systemtray: Adding applet: "org.kde.plasma.keyboardindicator"
kde.systemtray: Adding applet: "org.kde.plasma.diskquota"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.networkmanagement" "org.freedesktop.NetworkManager"
kde.systemtray: Found DBus-able Applet:  "org.kde.plasma.battery" "org.kde.Solid.PowerManagement"
kde.systemtray: Adding applet: "org.kde.plasma.clipboard"
org.kde.drkonqi: Sending SIGSTOP to process
laachta [ /tmp ]$ trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
Plasma Shell startup completed
org.kde.plasma.pulseaudio: Attempting connection to PulseAudio sound daemon
org.kde.plasma.pulseaudio: QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.plasma.pulseaudio: returning roles QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.plasma.pulseaudio: returning roles QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.plasma.pulseaudio: returning roles QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.plasma.pulseaudio: returning roles QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.plasma.notifications: Registered JobViewServer service on DBus
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
Could not create Plasma Calendar Plugin:  "/opt/kf5-5.75.0/lib/plugins/plasmacalendarplugins/holidaysevents.so"
"The shared library was not found."
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:493:13: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.panelspacer/contents/ui/main.qml:53:5: Unable to assign [undefined] to QQuickGridLayout*
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:493:13: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:554:5: QML Label: Binding loop detected for property "height"
trying to show an empty dialog
kde.systemtray: DBus service "org.kde.Solid.PowerManagement" matching QRegExp(patternSyntax=1, pattern='"org.kde.Solid.PowerManagement"') appeared. Loading "org.kde.plasma.battery"
kde.systemtray: Adding applet: "org.kde.plasma.battery"
kde.systemtray: DBus service "org.freedesktop.NetworkManager" matching QRegExp(patternSyntax=1, pattern='"org.freedesktop.NetworkManager"') appeared. Loading "org.kde.plasma.networkmanagement"
kde.systemtray: Adding applet: "org.kde.plasma.networkmanagement"
kde.systemtray: DBus service "org.kde.Solid.PowerManagement" matching QRegExp(patternSyntax=1, pattern='"org.kde.Solid.PowerManagement"') appeared. Loading "org.kde.plasma.battery"
kde.systemtray: Adding applet: "org.kde.plasma.battery"
kde.systemtray: DBus service "org.freedesktop.NetworkManager" matching QRegExp(patternSyntax=1, pattern='"org.freedesktop.NetworkManager"') appeared. Loading "org.kde.plasma.networkmanagement"
kde.systemtray: Adding applet: "org.kde.plasma.networkmanagement"
kde.systemtraycontainer: Containment id 54 that used to be a system tray was deleted
qml: +++ new BUtton textsDisable,Cancel
qml: +++ new BUtton textsDisable,Cancel
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
qml:  in external window
org.kde.plasma.pulseaudio: QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: QHash((263, "Muted")(262, "Volume")(265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "Name")(268, "ChannelVolumes")(271, "VirtualStream")(270, "Client")(257, "PulseObject")(273, "Corked")(259, "Index")(272, "DeviceIndex")(258, "ObjectName")(261, "Properties")(260, "IconName"))
Cyclic dependency detected between "file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
org.kde.plasma.notifications: Registered Notification service on DBus
org.kde.plasma.pulseaudio: QHash((263, "Device")(262, "Name")(265, "Muted")(264, "Volume")(267, "VolumeWritable")(266, "HasVolume")(269, "ChannelVolumes")(268, "Channels")(270, "DeviceIndex")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName"))
org.kde.klipper: Setting selection to < "kquitapp5 plasmashell" >
org.kde.klipper: Setting clipboard to < "kquitapp5 plasmashell" >
file:///opt/kf5-5.81.0/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
kde.systemtraycontainer: Containment id 72 that used to be a system tray was deleted
qml: +++ new BUtton textsDisable,Cancel
qml: +++ new BUtton textsDisable,Cancel
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:308:9: QML QQuickItem: Binding loop detected for property "height"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
file:///opt/kf5-5.81.0/lib/qml/org/kde/plasma/components/Dialog.qml:274:5: QML QQuickItem: Binding loop detected for property "width"
qml:  in external window
org.kde.plasma.pulseaudio: QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: returning roles QHash((265, "VolumeWritable")(264, "HasVolume")(267, "RawChannels")(266, "Channels")(269, "State")(268, "ChannelVolumes")(271, "Description")(270, "Name")(257, "PulseObject")(259, "Index")(258, "ObjectName")(261, "Properties")(260, "IconName")(263, "Muted")(262, "Volume")(273, "CardIndex")(272, "FormFactor")(275, "ActivePortIndex")(274, "Ports")(277, "VirtualDevice")(276, "Default"))
org.kde.plasma.pulseaudio: state callback
org.kde.drkonqi: Sending SIGCONT to process
Comment 6 Konrad Materka 2021-05-01 16:58:24 UTC
Created attachment 138061 [details]
listIcons.sh
Comment 7 Vaclav Masin 2021-05-01 17:13:41 UTC
I'm sorry - would you like me to run that listIcons.sh script?

Also, I've tried again using my test account (on this main rig of mine - I've just switched the "kf5" symlink to point to the 5.21.4 Plasma build) and while I did have Plasma crash on me once, I can't really reproduce it reliably there no matter what I do - I kept trying starting up and closing a few sys tray affecting apps over and over and no luck to make it crash, apart from that one time.
Comment 8 Konrad Materka 2021-05-01 17:28:35 UTC
Can you run attached script before running KTorrent? It lists SNI icons. System tray has two types of items: applets and Status Notifier Items (SNI). Ktorrent, Skype, Discord and etc are using SNI to add icons to System Tray.

Can you attach fresh crash after running KTorrent (the best as en attachment, it is quite long)? If you have troubles generating backtrace, please check:
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 9 Konrad Materka 2021-05-01 17:34:10 UTC
(In reply to Vaclav Masin from comment #7)
> Also, I've tried again using my test account (on this main rig of mine -
> I've just switched the "kf5" symlink to point to the 5.21.4 Plasma build)
Maybe that's the root cause - in Bug 435991 kded5 process was crashing in loop, causing crash in system tray. Maybe your situation is similar.

> and while I did have Plasma crash on me once, I can't really reproduce it
That one crash - was the cause the same? Do you have backtrace (coredump)?

If it is not crashing after change in symlink/compile paths/etc then this is good news!

As a separate task I will fix plasma crashing on kded5 restart.
Comment 10 Vaclav Masin 2021-05-01 18:23:45 UTC
Created attachment 138063 [details]
Output of the listIcons.sh script just before running ktorrent.
Comment 11 Vaclav Masin 2021-05-01 18:25:32 UTC
Created attachment 138064 [details]
Crash dump after running ktorrent (copied from KDE Crash Handler)
Comment 12 Vaclav Masin 2021-05-01 18:28:55 UTC
I should possibly mention one more thing perhaps somewhat unique to my setup and that is that I have two panels (top + bottom), both containing the sys tray, the bottom one however displaying just the keyboard layout icon and nothing else.

Possibly not important at all, just saying...
Comment 13 Vaclav Masin 2021-05-01 18:36:59 UTC
(In reply to Konrad Materka from comment #9)
> (In reply to Vaclav Masin from comment #7)
>
> > and while I did have Plasma crash on me once, I can't really reproduce it
> That one crash - was the cause the same? Do you have backtrace (coredump)?
>

Sadly, I was a bit too quick to close the Crash Handler dialogue window that one time. :-( Sorry...
 
> If it is not crashing after change in symlink/compile paths/etc then this is
> good news!
> 

I'm not sure this could possibly have anything to do with that "/opt/kf5" symlink. That symlink just points to either /opt/kf5-5.77.0 or /opt/kf5-81.0.0 to switch between the two completely separate builds. I can't see the two affecting one another.
Comment 14 Vaclav Masin 2021-05-01 19:04:33 UTC
Created attachment 138065 [details]
Crash dump on the test user account

Tried once more to make it crash on that fresh user account and after a while I did - this time after trying to start up Kopete. Was smart enough this time to save the dump so there you are. Looks like the same kind of crash to me...
Comment 15 Konrad Materka 2021-05-01 19:48:29 UTC
Git commit 26f369ad7a23fb51d685438c51fec97654ca63e6 by Konrad Materka.
Committed on 01/05/2021 at 19:41.
Pushed by kmaterka into branch 'master'.

[dataengine] Emit sourceRemoved earlier

Emit `sourceRemoved` before source is actually removed, so that
visualization has a chance to disconnect itself.
Related: bug 436180, bug 435991

M  +2    -2    src/plasma/dataengine.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/26f369ad7a23fb51d685438c51fec97654ca63e6
Comment 16 Konrad Materka 2021-05-01 20:17:33 UTC
(In reply to Vaclav Masin from comment #13)
> I'm not sure this could possibly have anything to do with that "/opt/kf5"
> symlink. That symlink just points to either /opt/kf5-5.77.0 or
> /opt/kf5-81.0.0 to switch between the two completely separate builds. I
> can't see the two affecting one another.
Plasma 5.21 requires at least KF5 5.78. KDE Neon uses 5.81.

(In reply to Vaclav Masin from comment #14)
> Looks like the same kind of crash to me...
Yes, it is the same. Was it with old or new KF5?
Comment 17 Vaclav Masin 2021-05-01 20:32:57 UTC
(In reply to Konrad Materka from comment #16)
> (In reply to Vaclav Masin from comment #13)
> > I'm not sure this could possibly have anything to do with that "/opt/kf5"
> > symlink. That symlink just points to either /opt/kf5-5.77.0 or
> > /opt/kf5-81.0.0 to switch between the two completely separate builds. I
> > can't see the two affecting one another.
> Plasma 5.21 requires at least KF5 5.78. KDE Neon uses 5.81.

Yeah, I'm aware. Those directory names are probably a bit misleading. They both contain complete sets of KDE tools from the respective time period, not just the Frameworks.

> (In reply to Vaclav Masin from comment #14)
> > Looks like the same kind of crash to me...
> Yes, it is the same. Was it with old or new KF5?

This was also on the 5.21.4 Plasma (and KF 5.81).
Comment 18 Vaclav Masin 2021-05-01 21:09:13 UTC
I've tried again with the patch applied and it's still crashing for me.

I've only rebuilt plasma-framework-5.81.0, mind you, not the whole Plasma. But I believe that should be sufficient, shouldn't it?
Comment 19 Konrad Materka 2021-05-01 22:11:35 UTC
Created attachment 138070 [details]
workaround for missing DataSource

(In reply to Vaclav Masin from comment #18)
> I've tried again with the patch applied and it's still crashing for me.
> 
> I've only rebuilt plasma-framework-5.81.0, mind you, not the whole Plasma.
> But I believe that should be sufficient, shouldn't it?

You read my mind :) Unfortunately your case is not caused by the same issue and is really strange. It should not be possible...

Can you apply attached patch? It is an ugly workaround, Plasma should not crash anymore. It also adds some logs, so can you run plasmashell from terminal (for example with kquitapp5 and kstart5) until you get log starting with: "No DataContainer for"? Then please run listIcons.sh. I don't know what is going on - KTorrent adds new icons (SNI) to System Tray, then "model" with all icons is sorted and Plasma crashes while trying to read data from one of the items. I wonder if that's the newly added item/icon, or something different.
Comment 20 Vaclav Masin 2021-05-02 07:40:39 UTC
(In reply to Konrad Materka from comment #19)
> Created attachment 138070 [details]
> workaround for missing DataSource
> 
> (In reply to Vaclav Masin from comment #18)
> > I've tried again with the patch applied and it's still crashing for me.
> > 
> > I've only rebuilt plasma-framework-5.81.0, mind you, not the whole Plasma.
> > But I believe that should be sufficient, shouldn't it?
> 
> You read my mind :) Unfortunately your case is not caused by the same issue
> and is really strange. It should not be possible...
> 
> Can you apply attached patch? It is an ugly workaround, Plasma should not
> crash anymore. It also adds some logs, so can you run plasmashell from
> terminal (for example with kquitapp5 and kstart5) until you get log starting
> with: "No DataContainer for"? Then please run listIcons.sh. I don't know
> what is going on - KTorrent adds new icons (SNI) to System Tray, then
> "model" with all icons is sorted and Plasma crashes while trying to read
> data from one of the items. I wonder if that's the newly added item/icon, or
> something different.

I'm starting to feel a little bit bad for taking so much of your time on an issue that due the uniqueness of my setup is quite possibly experienced by no one else on the whole planet than me.

Anyway, the "ugly" patch indeed seems to prevent plasmashell from crashing. I'm going to attach the two outputs you ask for now.
Comment 21 Vaclav Masin 2021-05-02 07:41:20 UTC
Created attachment 138073 [details]
plasma-shell.log
Comment 22 Vaclav Masin 2021-05-02 07:42:04 UTC
Created attachment 138074 [details]
listIcons-output2.txt
Comment 23 Konrad Materka 2021-05-02 10:24:20 UTC
(In reply to Vaclav Masin from comment #20)
> I'm starting to feel a little bit bad for taking so much of your time on an
> issue that due the uniqueness of my setup is quite possibly experienced by
> no one else on the whole planet than me.
Quite possibly, but it already motivated me to fix similar problem :) It is possible that your issue is totally valid and can happen for someone else. It is also possible that is unique to your setup. We can try to investigate a little bit more, fit it or leave it - at least there is a workaround.
Of course this works in other direction - if you are fed up with this just comment we can leave it as it is.

> Anyway, the "ugly" patch indeed seems to prevent plasmashell from crashing.
> I'm going to attach the two outputs you ask for now.

The output is quite suprising. It tries to use item with empty service id (Data Source). It should be something like: ":1.9/StatusNotifierItem" (as in listIcons.sh output).

In this case there two processes: plasmashell (all panels, applets, desktop etc) and kded5 (daemons with one important: StatusNotifierWatcher).

I'll attach new patch with additional logs. Can you apply, restart plasmashell (with QT_LOGGING_RULES) and try to reproduce?

After that, can you restart kded5 and try to reproduce?
killall kded5; QT_LOGGING_RULES=*kde*=true kded5 &

kded5 holds the state of Status Notifier Items (SNIs). Idea is that this state is corrupted for whatever reason with some empty items. If that's the case restart should fix it (temporarily). After restart in plasmashell logs you should see entries like:
kde.dataengine.sni: Service "org.kde.StatusNotifierWatcher" status change, old owner: "" new: ":1.144"
kde.dataengine.sni: Registering ":1.125/org/ayatana/NotificationItem/discord1"
Comment 24 Konrad Materka 2021-05-02 10:25:59 UTC
Created attachment 138081 [details]
workaround and additional logs
Comment 25 Vaclav Masin 2021-05-02 11:46:25 UTC
(In reply to Konrad Materka from comment #23)
> (In reply to Vaclav Masin from comment #20)
> > I'm starting to feel a little bit bad for taking so much of your time on an
> > issue that due the uniqueness of my setup is quite possibly experienced by
> > no one else on the whole planet than me.
> Quite possibly, but it already motivated me to fix similar problem :) It is
> possible that your issue is totally valid and can happen for someone else.
> It is also possible that is unique to your setup. We can try to investigate
> a little bit more, fit it or leave it - at least there is a workaround.
> Of course this works in other direction - if you are fed up with this just
> comment we can leave it as it is.
> 

I'd certainly prefer to get it fixed properly. As long as you're not fed up with me yet, I'm happy to cooperate.

> > Anyway, the "ugly" patch indeed seems to prevent plasmashell from crashing.
> > I'm going to attach the two outputs you ask for now.
> 
> The output is quite suprising. It tries to use item with empty service id
> (Data Source). It should be something like: ":1.9/StatusNotifierItem" (as in
> listIcons.sh output).
> 
> In this case there two processes: plasmashell (all panels, applets, desktop
> etc) and kded5 (daemons with one important: StatusNotifierWatcher).
> 
> I'll attach new patch with additional logs. Can you apply, restart
> plasmashell (with QT_LOGGING_RULES) and try to reproduce?
> 
> After that, can you restart kded5 and try to reproduce?
> killall kded5; QT_LOGGING_RULES=*kde*=true kded5 &
> 
> kded5 holds the state of Status Notifier Items (SNIs). Idea is that this
> state is corrupted for whatever reason with some empty items. If that's the
> case restart should fix it (temporarily). After restart in plasmashell logs
> you should see entries like:
> kde.dataengine.sni: Service "org.kde.StatusNotifierWatcher" status change,
> old owner: "" new: ":1.144"
> kde.dataengine.sni: Registering
> ":1.125/org/ayatana/NotificationItem/discord1"

So you want me to undo that "ugly" patch, apply the new one, restart with the logging enabled, try to trigger the crash and post the log? Although looking at the new patch the "ugly" code seems still there, so I shouldn't be able to reproduce the crash. So I guess you just want the extended log, with an attempt to start up e.g. ktorrent or so?
Comment 26 Konrad Materka 2021-05-02 11:51:43 UTC
(In reply to Vaclav Masin from comment #25)
> So you want me to undo that "ugly" patch, apply the new one, restart with
> the logging enabled, try to trigger the crash and post the log? Although
> looking at the new patch the "ugly" code seems still there, so I shouldn't
> be able to reproduce the crash. So I guess you just want the extended log,
> with an attempt to start up e.g. ktorrent or so?
My bad, I was not clear. Attempt is enough, just to get "No DataContainer for" log message. Plasma would crash at that moment, now it just logs unexpected state.
Comment 27 Vaclav Masin 2021-05-02 12:50:16 UTC
Created attachment 138082 [details]
Log after plasmashell restart
Comment 28 Vaclav Masin 2021-05-02 12:50:48 UTC
Created attachment 138083 [details]
Log after kded5 restart
Comment 29 Vaclav Masin 2021-05-02 12:52:51 UTC
Added the two logs. Hope I got it right - both are after restarting plasmashell or kded5 with logging and then starting up ktorrent.
Comment 30 Konrad Materka 2021-05-02 12:58:19 UTC
Can you also add plasmashell logs after kded5 restart?
Comment 31 Vaclav Masin 2021-05-02 13:06:59 UTC
Created attachment 138084 [details]
Plasmashell log extra lines
Comment 32 Vaclav Masin 2021-05-02 13:08:33 UTC
(In reply to Vaclav Masin from comment #31)
> Created attachment 138084 [details]
> Plasmashell log extra lines

Added whatever extra lines appeared on the Konsole tab where I previously restared plasmashell.

I haven't restarted either plasmashell or kded5 again. Hope that's what you meant.
Comment 33 Konrad Materka 2021-05-02 15:35:01 UTC
Created attachment 138089 [details]
patch: workaround + even more logs

It was useful, thank you. Are all the expected icons correctly rendered? In listIcons.sh output there are several icons like KMail, KMix etc - are all of them visible and working? Do you have any empty space in Entries section of System Tray settings (probably at the end of list)?

I've added new patch with even more logging - can you apply, start plasma, start Ktorrent and attach logs? As before, try to reproduce the issue with "No Data source for" log.
Comment 34 Vaclav Masin 2021-05-02 17:02:50 UTC
Created attachment 138090 [details]
Plasmashell extended logging
Comment 35 Vaclav Masin 2021-05-02 17:03:50 UTC
See above for the extended logging log.
Comment 36 Konrad Materka 2021-05-02 20:59:20 UTC
Created attachment 138098 [details]
patch: workaround + logs attempt3

This is super strange...

To recheck: before starting of KTorrent (just after plasmashell restart)  everything should look fine: you should see all items in System Tray setting with no empty row.
After running KTorrent you should see empty rows in setting and few icons missing (KMix, KMail). After kded5 restart you should around 5 or 6 empty rows and KMix, KMail etc visible again.

To summarize what I found:
In System There is an internal list of SNI items with service id + StatusNotifierItemService pointer. You can see it as Item(...) in logs. Everything looks fine until you start new application - existing items in the list are for whatever reason cleared! Service id is empty (""). This of course breaks everything. I still don't know why...

Just to double check, can you apply attached patch (revert earlier patches)? It will log state just before item add and just after.

One more test: it seems that on start you have exactly 6 SNI icons (KMix, KMail, Kwallet etc). Can you close two of them, restart plasmashell, run something (for example KTorrent) and check logs? Is there "No DataSource for"? If not, start more apps with icons (can be these two you closed before start). This is to check if 6 is important (it is an initial capacity of the internal list).
Comment 37 Vaclav Masin 2021-05-02 21:46:34 UTC
Created attachment 138100 [details]
Plasma shell extended logging 2
Comment 38 Vaclav Masin 2021-05-02 21:49:05 UTC
Created attachment 138101 [details]
System Tray settings screenshot - empty items
Comment 39 Vaclav Masin 2021-05-02 22:27:53 UTC
(In reply to Konrad Materka from comment #36)
> Created attachment 138098 [details]
> patch: workaround + logs attempt3
> 
> This is super strange...
> 
> To recheck: before starting of KTorrent (just after plasmashell restart) 
> everything should look fine: you should see all items in System Tray setting
> with no empty row.

This seems to be correct.

> After running KTorrent you should see empty rows in setting and few icons
> missing (KMix, KMail).

Yes, those empty rows in system tray settings windows are now actually even all over the place - see the attached screenshot.

> After kded5 restart you should around 5 or 6 empty
> rows and KMix, KMail etc visible again.
> 

Yes, this recovers the icons in the systray but those empty items in system tray settings are still there.

> To summarize what I found:
> In System There is an internal list of SNI items with service id +
> StatusNotifierItemService pointer. You can see it as Item(...) in logs.
> Everything looks fine until you start new application - existing items in
> the list are for whatever reason cleared! Service id is empty (""). This of
> course breaks everything. I still don't know why...
> 
> Just to double check, can you apply attached patch (revert earlier patches)?
> It will log state just before item add and just after.
> 

Done - see the attached log called " Plasma shell extended logging 2".

> One more test: it seems that on start you have exactly 6 SNI icons (KMix,
> KMail, Kwallet etc). Can you close two of them, restart plasmashell, run
> something (for example KTorrent) and check logs? Is there "No DataSource
> for"?

There are those "No DataContainer for" (I'm guessing you meant that and not "No DataSource for") after restarting Plasmashell, but not after starting up one app after that.

> If not, start more apps with icons (can be these two you closed before
> start). This is to check if 6 is important (it is an initial capacity of the
> internal list).

Yeah, all the hell seems to break loose once I start the +1 app. There are some more "No DataContainer for" messages and some icons disappear from the sys tray and there are suddenly those empty items in System Tray settings.
Comment 40 Konrad Materka 2021-05-03 10:54:37 UTC
Created attachment 138114 [details]
testVector.zip

So the problem is around:
m_items.append(item);
when QVector changes capacity beyond 6... After this operation QString in old items is empty. I don't know why this happens :(

I attached very simple test application that does similar thing. I guess it will work correctly but worth a try.

Does your problem happen if you remove second system tray? Or on entirely fresh user? Can you try different scenarios? I'm completely out of clues :(
Comment 41 Vaclav Masin 2021-05-03 14:38:52 UTC
(In reply to Konrad Materka from comment #40)
> Created attachment 138114 [details]
> testVector.zip
> 
> So the problem is around:
> m_items.append(item);
> when QVector changes capacity beyond 6... After this operation QString in
> old items is empty. I don't know why this happens :(
> 
> I attached very simple test application that does similar thing. I guess it
> will work correctly but worth a try.
> 
I'm going to attach output of that test application below. There were none of those "something went wrong" messages so I guess it worked correctly?

> Does your problem happen if you remove second system tray?
Removing the second system tray didn't change anything - I still get those empty system tray items once I startup an extra app.

> Or on entirely fresh user?
I was able to reproduce it (after some persuading) even for a fresh user.

> Can you try different scenarios? I'm completely out of clues :(
Don't worry about it.

I've been thinking... would it make any sense for me to try to debug it myself? I mean going step by step over the code, watching the data structure that holds the systray data along the way and waiting for it to get broken at some point? I'd obviously need a nudge in the right direction from you as to where in the code to start etc. But I'm a bit of a developer myself (mostly just PHP these days), even though I haven't touched c/c++ in a quite some time and don't believe I've ever done any sort of debugging in gdb yet. So I thought this might work.

What do you think - does it sound feasible to you? Or way too much effort and skill required? Or not even possible to do it like this?
Comment 42 Vaclav Masin 2021-05-03 14:39:29 UTC
Created attachment 138117 [details]
Test Vector app output
Comment 43 Konrad Materka 2021-05-03 18:19:00 UTC
(In reply to Vaclav Masin from comment #41)
> I've been thinking... would it make any sense for me to try to debug it
> myself? I mean going step by step over the code, watching the data structure
> that holds the systray data along the way and waiting for it to get broken
> at some point? I'd obviously need a nudge in the right direction from you as
> to where in the code to start etc.

That would be the only feasible way :)

the problem is around line:
m_items.append(item);
in SystemTrayModel. Unfortunately somewhere inside QVector implementation. Initially QVector has very low capacity (to save memory), when one adds more items more memory is allocated (0 -> 2 -> 6 -> 14 -> 30 -> 62...). Your problem occurs when capacity goes from 6 to 14 - probably QString "source" is wrongly moved which ends in empty string (""). Test vector app does exactly the same QVector resizing but it works correctly...

It is very unlikely that this is a problem in Qt library, it is used by thousands if not millions, this kind of issue would be detected long time ago. So must be a problem with QVector usage. I wrote this code (SystemTrayModel) but I'm not an C++ expert (mostly Java). Probably there is non-obvious but trivial things that should be added.

There are few things you can check:

* this is my best guess, in systemtraymodel.h add:
Q_DECLARE_TYPEINFO(StatusNotifierModel::Item, Q_MOVABLE_TYPE);
StatusNotifierModel::Item must be public - it is after my last patch, but you can do better and:

* move struct Item outside of StatusNotifierModel. In cpp file usage would be just Item, instead of StatusNotifierModel::Item. you can change struct name to something like struct StatusNotifierModelItem

* add deep copy when assigning item.source (this should never be need, only to test if there is a problem with data sharing in Qt):
#include <QDeepCopy>
item.source = QDeepCopy(sourceName);

* this is ugly hack, but you can allocate bigger space for m_items in constructor of SystemTrayModel:
    m_items.resize(1000);
    m_items.clear();
this is unacceptable in production code but can confirm my hypothesis about QVector resize (and bad reallocation)
Comment 44 Vaclav Masin 2021-05-03 20:01:37 UTC
Alright, great and thanks for all the tips!

Hopefully last two questions, then I'll finally leave you alone. At least until I can come up with something interesting myself, that is:

- so I guess in order to be able to debug stuff I need to rebuild the whole KDE set with CMAKE_BUILD_TYPE=Debug, right?

- then I should be able to run plasmashell through gdb, put breakpoints in the code, trace it line by line etc.?
Comment 45 Konrad Materka 2021-05-04 07:02:47 UTC
(In reply to Vaclav Masin from comment #44)
> - so I guess in order to be able to debug stuff I need to rebuild the whole
> KDE set with CMAKE_BUILD_TYPE=Debug, right?
IIRC by default it is RELWITHDEBINFO. You had debug symbols in crash report so default should be fine. 

> - then I should be able to run plasmashell through gdb, put breakpoints in
> the code, trace it line by line etc.?
Probably not needed, we know the line which cases the problem, including state before and after (all items are logged). You can just apply more changes and check logs - IMO that the fastest way.
Comment 46 Konrad Materka 2021-05-05 20:28:33 UTC
Git commit 5984d4960fa5ecf60a20b1fbc782fb841faa4af7 by Konrad Materka.
Committed on 04/05/2021 at 07:14.
Pushed by kmaterka into branch 'master'.

[dataengine] Emit sourceRemoved earlier

Emit `sourceRemoved` before source is actually removed, so that
visualization has a chance to disconnect itself.
Related: bug 436180, bug 435991

M  +2    -2    src/plasma/dataengine.cpp

https://invent.kde.org/frameworks/plasma-framework/commit/5984d4960fa5ecf60a20b1fbc782fb841faa4af7
Comment 47 Vaclav Masin 2021-06-06 14:26:13 UTC
Hey,

I'd like to just for the record wrap this up a little by stating that this whole "bug" of mine was most likely caused by my somewhat old-ish compiler version (gcc 8.2) somehow producing a broken code. After upgrading to gcc 10.2 this whole issue just disappeared - I've been using Plasma 5.21 built with it on three different machines now for a few weeks without a single crash.

Again sorry for wasting anyone's time on this.

Regards

Vaclav