Re: Crash in malloc.c : internal_malloc under Asan
From:
Ángel
Subject:
Re: Crash in malloc.c : internal_malloc under Asan
Date:
Sat, 16 Jan 2021 01:07:06 +0100
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 function
> is
> internal_malloc.
>
> The Asan folks have a suspicion of malloc.c. Also see "Crash in
> application's startup code around Asan red zone",
>https://groups.google.com/g/address-sanitizer/c/oB8opTbjkuw.
>
> Where is malloc.c coming from? Where can I find it?
>
> Jeff
>