This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/956] regression: backtrace uses malloc()
- From: "slink at schokola dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Apr 2009 09:06:13 -0000
- Subject: [Bug libc/956] regression: backtrace uses malloc()
- References: <20050517020418.956.matthias.andree@gmx.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From slink at schokola dot de 2009-04-25 09:06 -------
I came across this bug when trying to use backtrace while the main_arena
lock is helt, which will deadlock as well (as dlopen cannloc malloc()).
I guess it should be possible to add optional eager initialization via
backtrace.c init() and I will hopefully find the time to look into this.
For the time being, it might help to know that calling backtrace.c init()
somewhen before actually using backtrace will avoid this issue.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=956
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.