[plasmashell] [Bug 451053] Plasma crashed in SystemTray::onEnabledAppletsChanged() when I attached an external monitor

2022-03-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451053

Nate Graham  changed:

   What|Removed |Added

 CC||ferenos...@outlook.com

--- Comment #3 from Nate Graham  ---
*** Bug 451864 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 451053] Plasma crashed in SystemTray::onEnabledAppletsChanged() when I attached an external monitor

2022-03-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451053

Nate Graham  changed:

   What|Removed |Added

 CC||gurpreet88.san...@gmail.com

--- Comment #2 from Nate Graham  ---
*** Bug 451114 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 451053] Plasma crashed in SystemTray::onEnabledAppletsChanged() when I attached an external monitor

2022-03-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=451053

Nate Graham  changed:

   What|Removed |Added

 CC||mate...@gmail.com,
   ||n...@kde.org
Summary|Plasma shell crashed when I |Plasma crashed in
   |attached an external|SystemTray::onEnabledApplet
   |monitor.|sChanged() when I attached
   ||an external monitor
  Component|general |System Tray

--- Comment #1 from Nate Graham  ---
> #6  0x7fe39c084e47 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  0x7fe3ac33f01a in ?? () from /lib/x86_64-linux-gnu/libKF5Plasma.so.5
> #5  0x7fe3ac33b116 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!

-- 
You are receiving this mail because:
You are watching all bug changes.