[kdelibs] [Bug 306908] kded4 crashes because it runs out of file descriptors

Christoph Feck christoph at maxiom.de
Thu Nov 14 11:38:31 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=306908

--- Comment #37 from Christoph Feck <christoph at maxiom.de> ---
No, unfortunately not. The issue here is that one of the kded modules forgets
to close a file handle. Over the time, the process runs out of them.

The crash occurs because QProcess tries to get a new file descriptor, but did
not handle the failure. This does not really make it a Qt bug, though. Since Qt
4.8.5, QProcess does no longer crash, but this will make the situation only
worse: Failures to allocating file handles will now be silently ignored,
causing other bugs at all modules. That's why it would be crucial to find the
offending module before Ubuntu updates to Qt 4.8.5.

To debug this more efficiently, one would somehow need to change the limit of
available file descriptors for the kded4 process, so that it runs out of them
earlier. Or maybe there are ways to monitor the number of allocated handles
over time. Then finding the offending kded module by disabling it should become
simpler.

Try starting with package update notifiers modules, or any other
distribution-supplied modules, because with a stock KDE, we never had this
issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list