[Bug other/24724] _Unwind_Backtrace() calls malloc

arun dot sharma at google dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 8 01:09:00 GMT 2005



------- Comment #8 from arun dot sharma at google dot com  2005-11-08 01:09 -------
(In reply to comment #6)
> Hmm, You could try libunwind instead, it should work on x86_64:
> http://www.hpl.hp.com/research/linux/libunwind/
> 
> They show you how to use libunwind to generate a normal backtrace:
> http://www.hpl.hp.com/research/linux/libunwind/man/libunwind(3).php
> 
> Though I doubt that none of these will remove the use of malloc though.
> 

libunwind doesn't pass unit tests on amd64. davidm thinks that the problems are
outside of libunwind. I think he has a couple of bugs open against gcc/glibc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24724



More information about the Gcc-bugs mailing list