On Qua, 2011-10-26 at 09:53 +0000, Tim Waugh wrote:
> "Leftover open fd" is a bit vague: does the number of file descriptors
> go up when repeating a particular action? Which action?
>
> The one I know about is that a file descriptor for a PPD gets left open
> when viewing properties for a printer. It's a bit tricky to fix, as
> it's due to a non-trivial reference counting issue somewhere in the UI
> code. The leaked object is a cups.PPD, I think because of a reference
> held to it by one of its options, which is referenced by some widget or
> other.
The PPD is one of them, yes, but there are a few open tmp files too. The
fd number doesn't seem to go up with any specific action, though. If I
find an action that alters visibly the number of open fds I'll
reopen/create a bug with more details that can help you find/fix the
bug.
On Qua, 2011-10-26 at 09:53 +0000, Tim Waugh wrote:
> "Leftover open fd" is a bit vague: does the number of file descriptors
> go up when repeating a particular action? Which action?
>
> The one I know about is that a file descriptor for a PPD gets left open
> when viewing properties for a printer. It's a bit tricky to fix, as
> it's due to a non-trivial reference counting issue somewhere in the UI
> code. The leaked object is a cups.PPD, I think because of a reference
> held to it by one of its options, which is referenced by some widget or
> other.
The PPD is one of them, yes, but there are a few open tmp files too. The
fd number doesn't seem to go up with any specific action, though. If I
find an action that alters visibly the number of open fds I'll
reopen/create a bug with more details that can help you find/fix the
bug.
Thanks!
Keep up the good work!