Re: bash failed to start with valgrind
Chet Ramey <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 2/4/26 10:35 AM, Masanari Iida wrote: > Test with latest bash (commit 637f5c8696a6adc9b4519f1), x86_64, > I try to execute bash with valgrind, it failed. You have to build a version of bash that can be run under valgrind using `make valgrind'. Bash's use of its own malloc wrappers when building with its internal malloc implementation thoroughly confuses valgrind. There's a pretty complete explanation here: https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00053.html -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/