LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Core dump in Ubuntu 8.04 (Empty core file) (http://www.linuxquestions.org/questions/linux-newbie-8/core-dump-in-ubuntu-8-04-empty-core-file-697708/)

vineet7kumar 01-16-2009 09:25 AM

Core dump in Ubuntu 8.04 (Empty core file)
 
Hi,
By setting the core file size in etc/security/limits.conf I was able to generate a core file for a crashing program .
But the core file created was empty (0 Bytes).

What should I do for this?

I am using Linux Mint 5.0 on Intel T7500 processor

Earlier I had used Solaris in which by default it created core files. Is there any specific reason it's not there by default in Linux?




Thanks & Regards,
Vineet

btmiller 01-17-2009 05:52 PM

The limit in your particular login session might still be set. Assuming you are using bash, you can use "ulimit -c" to check your core file size limit. If you want to raise it, you can use "ulimit -c <new-limit or unlimited>". If you changed limits.conf after you logged in, you may need to log out and log back in to clear the old hard limit.


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