From: cgf AT cygnus DOT com (Christopher Faylor) Subject: Re: spawn problems (windows 98?) 5 Aug 1998 12:59:45 -0700 Message-ID: <19980805155812.A26168.cygnus.cygwin32.developers@cygnus.com> References: <3 DOT 0 DOT 5 DOT 32 DOT 19980804165143 DOT 007de820 AT mail DOT mel DOT cybec DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Trevor Yann , cygwin32-developers AT cygnus DOT com On Wed, Aug 05, 1998 at 09:59:06PM +1000, Trevor Yann wrote: >I have written a test program (below) that shows the problem sometimes. The >test program is run with a parameter specifying the number of processes to >spawn. I have been running it with 10 or 20. Only about one run in 10 shows >the problem. I have the strace output from one of the runs where the >problem occurred. > >I have tried the cygwinb19.dll.gz from ftp.cygnus.com/private/home/cgf and >could not get the problem to occur. I did get an access violation reported >several times. I have the strace output from one of the runs where the >access violation was reported. Thanks for the strace. That was weird. Apparently the stack pointer was completely messed up somehow. I have made a couple of changes to the spawn call in the current .dll. As I'm away from my desk (by about 3000 miles) I can't easily run your test case. If you could give this new .dll a shot and let me know how it works, I'd appreciate it. It's in the same location. cgf