public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/24724]  New: _Unwind_Backtrace() calls malloc
@ 2005-11-07 23:24 arun dot sharma at google dot com
  2005-11-08  0:23 ` [Bug other/24724] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: arun dot sharma at google dot com @ 2005-11-07 23:24 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <bug-24724-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-09-13 14:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-07 23:24 [Bug c/24724] New: _Unwind_Backtrace() calls malloc arun dot sharma at google dot com
2005-11-08  0:23 ` [Bug other/24724] " pinskia at gcc dot gnu dot org
2005-11-08  0:48 ` arun dot sharma at google dot com
2005-11-08  0:51 ` pinskia at gcc dot gnu dot org
2005-11-08  0:53 ` pinskia at gcc dot gnu dot org
2005-11-08  0:55 ` arun dot sharma at google dot com
2005-11-08  1:02 ` pinskia at gcc dot gnu dot org
2005-11-08  1:07 ` arun dot sharma at google dot com
2005-11-08  1:09 ` arun dot sharma at google dot com
2005-11-08  1:10 ` pinskia at gcc dot gnu dot org
2005-11-08  1:13 ` pinskia at gcc dot gnu dot org
2005-11-08  1:23 ` pinskia at gcc dot gnu dot org
2005-11-08  1:30 ` arun dot sharma at google dot com
2010-08-04 23:08 ` rth at gcc dot gnu dot org
     [not found] <bug-24724-4@http.gcc.gnu.org/bugzilla/>
2012-09-13 13:44 ` hjl.tools at gmail dot com
2012-09-13 14:06 ` ian at airs dot com
2012-09-13 14:20 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).