What are the files located in `/var/crash/`

crashdirectory-structurelogs

I know when a program crashes, some files creating in /var/crash/. But I don't know what these files are!

Is that error logs?

Best Answer

No, they are crash dumps of the kernel, i.e. files that contains useful information to recover the state of the kernel when it was crashing. These files are for your kernel what core dumps are for ordinary executables. There exists an utility that can be used to analyze those files : crash.

Related Question