bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd behavior of while loop, leading to crash


From: Chet Ramey
Subject: Re: odd behavior of while loop, leading to crash
Date: Mon, 16 Sep 2002 10:10:32 -0400

> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 2.05
> Patch Level: 8
> Release Status: release
> 
> Description:
>       [Detailed description of the problem, suggestion, or complaint.]
> 
> I would expect that on an otherwise idle machine the date command can be
> run roughly the same number of times per second over long periods of time.
> But across several different machines with different versions of bash2
> installed I see a trend over a few minutes where fewer and fewer instances
> are run.  This generally settles down to a low constant rate of execution.
> Often, the process dies with

It's a race condition.  There is a fix in bash-2.05b.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]