[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdelibs] [Bug 306908] kded4 crashes because it runs out of file descriptors
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2013-11-14 11:38:31
Message-ID: bug-306908-17878-AGT9ZN9pku () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #37 from Christoph Feck <christoph@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic