Core Dump Analysis Using PStack and PMAP

Hello,

I'm new to the group and this is my first post. I'm hoping someone can help me out. I have a core dump that I need to analyze from a Unix box and I've never done this sort of thing before. I was told to run a pmap and pstack on the core file which provided two different output files. I've been searching on Google for information on how to read these files to determine the culprit of the crash but I'm not having much luck. I've read many articles about gdb but I don't have root access on the system to add the tool.

Can anyone point me to a good tutorial or provide tips on how to analyze the core dump file with the pmap and pstack files I have?

Thanks so much.

Kimmy

Hi,
Can you please tell the the OS that you are using?

Thanks
Nagarajan G

pmap will give you the process mapping of the application. It will provide details like which shared objects are in use, the memory usage for each of them et al.

pstack will give you the stack trace of a process.

You have a core dump with you. You are better off using gdb. Use it as

gdb progname the.core.file

See man gdb for more details.

dbx is another very user friendly and robust utility for core debugging.