Summary: | Crash in ShellContainmentModel::load() when attempting to delete a panel from "Manage Desktops And Panels" window | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Justin Zobel <justin.zobel> |
Component: | "Manage Desktop and Panels" window | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | mappu04, max.spies, nate, niccolo.venerandi, notmart, ripper |
Priority: | NOR | ||
Version First Reported In: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=477117 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/cf5e06e78840f89ec647a13d8c6f2e5198d7f757 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | GDB output of the crash |
Description
Justin Zobel
2023-06-21 12:41:16 UTC
Can reproduce. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3116 *** Bug 474127 has been marked as a duplicate of this bug. *** Most likely fixed by Harald Sitter with https://invent.kde.org/plasma/plasma-workspace/-/commit/3a4b85fc7bfe80bec58301444688a08821976295 in Plasma 5.27.8. Can you test again, Justin? Thanks! Yeah can confirm, thanks! *** Bug 476034 has been marked as a duplicate of this bug. *** We got a duplicate report with the same backtrace from someone using Plasma 5.27.8. Here's how they can reproduce it:
> When deleting a panel on an external monitor (connected with HDMI) plasma crashes after clicking "delete" immediately
Cannot reproduce on Plasma 6, though, and Justin says it's fixed for him too on Plasma 6. So it seems like the patch probably fixed the issue for Plasma 6, but not 5.27.8. Changing "Version Fixed In" field accordingly.
*** Bug 476991 has been marked as a duplicate of this bug. *** Re-opening as we have new duplicates. I cannot reproduce this issue, but some can reproduce it 100%. Created attachment 163178 [details]
GDB output of the crash
I can 100% reproduce this in KDE neon unstable (all up-to-date).
Additional Info (not present in my original report): This persists across reboot, so the panel really is not removed.
Just to re-iterate (see #476991 for automatic crash report):
Application: plasmashell (5.81.0)
Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.2.0-36-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.81.0 [CoredumpBackend]
-- Information about the crash:
Steps to reproduce
1.) Add new (default) Panel
2.) Activate Edit mode ("Alt+D, E") via right-click menu of the desktop
3.) Activate Editing of Desktop and Panels (translated from German, sorry)
4.) Remove any panel
Actual Result:
Plasma crashes, the panel is not removed. Note: The Edit mode (Alt+D, E) will not show the option for editing desktops and panels right now, you'd have to add another panel to enter it again.
Expected Result:
Panel is removed.
(In reply to Martin Riethmayer from comment #10) > Created attachment 163178 [details] > GDB output of the crash > > I can 100% reproduce this in KDE neon unstable (all up-to-date). > > Additional Info (not present in my original report): This persists across > reboot, so the panel really is not removed. > > Just to re-iterate (see #476991 for automatic crash report): > Application: plasmashell (5.81.0) > > Qt Version: 6.6.0 > Frameworks Version: 5.245.0 > Operating System: Linux 6.2.0-36-generic x86_64 > Windowing System: Wayland > Distribution: KDE neon Unstable Edition > DrKonqi: 5.81.0 [CoredumpBackend] > > -- Information about the crash: > Steps to reproduce > > 1.) Add new (default) Panel > 2.) Activate Edit mode ("Alt+D, E") via right-click menu of the desktop > 3.) Activate Editing of Desktop and Panels (translated from German, sorry) > 4.) Remove any panel > > Actual Result: > Plasma crashes, the panel is not removed. Note: The Edit mode (Alt+D, E) > will not show the option for editing desktops and panels right now, you'd > have to add another panel to enter it again. > > Expected Result: > Panel is removed. was the window "Manage desktop and panels" from edit mode invoked prior the crash? (as that bt goes there) With Martin's steps, I get a crash, though it has a different backtrace. I've submitted it as Bug 477117. Yes, the desktop and panel edit mode was invoked before the crash. Sorry, new to GDB. Should I upload a new one, wher I start GDB only just before really removing the panel? @Nate: I've looked at your Bug 477117, and your steps seem to be a little different: You're entering the panel edit mode and delete the panel from there, while in this bug report, I'm entering the desktop edit mode and then "Manage Desktops And Panels..." so that probably explains the different Backtrace? Makes sense, yeah. I missed that part, thanks. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3592 Git commit cf5e06e78840f89ec647a13d8c6f2e5198d7f757 by Marco Martin. Committed on 27/11/2023 at 09:47. Pushed by mart into branch 'master'. don't try to reset the model twice load() is already called when Contaiment::destroyedChanged gets triggered so calling it immediately is useless. This also caused plasma to crash as described in 471292 M +1 -1 shell/shellcontainmentconfig.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/cf5e06e78840f89ec647a13d8c6f2e5198d7f757 Cool, I can confirm there's no more crash for me after latest updates, thanks. |