Re: core file generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ming
Hi,

In /etc/profile, I do add:

*ulimit -S -c unlimited > /dev/null 2>&1
*
most of the times, I can get core file when my application crash, but there
are a few times it does not.

Maybe you're out of disk free space? Just a guess.
Does anyone know how the core file be generated everytime application
crashes ?

From what I know, whenever the program receives signal that generates core, then it will dump it. Look at "man 7 signal" and you can find out which signal that does core dump by default. Also, AFAIK, the handler actually resides in kernel space, but you're free to assign a new handler.
What could be the causes for kernel not generating core file ?
Another possibility is, the program assign a new signal handler, thus core dump isn't executed.

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux