Mail Archives: cygwin/2010/06/29/08:26:03
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,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
MIME-Version: | 1.0
|
In-Reply-To: | <20100629103330.GE8163@calimero.vinschen.de>
|
References: | <AANLkTikYWphtrMeneeOh3QpasUdOgXCfxPxbbzvOgVWS AT mail DOT gmail DOT com> <20100628183440 DOT GA18422 AT ednor DOT casa DOT cgf DOT cx> <AANLkTilrzSLVDpoBZIlUaAIdPCQQ3vcg1lx2vYCptmJj AT mail DOT gmail DOT com> <20100629083055 DOT GZ8163 AT calimero DOT vinschen DOT de> <AANLkTikvpRyGZHYS0LXK-nUr4MsP3E8At7IoPsi5lc3B AT mail DOT gmail DOT com> <20100629103330 DOT GE8163 AT calimero DOT vinschen DOT de>
|
Date: | Tue, 29 Jun 2010 13:25:47 +0100
|
Message-ID: | <AANLkTilNqolFF5Nn9hRoX76vhymHoqvMlp83C9pKwQQB@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 29 June 2010 11:33, Corinna Vinschen wrote:
> On Jun 29 10:48, Andy Koppe wrote:
>> C:/bin on /usr/bin type ntfs (binary,auto)
>> C:/lib on /usr/lib type ntfs (binary,auto)
>> C: on / type ntfs (binary,auto)
>
> Urgh. =C2=A0I hope you know what you're doing...
Yeah, I do trust the Cygwin package maintainers not to overwrite
/Windows or /Users.
> However, I didn't immediately realize that "\??\C:\bin\sh.exe" is the
> exact string used in the call to CreateProcessW. =C2=A0Which is wrong, of=
course,
> since \??\ is a native NT path. =C2=A0That should be "\\?\" when calling a
> Win32 wide char function.
> I found two lines in the code which accidentally copied a native NT path
> into the WCHAR process name storage, rather than the Win32 path. =C2=A0I =
fixed
> that in CVS, but since I couldn't reproduce the problem yet, it would be
> helpful if you could test it.
I've been running three builds in parallel for over an hour without
fault now, where previously there would have been a failure within
five minutes, so I think this can be considered fixed. Thanks very
much!
>> Unfortunately the top-level make just exits early before really doing
>> anything if I run it through strace (see below). It starts doing
>> actual work if I add '-f' to the strace arguments, but then of course
>> strace no longer captures events in sub-makes, which is where the
>> problem occurs.
>
> Hmm. =C2=A0Did you run make from a mintty? =C2=A0Does it work if you star=
t it
> from a Windows console in notty mode?
I got the same issue both in mintty and in the console. For the
record: setting MAKE=3D"strace -f make" did the trick for the sub-makes.
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
- Raw text -