Summary: | When kded5 is crashing, System Tray does not show all icons and behavior of icons is incorrect | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | jan |
Component: | System Tray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | materka, nate |
Priority: | NOR | Keywords: | regression |
Version: | 5.18.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=417545 | ||
Latest Commit: | https://commits.kde.org/plasma-nm/24c9505c67d9569cf276341e2297712ecdd95d2c | Version Fixed In: | 5.18.1 |
Sentry Crash Report: |
Description
jan
2020-02-13 09:01:21 UTC
The problem turns out to be caused by kded5 dying because the ModemManager crashes when it tries to request the PIN for my SIM card (c.f. Bug 417545). The backtrace looks like this: #0 0x00007fffe9a84c19 in ModemMonitor::requestPin(MMModemLock) () at /usr/lib/qt/plugins/kf5/kded/networkmanagement.so #1 0x00007ffff6d2846e in () at /usr/lib/libQt5Core.so.5 #2 0x00007fffe93c0522 in ModemManager::Modem::unlockRequiredChanged(MMModemLock) () at /usr/lib/libKF5ModemManagerQt.so.6 #3 0x00007fffe93c3fec in () at /usr/lib/libKF5ModemManagerQt.so.6 #4 0x00007ffff6d2026a in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #5 0x00007ffff7a16362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #6 0x00007ffff7a1f819 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #7 0x00007ffff6cf2962 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #8 0x00007ffff6cf51c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5 #9 0x00007ffff6d4b9d4 in () at /usr/lib/libQt5Core.so.5 #10 0x00007ffff592339e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #11 0x00007ffff59251b1 in () at /usr/lib/libglib-2.0.so.0 #12 0x00007ffff59251f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #13 0x00007ffff6d4b020 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #14 0x00007ffff6cf14cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #15 0x00007ffff6cf94d6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #16 0x000055555555a6ad in () #17 0x00007ffff66c5023 in __libc_start_main () at /usr/lib/libc.so.6 #18 0x000055555555a9be in () Nothing can be done in System Tray. KDED starts a DBus service which holds all StatusNotifierIcons (SNI). When it is killed (or crashed) service is lost and icons disappear. When you clicked on the vault applet it (re)started KDED, which also started SNI daemon. Proper solution is to fix this crash in KDED. Maybe KDED should automatically restart after crash? Is it possible? Can you install debug symbols and generate stack trace again? The crash is in ModemMonitor::requestPin(MMModemLock) but it is hard to guess where exactly. Thank you! The problem is fixed in 5.18.1. |