Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
10-01-2007, 01:40 AM
|
#1
|
|
Member
Registered: Oct 2006
Posts: 121
Rep:
|
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
|
|
|
|
10-01-2007, 02:24 AM
|
#2
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
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.
Last edited by jlliagre; 10-01-2007 at 02:38 AM.
|
|
|
|
10-06-2007, 12:48 AM
|
#3
|
|
Member
Registered: Oct 2006
Posts: 121
Original Poster
Rep:
|
core dump
Quote:
Originally Posted by jlliagre
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
|
|
|
|
10-06-2007, 02:26 AM
|
#4
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Quote:
Originally Posted by dayalan_cse
Sorry, I could not find core file current working directory.
|
How did you look for the core file and what failed ?
My suggestion is still to use coreadm. Did you have a look at this command ?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|