Linux child process does not core dump

From: Srinivas Nayak
Date: Thu Jul 28 2011 - 08:53:41 EST


Hi,

In my program, I fork() to get a child process.
Because of some problem, child process terminates by a segmentation fault.
Parent process is still running.

I have compiled my code with -g option.
I have done: ulimit -c unlimited.

I am not getting core dump of the child process.

How can I get the core dump of child process?

Sincerely,
Srinivas Nayak
________________________________

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/