Summary: | Plasma crashes in org_kde_kwin_shadow_manager::unset() while trying to stop PC from turning off monitors/sleep | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Justin Zobel <justin> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | akselmo, bugseforuns, cherkaba, jan.rathmann, kdedev, liangrui.ch, nate, vlad.zahorodnii, xaver.hugl, yule2000 |
Priority: | HI | Keywords: | wayland-only |
Version First Reported In: | 6.0.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Solus | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.5.0 | |
Sentry Crash Report: |
Description
Justin Zobel
2024-05-28 00:38:34 UTC
*** Bug 479742 has been marked as a duplicate of this bug. *** Confirming since there's a good backtrace and a duplicate report *** Bug 500465 has been marked as a duplicate of this bug. *** *** Bug 491788 has been marked as a duplicate of this bug. *** *** Bug 502823 has been marked as a duplicate of this bug. *** *** Bug 503459 has been marked as a duplicate of this bug. *** *** Bug 503460 has been marked as a duplicate of this bug. *** *** Bug 495128 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5530 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kwindowsystem/-/merge_requests/181 Git commit e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6 by Vlad Zahorodnii. Committed on 28/05/2025 at 13:13. Pushed by vladz into branch 'master'. shell: Rearrange the teardown order At the moment, the ShellCorona is destroyed after the QApplication object. Destroying something after the application object can lead to unexpected results because most of the code is written with an assumption that the app object and the associated objects, e.g. the qpa, are still valid when the cleanup code runs. This change puts the ShellCorona on the stack so the destruction order looks as follows: - destroy ShellCorona - destroy QApplication M +7 -10 shell/main.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5536 Git commit 88911e8246c0136fa07945304fc9ba7840b90f8f by Vlad Zahorodnii. Committed on 28/05/2025 at 13:36. Pushed by vladz into branch 'Plasma/6.4'. shell: Rearrange the teardown order At the moment, the ShellCorona is destroyed after the QApplication object. Destroying something after the application object can lead to unexpected results because most of the code is written with an assumption that the app object and the associated objects, e.g. the qpa, are still valid when the cleanup code runs. This change puts the ShellCorona on the stack so the destruction order looks as follows: - destroy ShellCorona - destroy QApplication (cherry picked from commit e2326d7f9e752eb18411ef4c0bcd53b8f34e02c6) Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org> M +7 -10 shell/main.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/88911e8246c0136fa07945304fc9ba7840b90f8f A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1316 No new duplicates since those patches went in; we think this is fixed in Plasma 6.5, or possibly a bit earlier. We can re-open if we get any new reports. *** Bug 507029 has been marked as a duplicate of this bug. *** |