www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/22/08:55:15

X-Recipient: archive-cygwin AT delorie DOT 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: <4A670F2A.7090602@gmail.com>
Date: Wed, 22 Jul 2009 14:07:54 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bash 3.2.49-22 problem (subscripts fail to run sometimes)
References: <f70324590907220515m694580d7i140551f35c921a99 AT mail DOT gmail DOT com>
In-Reply-To: <f70324590907220515m694580d7i140551f35c921a99@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Vitas Povilaitis wrote:
> Occasionally, a subscript fails to run, as in this example:

> $ ./t.sh Hello-1.0.0
> PACKAGE Hello VERSION 1.0.0
> PACKAGE Hello VERSION
> PACKAGE Hello VERSION 1.0.0
> 
> $ ./t.sh Hello-1.0.0
> PACKAGE Hello VERSION 1.0.0
> PACKAGE Hello VERSION 1.0.0
> PACKAGE  VERSION 1.0.0
> 
> This is under Cygwin 1.5.25-15 under Windows XP Ver. 5.1 Build 2600
> Service Pack 2.

  Doesn't reproduce on Cygwin 1.5.25-15 under W2k SP4.

> This is easily repeatable.  I run into the problem by running the
> script 4 to 6 times.

  I ran it 100 times with no error.

> Is this a Cygwin bash bug?  I wonder if it's related to running on a
> multi-core processor.

  I'm using an AMD 64x2.

>  I don't have the problem under Linux.

  Probably doesn't tell us much, except that your hardware is basically sound
so it's most likely some kind of software problem.

    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

- Raw text -


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