[Top][All Lists]

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

Re: Running bash under valgrind gives "invalid free()"

From: Hanno Böck
Subject: Re: Running bash under valgrind gives "invalid free()"
Date: Wed, 12 Apr 2017 18:58:43 +0200

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.

If you can't reproduce the bug with asan I'd bet on a valgrind bug.

Hanno Böck

mail/jabber: address@hidden
GPG: FE73757FA60E4E21B937579FA5880072BBB51E42

reply via email to

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