Re: pty infinite master control thread spawning problem

2010-05-27 Thread Dave Korn
On 26/05/2010 14:11, Corinna Vinschen wrote: I applied a patch to CVS. It worked for me, but while testing I encountered a handle leak in your testcase and, naturally, I thought it's my code. After some tinkering it turned out that your parent process neglects to wait for the child process.

Re: pty infinite master control thread spawning problem

2010-05-27 Thread Corinna Vinschen
On May 27 12:08, Dave Korn wrote: On 26/05/2010 14:11, Corinna Vinschen wrote: I applied a patch to CVS. It worked for me, but while testing I encountered a handle leak in your testcase [...] Please test the change in Cygwin if it fixes the original problem for you. Yes,

Re: pty infinite master control thread spawning problem

2010-05-26 Thread Corinna Vinschen
Hi Dave, On May 18 15:14, Dave Korn wrote: Hi, I'm having trouble with the latest changes to the pty control code. In my case they manifest when I run parallel make -j check on GCC; after a minute or two all the expect processes end up spinning CPU and everything grinds to a halt.

pty infinite master control thread spawning problem

2010-05-18 Thread Dave Korn
Hi, I'm having trouble with the latest changes to the pty control code. In my case they manifest when I run parallel make -j check on GCC; after a minute or two all the expect processes end up spinning CPU and everything grinds to a halt. When I attach to and debug one of the stuck