Summary: | KCoreConfigSkeleton::save() will leave an invalid file descriptor and make the number of fd reach the limit | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kconfig | Reporter: | Fushan Wen <qydwhotmail> |
Component: | general | Assignee: | Matthew Dawson <matthew> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs, nate |
Priority: | HI | ||
Version: | 5.97.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=458817 | ||
Latest Commit: | https://invent.kde.org/plasma/kde-gtk-config/commit/d5c646f151d1ac7e3fc7c5ff9178b000321a9ab6 | Version Fixed In: | 5.26 |
Sentry Crash Report: |
Description
Fushan Wen
2022-08-28 13:43:19 UTC
*** Bug 458817 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/kde-gtk-config/-/merge_requests/47 Git commit 3c2437815920856608a27361fe1da03e763742a5 by Fushan Wen. Committed on 04/10/2022 at 15:41. Pushed by fusionfuture into branch 'master'. kded: properly delete factory to fix file descriptor leak Not unloading the plugin loader will cause file descriptor leaks in kded, and when fd limit is reached, accent color can't be updated anymore because updating accent color requires writing to kdeglobals. This fixes the leak and also fixes the accent color bug. Related: bug 458817, bug 459870 FIXED-IN: 5.26 M +5 -5 kded/kwin_bridge/dummydecorationbridge.cpp M +2 -1 kded/kwin_bridge/dummydecorationbridge.h https://invent.kde.org/plasma/kde-gtk-config/commit/3c2437815920856608a27361fe1da03e763742a5 Git commit d5c646f151d1ac7e3fc7c5ff9178b000321a9ab6 by Fushan Wen. Committed on 04/10/2022 at 16:33. Pushed by fusionfuture into branch 'Plasma/5.26'. kded: properly delete factory to fix file descriptor leak Not unloading the plugin loader will cause file descriptor leaks in kded, and when fd limit is reached, accent color can't be updated anymore because updating accent color requires writing to kdeglobals. This fixes the leak and also fixes the accent color bug. Related: bug 458817, bug 459870 FIXED-IN: 5.26 (cherry picked from commit 3c2437815920856608a27361fe1da03e763742a5) M +5 -5 kded/kwin_bridge/dummydecorationbridge.cpp M +2 -1 kded/kwin_bridge/dummydecorationbridge.h https://invent.kde.org/plasma/kde-gtk-config/commit/d5c646f151d1ac7e3fc7c5ff9178b000321a9ab6 |