From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: handle leak 31 Jul 1998 12:57:44 -0700 Message-ID: <01BDBC96.8DA68A20.cygnus.cygwin32.developers@WOLF> To: "'Andy Piper'" Cc: "'cygwin32-developers AT cygnus DOT com'" Andy Piper wrote: > The handle leak is definitely in select(). I have a version of emacs that > only uses select when processes are active and the handle content remains > constant at 64 under I start a subprocess at which point it rapidly jumps > into the hundreds. If I kill the process the leakage stops. The bug is in a new select() code. The routines cleanup_socket_thread() and cleanup_pipe_thread() must close corresponding thread handles before zeroing. I have no build environment now to rebuild a new dll :-( -- Sergey Okhapkin, http://www.lexa.ru/sos Piscataway, NJ