LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Core Dump on Solaris (Question about core file) (http://www.linuxquestions.org/questions/solaris-opensolaris-20/core-dump-on-solaris-question-about-core-file-588544/)

dayalan_cse 10-01-2007 01:40 AM

Core Dump on Solaris (Question about core file)
 
Hello All,

I am getting segmentation fault on Solaris 5.8 but i could not find where the core file is being created. I did the following,

step 1: I did not get core file so i used ulimit -c unlimited
step 2: now my program crashed at the end it says "Core Dumped" but where is the file?

Am i missing anything here? Please let me know your inputs, Thank you in advance.

Thanks,
Dayalan

jlliagre 10-01-2007 02:24 AM

The core file is by default created into the process current directory. You can find what this directory is by using the pwdx command while the process is still alive.

You can also use the coreadm command to centralize core file storage.

dayalan_cse 10-06-2007 12:48 AM

core dump
 
Quote:

Originally Posted by jlliagre (Post 2909057)
The core file is by default created into the process current directory. You can find what this directory is by using the pwdx command while the process is still alive.

You can also use the coreadm command to centralize core file storage.


Sorry, I could not find core file current working directory.

Any suggestions?

Thks,
Dayalan

jlliagre 10-06-2007 02:26 AM

Quote:

Originally Posted by dayalan_cse (Post 2914985)
Sorry, I could not find core file current working directory.

How did you look for the core file and what failed ?
Quote:

Any suggestions?
My suggestion is still to use coreadm. Did you have a look at this command ?


All times are GMT -5. The time now is 12:19 AM.