[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Valgrind detects invalid read in bash. malloc assertion fails.
From: |
Chet Ramey |
Subject: |
Re: Valgrind detects invalid read in bash. malloc assertion fails. |
Date: |
Mon, 13 May 2019 11:27:47 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 4/30/19 7:06 AM, Johannes Müller wrote:
> Bash Version: 5.0
> Patch Level: 0
> Release Status: release
>
> Description:
> When I run "valgrind bash valgrind_issue.sh" on my up-to-date
> Debian stretch,
> then valgrind shows invalid read errors and an assertion in
> malloc.c fails.
I can't reproduce this using bash-5.0.7 built from the distributed source.
I suspect it has something to do with the contents of your home directory,
but I can't say for sure.
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://tiswww.cwru.edu/~chet/
- Re: Valgrind detects invalid read in bash. malloc assertion fails.,
Chet Ramey <=