I have a Busybox/Linux system where a mystery program is segfaulting rarely. Is there a way to find which program is doing this?
Linux – way to find out which program is segfault-ing
debugginglinuxsegmentation fault
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 useddd
orgdb
to debug the core file for more information.