On 9/22/23 9:31 PM, Samuel Grayson wrote:

(Full output [here][1])

Note: I inserted debug statements in my build, so the numbers may be a bit off.

This error occurs:

- Only when running Bash in Valgrind. I don't know if the Valgrind VM enables
   this check which is normally disabled?

Valgrind is easily fooled by the bash malloc wrapper functions. There's a
pretty complete explanation here:

https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00053.html

If you want to run valgrind on bash without false positives, there is a
`valgrind' target in the makefile.

make clean
make valgrind

If the error still occurs with that build, then we'll investigate.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to