Re: Crash in malloc.c : internal_malloc under Asan

2021-01-17 Thread Chet Ramey
On 1/15/21 7:11 PM, Ángel wrote: lib/malloc/malloc.c, if you want to view it online: https://git.savannah.gnu.org/cgit/bash.git/tree/lib/malloc/malloc.c Maybe libasan is providing its own malloc and there is a conflict of calls between theirs and bash mallocs. I would recommend to rebuild bash

Re: Crash in malloc.c : internal_malloc under Asan

2021-01-15 Thread Ángel
On 2021-01-15 at 17:11 -0500, Jeffrey Walton wrote: > Hi Everyone, > > I'm trying to use an Asan-instrumented version of Bash for my shell. > Bash is dying in startup code. The source file is malloc.c (missing > from Bash sources at > https://git.savannah.gnu.org/cgit/bash.git/tree/), and the func

Re: Crash in malloc.c : internal_malloc under Asan

2021-01-15 Thread Ángel
On 2021-01-15 at 17:11 -0500, Jeffrey Walton wrote: > Hi Everyone, > > I'm trying to use an Asan-instrumented version of Bash for my shell. > Bash is dying in startup code. The source file is malloc.c (missing > from Bash sources at > https://git.savannah.gnu.org/cgit/bash.git/tree/), and the func