Skip to contentSkip to conversation

backtrace()...

Linux-ia64 David Mosberger 1 participant 1 message Dec 9, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Fons Rademakers

Fons> Hi David, I try to use backtrace() (/usr/include/execinfo.h) Fons> but it returns nothing meaningfull (one 0 stackframe). This is Fons> on Itanium2:

Fons> Kernel 2.4.18-e.4smp glibc-2.2.4-29.2

Fons> Is this expected or should I do something special?

Yes, the backtrace() in glibc is hopeless. libunwind implements a working version of backtrace() (see
http://www.hpl.hp.com/research/linux/libunwind/).

	--david