LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   coredump files (https://www.linuxquestions.org/questions/linux-software-2/coredump-files-756498/)

rupendranaidu 09-20-2009 12:27 AM

coredump files
 
Hi Guys,
My question was about coredump files

Question:
1) If customer send a coredumpfile called coredump.12345,How to view that coredump.12345 file

2)I need website about full description on corefiles

THanks & Regards,
Bye

clvic 09-20-2009 10:40 AM

If you receive a core dump, the best thing you can do is to run it against a debugger.
Provided you have a copy of the program identical to the one your customer is using, and that your copy has been compiled with debugging on ("-g" flag on gcc), you can run it as described in the gdb manual:
$> gdb program coredump.
By doing this, you can inspect in detail the stack trace and the state of memory, exactly as if you were running your application locally.


All times are GMT -5. The time now is 11:29 AM.