Re: valgrind errors (sometimes resulting in a crash)
From:
Chet Ramey
Subject:
Re: valgrind errors (sometimes resulting in a crash)
Date:
Tue, 30 Sep 2025 07:45:51 -0400
User-agent:
Mozilla Thunderbird
On 9/30/25 5:29 AM, Jochen Roemmler wrote:
Did you build bash with `make valgrind'? The bash malloc and wrapper
functions seriously confuse valgrind.
No, I didn't. Could be a false positive then.
However, I was able to reproduce the crash (by luck) while my bash was
attached to a debugger.
OK. Let me know if you find a way to reproduce it easily.
--
``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/