Summary: | Plasma sometimes crashes in SystemTray::onEnabledAppletsChanged() when I attached an external monitor or change the desktop layout | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | dhanav |
Component: | System Tray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | baroncs1, bugseforuns, ferenosdev, gurpreet88.sandhu, kde, materka, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.24.2 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
dhanav
2022-03-02 19:47:02 UTC
> #6 0x00007fe39c084e47 in SystemTray::onEnabledAppletsChanged (this=0x556bcd043760) at ./applets/systemtray/systemtray.cpp:292 Here's line 292 for that file, plus context: > void SystemTray::onEnabledAppletsChanged() > { > // remove all that are not allowed anymore > const auto appletsList = applets(); > for (Plasma::Applet *applet : appletsList) { > // Here it should always be valid. > // for some reason it not always is. > if (!applet->pluginMetaData().isValid()) { > applet->config().parent().deleteGroup(); <-----------------------Line 292 > applet->deleteLater(); > } else { > const QString task = applet->pluginMetaData().pluginId(); > if (!m_settings->isEnabledPlugin(task)) { > // in those cases we do delete the applet config completely > // as they were explicitly disabled by the user > applet->config().parent().deleteGroup(); > applet->deleteLater(); > m_configGroupIds.remove(task); > } > } > } > } Not a code expert, can't tell if this is an issue in the System Tray, or deeper in plasma framework. Unfortunately the first two lines of the backtrace don't have debug symbols: > #4 0x00007fe3ac33f01a in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5 > #5 0x00007fe3ac33b116 in Plasma::Containment::applets() const () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5 Could you please install debug symbols for frameworks-plasma, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Thanks again! *** Bug 451114 has been marked as a duplicate of this bug. *** *** Bug 451864 has been marked as a duplicate of this bug. *** *** Bug 451791 has been marked as a duplicate of this bug. *** Looks like this just got fixed by the fix for Bug 453726! If anyone can still reproduce the issue by getting a crash with the same backtrace after upgrading to Plasma 5.24.6, please feel free to re-open this, though. *** This bug has been marked as a duplicate of bug 453726 *** *** Bug 454857 has been marked as a duplicate of this bug. *** |