delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/30/09:54:27

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Jul 2009 09:54:02 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bash pipeline exit code - possible race condition?
Message-ID: <20090730135402.GB31765@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <db95995b0907282216g6f90bcb0t5ee80873a383eb29 AT mail DOT gmail DOT com> <20090729233138 DOT GD13645 AT ednor DOT casa DOT cgf DOT cx> <db95995b0907291911x6fb8a8c9lf91b84417e298f7f AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <db95995b0907291911x6fb8a8c9lf91b84417e298f7f@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 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 AT cygwin DOT 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

- Raw text -


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