mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Nayak <sinu_nayak2001@yahoo.co.in>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Linux child process does not core dump
Date: Thu, 28 Jul 2011 18:16:53 +0530 (IST)	[thread overview]
Message-ID: <1311857213.26660.YahooMailNeo@web137313.mail.in.yahoo.com> (raw)
In-Reply-To: <1311857035.41442.YahooMailNeo@web137319.mail.in.yahoo.com>

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 
________________________________


       reply	other threads:[~2011-07-28 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1311857035.41442.YahooMailNeo@web137319.mail.in.yahoo.com>
2011-07-28 12:46 ` Srinivas Nayak [this message]
2011-07-28 13:44   ` Maxin B John
2011-07-28 18:39   ` Jesper Juhl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1311857213.26660.YahooMailNeo@web137313.mail.in.yahoo.com \
    --to=sinu_nayak2001@yahoo.co.in \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®