Help answer threads with 0 replies.
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 01-16-2009, 10:25 AM   #1
Registered: Aug 2005
Posts: 75

Rep: Reputation: 15
Core dump in Ubuntu 8.04 (Empty core file)

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,
Old 01-17-2009, 06:52 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.


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
Core Dump on Solaris (Question about core file) dayalan_cse Solaris / OpenSolaris 5 12-29-2014 08:56 AM
Core Dump! khaleel5000 Linux - Software 6 06-29-2006 06:21 AM
Core Dump File squinn Linux - Software 1 02-18-2005 01:41 PM
SuSE 8.1 won't dump core file Caius Linux - Software 0 08-03-2004 07:00 PM
core.2200 888.0 memory dump - file just appeared in my home directory Lakota Linux - Newbie 2 10-06-2003 10:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:53 PM.

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