Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-27-2011, 09:09 AM   #1
Registered: Oct 2009
Location: India
Distribution: Puppy Linux, Wary 530.
Posts: 31

Rep: Reputation: 20
child process does not core dump


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?

Srinivas Nayak
Old 07-27-2011, 11:18 AM   #2
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
Hello, Srinivas,

I'm afraid I don't have any specific suggestions for you. However, when I did a quick Google search on a child process dumping core, I found a similar question in another forum. If you haven't already asked over there, see if they have any hints for you.

Good Luck!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Under which circumstances a child process creates another child process using fork? mitsulas Programming 3 12-08-2009 09:16 AM
Core dump issues. Program crashes but does not generate core dump file sabeel_ansari Programming 1 10-07-2009 05:23 PM
Unable to get a core-dump of a child process on Linux 2.6.5-7.316-smp #1 SMP system ravisan Linux - General 0 08-21-2009 06:45 AM
Process crashes and does not dump core traene Programming 4 10-13-2008 04:37 PM
How to kill a Child and all its subsequent child process in C shayer009 Programming 3 12-04-2007 01:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration