Search code examples
linuxdebuggingubuntucoredump

Find which program caused a core dump file


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.


Solution

  • 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'