This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7.6 snapshot: intermittent "CreateProcessW failed"


On Jun 29 09:16, Andy Koppe wrote:
> 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:
> >>
> >> Â Â Â3 [main] sh 4368 fork: child -1 - CreateProcessW failed, errno 2
> >>/bin/sh: fork: No such file or directory
> >>
> >> Â Â Â5 [main] make 5736 fork: child -1 - CreateProcessW failed, 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. ÂThat means that it is related to the change to use wide characters
> > 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. ÂI've added a
> > tad more debugging to the error message.
> 
>       4 [main] sh 396 fork: child -1 - CreatProcessW failed for
> '\??\C:\bin\sh.exe', errno 2

Looks like the path is missing a directory.  I assume you didn't
install Cygwin to C:\ but to C:\cygwin, right?  Or does the path
make sense when ignoring the NT prefix "\??\"?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]