From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7779 invoked by alias); 25 May 2011 14:20:04 -0000 Received: (qmail 7767 invoked by uid 22791); 25 May 2011 14:20:03 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm14-vm0.bullet.mail.bf1.yahoo.com (HELO nm14-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.164) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 25 May 2011 14:19:45 +0000 Received: from [98.139.212.152] by nm14.bullet.mail.bf1.yahoo.com with NNFMP; 25 May 2011 14:19:44 -0000 Received: from [98.139.211.202] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 25 May 2011 14:19:44 -0000 Received: from [127.0.0.1] by smtp211.mail.bf1.yahoo.com with NNFMP; 25 May 2011 14:19:44 -0000 Received: from cgf.cx (cgf@173.48.46.160 with login) by smtp211.mail.bf1.yahoo.com with SMTP; 25 May 2011 07:19:43 -0700 PDT X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id B8E7442804D for ; Wed, 25 May 2011 10:19:42 -0400 (EDT) Date: Wed, 25 May 2011 14:20:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: Cygwin 1.7.x on Windows 7: Exit statuses of Win32 executables are sometimes wrong Message-ID: <20110525141942.GA22790@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0C817B08-1920-43DB-B9A0-26E4B2E362EA@apple.com> <4DDD0F23.5000807@sidefx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DDD0F23.5000807@sidefx.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00358.txt.bz2 On Wed, May 25, 2011 at 10:16:03AM -0400, Edward Lam wrote: >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. As always: http://cygwin.com/acronyms#PTC -- 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