https://bugs.kde.org/show_bug.cgi?id=520465
Tobias Fella <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/e4f1b6a25301de85ac0528dc4 |t/62088aba9fb8a0bbb29928e32 |3f753bdd5816fd0 |584cd3ad52906cc --- Comment #6 from Tobias Fella <[email protected]> --- Git commit 62088aba9fb8a0bbb29928e32584cd3ad52906cc by Tobias Fella, on behalf of Shouvik Kar. Committed on 10/07/2026 at 11:43. Pushed by tfella into branch 'Plasma/6.7'. components/calendar: fix use-after-free of shared calendar event plugins QPluginLoader caches one root component per plugin file, so two managers (e.g. two Digital Clocks using the same event plugin) share it. Disabling the plugin on one manager deleteLater()'d that shared root, leaving the other manager with a dangling pointer that crashed on next access. Store a QPluginLoader per plugin and let it own the lifetime: each manager load()s its own reference and unload()s it on disable, so the root is freed only when the last consumer drops it. loadPlugin() ignores a duplicate plugin id. (cherry picked from commit e4f1b6a25301de85ac0528dc43f753bdd5816fd0) M +36 -9 components/calendar/eventpluginsmanager.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/62088aba9fb8a0bbb29928e32584cd3ad52906cc -- You are receiving this mail because: You are watching all bug changes.
