?on analyzing core dumps

?on analyzing core dumps

Post by Russ Gritz » Fri, 04 Jul 1997 04:00:00



Can someone point me to info on how to analyze core dumps?

Thanks.

 
 
 

?on analyzing core dumps

Post by Todd Graham Lewi » Fri, 04 Jul 1997 04:00:00



> Can someone point me to info on how to analyze core dumps?

I prefer listening to them.

# cat core > /dev/audio

(Seriously, try "file core" and, if that's not informative enough for you,
use gdb on it.  For more gdb info, rtfm on gdb(1).)

--
Todd Graham Lewis       Manager of Web Engineering    MindSpring Enterprises


 
 
 

?on analyzing core dumps

Post by Paw Mull » Sat, 05 Jul 1997 04:00:00



> Can someone point me to info on how to analyze core dumps?

You can always use gdb on them, but the interface to gdb is a pain. Go get a
copy of ddd instead (X is required).
http://www.cs.tu-bs.de/softech/ddd

/Paw Mullit

 
 
 

?on analyzing core dumps

Post by Colin Mai » Sun, 06 Jul 1997 04:00:00



writes

Quote:>Can someone point me to info on how to analyze core dumps?

>Thanks.

When I'm not sure what program caused the core dump I use:

   strings core | more

and 99% of the time you can see the program name in the top few lines.

Remember to compile suspect programs with the -g switch.

Colin Main

Replace '-dot-' with a dot to mail me.

(I can't think of anything funny to put here - C.Main, 1997)