bug-bash
[Top][All Lists]
Advanced

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

Re: bash failed to start with valgrind


From: Chet Ramey
Subject: Re: bash failed to start with valgrind
Date: Wed, 11 Feb 2026 15:57:28 -0500
User-agent: Mozilla Thunderbird

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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