Summary: | PowerDevil crash in Core::onKIdleTimeoutReached() | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | tokeefejr |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | agurenko, jpetso, matheus.scattolinanselmo, me, natalie_clarius, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | 6.1.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=490356 | ||
Latest Commit: | https://invent.kde.org/plasma/powerdevil/-/commit/8c1686c9e97edb9a06e06e2f41cfe5351cef7986 | Version Fixed In: | 6.1.4 |
Sentry Crash Report: |
Description
tokeefejr
2024-07-17 21:43:37 UTC
A relevant merge request has been created @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/406 Git commit 7a929fa01ed036f60c5a15c72416b4e40eb03160 by Jakob Petsovits. Committed on 18/07/2024 at 12:25. Pushed by jpetso into branch 'master'. daemon: Don't leave dangling Action pointers in idle-time containers If we delete the Action but don't clean up related map/set elements, the powerdevil daemon can crash e.g. in Core::onResumingFromIdle() and Core::onKIdleTimeoutReached(). This has been an issue since commit 584cfdf0 (or d91bc62f on 6.1) which made it possible for already-created actions to get deleted again at a later time. Related: bug 490356 M +10 -4 daemon/powerdevilcore.cpp https://invent.kde.org/plasma/powerdevil/-/commit/7a929fa01ed036f60c5a15c72416b4e40eb03160 Git commit 8c1686c9e97edb9a06e06e2f41cfe5351cef7986 by Jakob Petsovits. Committed on 18/07/2024 at 17:14. Pushed by jpetso into branch 'Plasma/6.1'. daemon: Don't leave dangling Action pointers in idle-time containers If we delete the Action but don't clean up related map/set elements, the powerdevil daemon can crash e.g. in Core::onResumingFromIdle() and Core::onKIdleTimeoutReached(). This has been an issue since commit 584cfdf0 (or d91bc62f on 6.1) which made it possible for already-created actions to get deleted again at a later time. Related: bug 490356 (cherry picked from commit 7a929fa01ed036f60c5a15c72416b4e40eb03160) Co-authored-by: Jakob Petsovits <jpetso@petsovits.com> M +10 -4 daemon/powerdevilcore.cpp https://invent.kde.org/plasma/powerdevil/-/commit/8c1686c9e97edb9a06e06e2f41cfe5351cef7986 Sorry about the version tag, the fix didn't make it into Plasma 6.1.3 but instead will be in 6.1.4 initially. *** Bug 491133 has been marked as a duplicate of this bug. *** |