Re: Menu items won't open and close after a while



On 01/01/2010 04:05:20 PM, Paweł Sałek wrote:
On 01/01/2010 05:51:23 PM, Mike Witt wrote:
Hi Mike,

I do not recall a problem like this. It looks like a file descriptor leak to me. Maybe the output of 'lsof' will reveal more information?

I'm not exactly sure what to look for. My current balsa has been
running for a couple of days ...

lsof | grep balsa | wc -l

  appears to show 232 open files.

Of which 42 are something like: "/tmp/pop-HT3P5U (deleted)", so I assume
those are hanging around from my POP connections to gmail.

Mike,

I think you hit the spot! The pop3 handling code could leak the file descriptors when the network connection was broken while downloading the message. I attach the patch that fixes the problem for me. I have commited it also to git repository.

Pawel

Paweł,

Thank you for doing this. I wonder if the fix will make it into the
Fedora-11 build now that Fedora-12 is already out. I have never tried
to build Balsa myself, but I suppose there's no reason why I couldn't
try.

One thing I'm a little confused about. I don't see why these files not
getting closed would stop the menu items from opening and closing. Is
it really the same bug?

-Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]