X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Jul 2009 09:54:02 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: bash pipeline exit code - possible race condition?
Message-ID: <20090730135402.GB31765@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <db95995b0907282216g6f90bcb0t5ee80873a383eb29@mail.gmail.com>  <20090729233138.GD13645@ednor.casa.cgf.cx>  <db95995b0907291911x6fb8a8c9lf91b84417e298f7f@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <db95995b0907291911x6fb8a8c9lf91b84417e298f7f@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Thu, Jul 30, 2009 at 02:11:10PM +1200, David Antliff wrote:
>On Thu, Jul 30, 2009 at 11:31, Christopher
>Faylor<cgf-use-the-mailinglist-please@cygwin.com> wrote:
>> On Wed, Jul 29, 2009 at 05:16:24PM +1200, 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.
>>
>>This doesn't appear to be a cygwin problem.  I get occasional errors on
>>linux as well.
>
>I tried to reproduce on Linux but without success - did you simply run
>my script or perhaps something else?  Do you see error "141" as well?

I ran your script.

cgf

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

