LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-16-2009, 09:25 AM   #1
vineet7kumar
Member
 
Registered: Aug 2005
Posts: 75

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

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


Reply


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 3 10-06-2007 02:26 AM
Core Dump! khaleel5000 Linux - Software 6 06-29-2006 05:21 AM
Core Dump File squinn Linux - Software 1 02-18-2005 12:41 PM
SuSE 8.1 won't dump core file Caius Linux - Software 0 08-03-2004 06:00 PM
core.2200 888.0 memory dump - file just appeared in my home directory Lakota Linux - Newbie 2 10-06-2003 09:25 AM


All times are GMT -5. The time now is 07:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration