Re: Running bash under valgrind gives "invalid free()"
From:
Chet Ramey
Subject:
Re: Running bash under valgrind gives "invalid free()"
Date:
Thu, 13 Apr 2017 16:17:14 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 4/13/17 3:57 PM, Reuben Thomas wrote:
> Meanwhile, in the valgrind bug report, Mark Wielaard observed:
>
> "I think the problem is that bash not only has its own malloc/free
> implementation (valgrind should intercept that just fine). But also has
> malloc wrappers for some malloc functions that call their internal
> counterparts directly (so valgrind won't know that is a matching
> allocation/deallocation function)."
Yes, if he wants the details, feel free to forward my message from earlier
today.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/