Ahmed A. answered 1d
Tutor
New to Wyzant
Arabic and Linux/Unix Tutor with Telecom Engineering Experience
To generate a core dump when a Linux process crashes with Segmentation fault, you need to make sure core dumps are enabled for the shell/service and that Linux knows where to write them.
1. Enable core dumps for current shell
Run:
ulimit -c unlimited
Check it:
ulimit -c
Expected output:
unlimited