delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <20100628183440.GA18422@ednor.casa.cgf.cx> |
References: | <AANLkTikYWphtrMeneeOh3QpasUdOgXCfxPxbbzvOgVWS AT mail DOT gmail DOT com> <20100628183440 DOT GA18422 AT ednor DOT casa DOT cgf DOT cx> |
Date: | Tue, 29 Jun 2010 09:16:14 +0100 |
Message-ID: | <AANLkTilrzSLVDpoBZIlUaAIdPCQQ3vcg1lx2vYCptmJj@mail.gmail.com> |
Subject: | Re: 1.7.6 snapshot: intermittent "CreateProcessW failed" |
From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 28 June 2010 19:34, Christopher Faylor wrote: > On Mon, Jun 28, 2010 at 05:36:04PM +0100, Andy Koppe wrote: >>When running a couple of lengthy make-based builds in parallel, I >>eventually get error messages such as this: >> >> =C2=A0 =C2=A0 =C2=A03 [main] sh 4368 fork: child -1 - CreateProcessW fai= led, errno 2 >>/bin/sh: fork: No such file or directory >> >> =C2=A0 =C2=A0 =C2=A05 [main] make 5736 fork: child -1 - CreateProcessW f= ailed, errno 2 >>make[2]: vfork: No such file or directory >> >>The errors aren't reproducible, i.e. when rerunning, one of the build >>fails elsewhere with the same sort of error. Hence I'm unable to >>provide a small testcase. >> >>It doesn't fail if I run just one build at a time, and it fails more >>quickly if I run more than two. I guess this suggests a >>synchronisation issue. >> >>This is on a 32-bit Windows XP. The issue didn't occur on 1.7.5 and >>before. I went back through previous snapshots to try to narrow to >>down the problem a little bit: 20100507 is fine, 20100518 is not. > > Hmm. =C2=A0That means that it is related to the change to use wide charac= ters > for the current program name but I've reviewed the patch again and don't > see anything obvious. > > Could you try this on the latest snapshot when it shows up. =C2=A0I've ad= ded a > tad more debugging to the error message. 4 [main] sh 396 fork: child -1 - CreatProcessW failed for '\??\C:\bin\sh.exe', errno 2 /bin/sh: fork: No such file or directory > Also, if you could duplicate this under strace that would be very helpful. > Please send the strace to me at me at <myinitials> dot cx. I'll give that a go. Cheers, Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |