https://bugs.kde.org/show_bug.cgi?id=520465
Tobias Fella <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/-/commi | |t/e4f1b6a25301de85ac0528dc4 | |3f753bdd5816fd0 Resolution|--- |FIXED --- Comment #5 from Tobias Fella <[email protected]> --- Git commit e4f1b6a25301de85ac0528dc43f753bdd5816fd0 by Tobias Fella, on behalf of Shouvik Kar. Committed on 10/07/2026 at 11:13. Pushed by tfella into branch 'master'. 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. M +36 -9 components/calendar/eventpluginsmanager.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/e4f1b6a25301de85ac0528dc43f753bdd5816fd0 -- You are receiving this mail because: You are watching all bug changes.
