Summary: | KSMServer crashed in KSMServer::completeShutdownOrCheckpoint() when running multiple logout commands consecutively when logout was blocked by an active tab in Konsole | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Roke Julian Lockhart Beedell <4wy78uwh> |
Component: | Session Management | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | natalie_clarius, nate |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 6.4.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: |
https://bugzilla.redhat.com/show_bug.cgi?id=2390829 https://bugs.kde.org/show_bug.cgi?id=506880 |
||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/badaa00c0ea513ef840bd7cabd9e62be8bdd3f00 | Version Fixed In: | 6.5.0 |
Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/240949/events/fdf19f66fae64c7191e7cf4a1ab2fb37/ |
Description
Roke Julian Lockhart Beedell
2025-08-25 17:17:46 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0) I've since updated the linked issue's description to be more... descriptive. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5838 Git commit 3f2b85e73fa104798b333296f241f0a4aee3702d by Vlad Zahorodnii, on behalf of David Edmundson. Committed on 24/09/2025 at 14:02. Pushed by vladz into branch 'master'. ksmserver: Fix memory management of notification Cleanup of notifications happens automatically when they are closed. There is a fallback timer here that uses the state to check if it should perform additional cleanup. This is not safe as if we ever had two notifications within 5 seconds we could be in the state WaitingForKnotify but still have the first notification active at this point. We can let KNotification autodelete continue to take care of it. M +1 -2 ksmserver/logout.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/3f2b85e73fa104798b333296f241f0a4aee3702d Git commit badaa00c0ea513ef840bd7cabd9e62be8bdd3f00 by Vlad Zahorodnii. Committed on 25/09/2025 at 06:18. Pushed by vladz into branch 'Plasma/6.5'. ksmserver: Fix memory management of notification Cleanup of notifications happens automatically when they are closed. There is a fallback timer here that uses the state to check if it should perform additional cleanup. This is not safe as if we ever had two notifications within 5 seconds we could be in the state WaitingForKnotify but still have the first notification active at this point. We can let KNotification autodelete continue to take care of it. (cherry picked from commit 3f2b85e73fa104798b333296f241f0a4aee3702d) Co-authored-by: David Edmundson <kde@davidedmundson.co.uk> M +1 -2 ksmserver/logout.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/badaa00c0ea513ef840bd7cabd9e62be8bdd3f00 |