[Bug other/24724] _Unwind_Backtrace() calls malloc
arun dot sharma at google dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 8 00:48:00 GMT 2005
------- Comment #2 from arun dot sharma at google dot com 2005-11-08 00:48 -------
It deadlocks because malloc is holding a lock and then calls the unwinder.
No, we're not throwing exceptions. One reason why malloc might want to use the
unwinder is to do heap profiling.
http://goog-perftools.sourceforge.net/doc/heap_profiler.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24724
More information about the Gcc-bugs
mailing list