LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   There is no core file created in radhat linux (https://www.linuxquestions.org/questions/linux-newbie-8/there-is-no-core-file-created-in-radhat-linux-630245/)

dina3e 03-24-2008 10:23 AM

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

bathory 03-24-2008 10:30 AM

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

Regards

seminewbie 03-30-2008 02:46 PM

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.


All times are GMT -5. The time now is 11:49 AM.