[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parameter Substitution Causing Memory Leak
From: |
Chet Ramey |
Subject: |
Re: Parameter Substitution Causing Memory Leak |
Date: |
Tue, 07 Jan 2014 18:12:36 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 1/7/14, 3:18 PM, Todd B. Stein wrote:
> These bugs result in gradual slowdown of indefinitely-running scripts which
> rely on parameter substitution (rather than forking sed or awk) for speed
> and efficiency. Forgive me if I used the wrong terminology, but whether
> these bugs are considered honest-to-goodness "memory leaks" by valgrind
> seems unimportant.
>
> Are you saying these bugs have been fixed, and that they no longer exist in
> bash 4.3?
If they show up on bash-4.2, but not when using bash-4.3, then I guess they
no longer exist. I did find a case where valgrind reported memory leaks on
bash-4.2 but not bash-4.3, so I will assume that they have been fixed.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/