LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-24-2008, 10:23 AM   #1
dina3e
Member
 
Registered: Mar 2008
Location: Bangalore
Distribution: Enterprise Red Hat linux
Posts: 98

Rep: Reputation: 16
Smile There is no core file created in radhat linux


i am trying to do core file in system
my program gives segments faults but not created the core file .....
/*1.c */
int main(){
char *s;
strcpy(s,"ilojjfjjkadkjaddof");
printf("%s",s);
return 1;
}


here i why not i am getting the core dump only segment fault
 
Old 03-24-2008, 10:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Core dump is disabled by default in redhat. To see how you can enable it, you should read this article.

Regards
 
Old 03-30-2008, 02:46 PM   #3
seminewbie
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
similar problem

I get a core dump for a small test application, but not for a larger one. The only thing I can think of is I don't have enough quota for the core dump? How big of a dump should a 7MB executable create?

The coredumpsize is unlimited and I am using csh.

Last edited by seminewbie; 03-30-2008 at 02:47 PM. Reason: coredumpsize
 
  


Reply

Tags
dump



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
Which file is created after installing cdrom on red hat linux vishwas786 Linux - Newbie 7 10-25-2007 02:55 AM
how to store a pixmap image created by gdk programm into a new file in linux m.harshavardhan Linux - General 0 05-06-2005 12:57 AM
Changing the boot screen created by Linux fedora core arinlinux Linux - Newbie 3 06-25-2004 08:07 AM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 04:54 PM
Help Needed with Linux RadHat 8.0 LanoX Linux - General 11 01-08-2004 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration