delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/03/11:40:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.2.20020803083538.02c89948@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Sat, 03 Aug 2002 08:41:29 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: 1.3.12-1: bash reorders output
In-Reply-To: <Pine.LNX.4.44.0208031322550.3520-101000@dbl.q-ag.de>
Mime-Version: 1.0

Manfred,

I cannot confirm your problem with this specific example, but I have seen 
similar problems in other contexts and there have been other similar 
reports from time to time. It seems timing dependent and hence may be 
sensitive to all sorts of hardware details and operating conditions in any 
given system.

Perhaps running your tests under "strace" would help you home in on the 
problem?

You might also want to try your simple test case using /bin/echo instead of 
the BASH built-in "echo."

Randall Schulz
Mountain View, CA USA


At 04:28 2002-08-03, Manfred Spraul wrote:
>I've succeeded in creating a testcase:
>
>Please untar the attached tarball and run ./do-test.sh
>
>The bug is still the same: The script contains
><<
>         echo "2XXXX"
>         cat ext-2.txt
>         echo "3XXXX"
><<
>but in the output file, it's
><<<
>         2XXXX
>         3XXXX
>         ?? contents of ext-2.txt
><<<
>
>Further details:
>- it's not 100% reproducable, sometimes only the 2nd or 3rd run of
>         bad.sh creates an output file with reordered lines
>         Please run the app for a few minutes.
>- it happens in both binary and text mode.
>- sometimes "cat ext-2.txt" is affected, sometimes other files
>- the cygwin dll is now 1.3.12-1, the rest is unchanged from my last mail.
>
>The computer is a single-cpu Celeron-1.13 with W2K SP2, now with
>cygwin-1.3.12-1.
>
>Could you please test it? I don't have access to other systems right now.
>
>Thanks,
>--
>         Manfred


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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