Originally Posted by jaianand
The function addresses "0x00000001" and "0x00000000" are incorrect and not mapping in the symbol table.
I seemed to have hastily read your initial post. If you are getting 0x00000001
and such as function addresses, you most likely have stack corruption. In that case, you have to find out what’s happening before
you get to the offending code (once the stack has been corrupted, stack unwinding/bactracing will not work). Another possibility is that you compiled with -fomit-frame-pointer
(but this seems unlikely).
By the way (if you have a fairly recent gcc), you might want to compile with a stack_guard (by using the flag -fstack-protector-all
). This could point out the offending function before the stack corruption, on which you could then set a breakpoint in gdb.