core dump files on Linux: how to get info on opened files?
If you have a core file and you have compiled the program with debugging options (-g), you can see where the core was dumped: $ gcc -g -o something something.c $ ./something Segmentation fault (core dumped) $ gdb something core You can use this to do some post-morten debugging. A few gdb commands: bt prints … Read more