Yoy’re right. Attaching gdb to the process requires at least that you know how to reproduce the crash.
AFAIK, the task of dumping a core depends entirely on the OS, provided that all sysctls are set correctly.
If there is no signal handler, a default is set which means that dumping the core is the default behaviour. Not doing so means that either there is a signal handler which tells explicitly to the program to ignore the signal or that there is no crash at all.
One way or another, I would try to see how to trigger the crash.
|