Linux – way to find out which program is segfault-ing

debugginglinuxsegmentation fault

I have a Busybox/Linux system where a mystery program is segfaulting rarely. Is there a way to find which program is doing this?

Best Answer

If the segmentation fault produces a "core" file, you can run file <core-filename> to identify the executable. You can also use ddd or gdb to debug the core file for more information.

Related Question