c - How to find the call stack when there is just a corrupt stack corefile? -


a coredump file corrupt stack, no usefull info. how can find call stack? stack shows :

#0  0x04229c7a in ?? () #1  0x00921fa7 in ?? () #2  0xbfc17e04 in ?? () 

backtrace stopped: previous frame inner frame (corrupt stack?)

and address of eip shows "cannot access memory"! thinks!

displaying call stack requires correct instruction pointer (eip), stack pointer (esp) , valid stack contents.

from output looks stack had been corrupted , previous function returned random address (eip=0x04229c7a).

so, out of luck.

try running program under valgrind.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -