Find which program caused a core dump file

Desmond Hume picture Desmond Hume · Nov 9, 2012 · Viewed 26k times · Source

I've been going through intense program/package installation recently, so I can't tell for sure which of the newly installed programs (or old programs) caused the appearance of a core file in my home folder. It's a server, so I better find out any possible sources of instability on the machine.

Answer

Benj picture Benj · Nov 9, 2012

You can simply use the file program to identify them:

E.g

# file /var/core/core
/var/core/core:     ELF 64-bit MSB core file SPARCV9 Version 1, from 'crs_stat.bin'