Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-21-2009, 05:45 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Unable to get a core-dump of a child process on Linux 2.6.5-7.316-smp #1 SMP system


I am facing an issue in getting a core dump of a child process.

My system is Linux 2.6.5-7.316-smp #1 SMP.

The steps I have tried to get a core dump:

(1) When my application starts there are two processes running P(parent) and P1(child). They run as root.
(2) I login as root and then I issue a "kill -s SIGSEGV <pid of P1>". This should ideally create a core dump of the child process P1. But it doesnt. On doing this both the parent and child processes are killed and then restart after some time.
(3) SIGSEGV is not handled in P1.
(4) SIGSEGV is handled in P though. I have tried removing it, but that produces a core only for P process and not P1.
(5) I have set the ulimit to "unlimited".
(6) I have set "/proc/sys/kernel> cat suid_dumpable" to 1, so that all processes are able to core dump.
(7) I have about 1.4G in the partition.

I have just not been able to figure out a reason for this.

I would really appreciate any help on this one.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pthread_mutex_lock/unlock SMP and CPU cache coherence on core2 SMP sergxm Linux - Kernel 0 01-27-2009 04:32 PM
Understanding uname -a: difference between #1 SMP and #3 SMP sonatabar Red Hat 2 08-26-2008 11:34 AM
SMP system :how to know which CPU a process belong to ? hhshr825 Linux - Newbie 4 01-11-2008 02:04 AM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:43 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
Open Source Consulting | Domain Registration