delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/25/10:16:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DDD0F23.5000807@sidefx.com>
Date: Wed, 25 May 2011 10:16:03 -0400
From: Edward Lam <edward AT sidefx DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong
References: <0C817B08-1920-43DB-B9A0-26E4B2E362EA AT apple DOT com>
In-Reply-To: <0C817B08-1920-43DB-B9A0-26E4B2E362EA@apple.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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/04/2011 2:35 PM, John Dong wrote:
> Reproducing this seems nondeterministic -- sometimes I can get it to
> happen in 5 minutes, other times it takes overnight. I've tried using
> a different shell (like dash), but it doesn't make a difference,
> leading me to suspect this to be a lower-level issue within the
> Cygwin DLL. It also seems to not happen for non-zero exit codes (e.g.
> checking that exiter.exe 1 returns 1 always seems to succeed), though
> I'm not 100% confident that I've tested this thoroughly enough.
>
> Again, I've not been able to reproduce this under Windows XP using
> any version of Cygwin, but I have been able to reproduce it on both
> 32-bit and 64-bit Windows 7. I'm not running anything special on this
> machine -- it's a fresh install of Windows 7 Professional, just with
> Cygwin installed.

FWIW, we've been running into this as well. It appears to NOT be a 
problem with Cygwin 1.5 on Windows 7. It only started happening on 
Cygwin 1.7. As a result, we haven't had a reliable Windows 7 build 
machine for a while now because we use a Cygwin gmake process that 
compiles with MSVC.

-Edward

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019