[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backtrace and demangling symbols at runtime
From: |
Paul Pluzhnikov |
Subject: |
Re: backtrace and demangling symbols at runtime |
Date: |
Fri, 12 May 2006 11:29:09 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"Mehturt@gmail.com" <Mehturt@gmail.com> writes:
> I'm using __cxxabiv1::__cxa_demangle() function to demangle the symbols
> obtained by backtrace_symbols(). This works almost fine. However, can
> somebody explain what does the symbol __gxx_personality_v0 mean?
It doesn't "mean" anything, and in fact your 'A::A()' ctor is *not*
called from it.
> A::A
> __gxx_personality_v0
> __gxx_personality_v0
> __libc_start_main
> __gxx_personality_v0
>
> So my problem is I don't see where A is created from.
The stack trace above is bogus; so backtrace_symbols() isn't doing
a good job for you (or you aren't using it correctly, or your libc
is stripped). Try using gdb instead.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.