This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/16159] malloc_printerr() deadlock, when calling malloc_printerr() again
- From: "neleai at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 13 Nov 2013 14:31:28 +0000
- Subject: [Bug malloc/16159] malloc_printerr() deadlock, when calling malloc_printerr() again
- Auto-submitted: auto-generated
- References: <bug-16159-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=16159
--- Comment #8 from Ondrej Bilka <neleai at seznam dot cz> ---
On Wed, Nov 13, 2013 at 01:00:06PM +0000, darryl.miles at darrylmiles dot org
wrote:
> How do I stop this fancy backtrace stuff from working ? I want to setup an
> environment variable to turn it off as a workaround ?
>
> How do I make this fancy backtrace stuff work, by preloading the dlopen() stuff
> it might need, during initialization of malloc() ? I want to setup an
> environment variable for that too.
>
As a quick workaround you can add following code to your application/preload
this.
#include <execinfo.h>
static void __attribute__ ((constructor))
init_backtrace()
{
void *bt[10];
backtrace (bt, 10);
}
--
You are receiving this mail because:
You are on the CC list for the bug.