X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A707370.20903@gmail.com>
Date: Wed, 29 Jul 2009 17:06:08 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bash pipeline exit code - possible race condition?
References: <db95995b0907282216g6f90bcb0t5ee80873a383eb29@mail.gmail.com> <4A706CAF.6080200@cygwin.com>
In-Reply-To: <4A706CAF.6080200@cygwin.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Larry Hall (Cygwin) wrote:
> On 07/29/2009 01:16 AM, David Antliff wrote:
>> I've noticed a strange problem with bash pipelines in Cygwin that
>> might indicate some sort of race condition. I cannot reproduce the
>> problem on a Linux system, but it seems easy to reproduce in Cygwin.
> 
> <snip>
> 
>> I am running Cygwin on Windows XP (service pack 3).
>>
>> $ uname -srv
>> CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34
> 
> Want to try the test again with the upcoming Cygwin 1.7 release?
> <http://cygwin.com/#beta-test>  1.5.x is will be replaced by it very
> shortly so unless the problem is still visible in 1.7, it's not likely
> to spark much investigation.  Just FYI.

  It reproduces for me under 1.7, but I haven't had time to look closer yet.

  Thanks for the nice simple testcase, David!

    cheers,
      DaveK


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

