As this stacktrace shows: #3 0x00000000004044e2 in malloc (size=36024) at tcmalloc.cc:1314 #4 0x000000000047a938 in search_object () #5 0x000000000047b189 in _Unwind_Find_FDE () #6 0x0000000000478049 in uw_frame_state_for () #7 0x0000000000478eca in uw_init_context_1 () #8 0x00000000004790b0 in _Unwind_Backtrace ()
there are code paths from _Unwind_Backtrace to malloc. This makes the unwinder deadlock prone when called from applications that have their own customized malloc. -- Summary: _Unwind_Backtrace() calls malloc Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: arun dot sharma at google dot com GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24724