Summary: | Task Manager eats up open file descriptors on X server until maximum reached | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Juha Nikkanen <nikkej> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freddy77, kde, nate, plasma-bugs, rdieter, someuniquename |
Priority: | NOR | ||
Version: | 5.14.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-framework/1b2424879a198af3de2988f64182d70e6c0c199e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | dmesg-5.0.5-200.fc29.x86_64 |
Description
Juha Nikkanen
2019-04-07 15:38:56 UTC
*** Bug 406205 has been marked as a duplicate of this bug. *** Probably the composite handling windowthumbnail does, can confirm the number of fds grows Thanks for your investigation: I'd appreciate if you could try this patch: https://phabricator.kde.org/D20805 Kai, with your patch, problem solved. I made a local .rpm where I applied your patch and updated & rebooted (updated kernel too) and no able to trigger cumulative xshmfence handles since then. Thank you very much! I think I dare to close this bug now? The bug will get closed when the patch is committed to the git repository. Git commit 1b2424879a198af3de2988f64182d70e6c0c199e by Kai Uwe Broulik. Committed on 25/04/2019 at 13:04. Pushed by broulik into branch 'master'. [Window Thumbnail] Also monitor scene visibility and clean up Just because the item is visible doesn't mean the window itself is. Keep track of the window it's in. Use itemChange instead of connects and move the check for starting to startRedirect so we don't have to check the conditions for that in every change handler (visible && enabled && window->visible). It also saves three connects in the constructor. Also, don't unredirect if we didn't redirect in the first place to avoid warnings printed on console. Differential Revision: https://phabricator.kde.org/D20805 M +62 -32 src/declarativeimports/core/windowthumbnail.cpp M +7 -1 src/declarativeimports/core/windowthumbnail.h https://commits.kde.org/plasma-framework/1b2424879a198af3de2988f64182d70e6c0c199e *** Bug 407329 has been marked as a duplicate of this bug. *** |