1829759 Members
19795 Online
109992 Solutions
New Discussion

Core Dump Signal 11

 
Srinivasan S_1
Advisor

Core Dump Signal 11

Hi,
One our application generated signal 11 and we expect core to be generated. But core is not generated.

We checked ulimit but it was sufficient

So kindly guide me,
a)what situations core will not be generated ?
like if core size will be more that ulimit size whether core will wont be generated ?

b) If disk space is less will core will be wont be generated ?

Is there anyway to get the core..

Kindly guide me.
3 REPLIES 3
Muthukumar_5
Honored Contributor

Re: Core Dump Signal 11

Core creation size will be based on ulimit -c size. You can which situation it will create image file as,
http://www.informatik.uni-frankfurt.de/doc/man/hpux/signal.5.html

Signal 11 will create core file some times if need. (see in signal and special conditions)

hth.
Easy to suggest when don't know about the problem!
Stephen Keane
Honored Contributor

Re: Core Dump Signal 11

If you have a signal handler that deals with SIGSEGV, then you can prevent a core from being written. If the working directory of the executable doesn't allow the creation of a new file, then a core cannot be created. If there is already a file or directory called core, which cannot be overwritten then a core file cannot be created. If there is insufficient space on the device, then a core file cannot be created.
A. Clay Stephenson
Acclaimed Contributor

Re: Core Dump Signal 11

There are several reasons you might not get a core. 1) Ulimit -c set to 0. 2) No write permissions in the CWD. 3) Real user ID <> effective user id 4) Custom Signal Handler


Man 4 core, 5 signal for details.

Also the gemeration of a core file is implementation dependent as indicated in the man 5 signal pages for SIGSEGV.
If it ain't broke, I can fix that.