[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running bash under valgrind gives "invalid free()"
From: |
Chet Ramey |
Subject: |
Re: Running bash under valgrind gives "invalid free()" |
Date: |
Wed, 12 Apr 2017 14:07:24 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 4/12/17 12:58 PM, Hanno Böck wrote:
> On Wed, 12 Apr 2017 14:59:26 +0100
> Reuben Thomas <address@hidden> wrote:
>
>> frequently, it's the only tool that shows up bugs of this sort, as
>> it's rather more powerful than a debugging malloc library.)
>
> Try address sanitizer, it's pretty reliable and finds even more bug
> classes compared to valgrind. Just add -fsanitize=address to the CFLAGS.
It's a valgrind false positive. I run the entire bash test suite through
a version built with address sanitizer.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
- Re: Running bash under valgrind gives "invalid free()", (continued)
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Chet Ramey, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Chet Ramey, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Chet Ramey, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Chet Ramey, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/14
- Re: Running bash under valgrind gives "invalid free()", Hanno Böck, 2017/04/12
- Re: Running bash under valgrind gives "invalid free()",
Chet Ramey <=
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Reuben Thomas, 2017/04/13
- Re: Running bash under valgrind gives "invalid free()", Chet Ramey, 2017/04/13