Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
Search Forums:



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-17-2008
Registered User
 

Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Urgent - core dump in solaris 5.10

anybody know abt Segmentation Fault - core dumped in solaris 5.10..wats this error??
Sponsored Links
    #2  
Old 01-17-2008
Registered User
 

Join Date: Jun 2007
Location: Singapore
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
The core dump will occur due to Invalid memory reference.

Check your code,

1. is the string variables are initialized?
2. is the Pointer references are assigned before use?
Sponsored Links
    #3  
Old 01-17-2008
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,466
Thanks: 0
Thanked 6 Times in 6 Posts
If you have the core file you can start with a "pstack core" to see what the application was doing at the time.
    #4  
Old 01-17-2008
Registered User
 

Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
The Load core file on the debugger i.e dbx core then type
where -- which will give the stack trace
Sponsored Links
    #5  
Old 01-17-2008
ɹǝsn *sıɹɐlos*
 

Join Date: Dec 2007
Location: Paris
Posts: 3,712
Thanks: 11
Thanked 296 Times in 276 Posts
Without a debugger, you can still get some information about the core file:


Code:
file core
pflags core
pstack core
pldd core

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
about core dump zhaohaizhou Programming 1 09-15-2004 06:30 AM
core dump buRst UNIX for Dummies Questions & Answers 2 12-15-2001 11:26 AM
core dump sskb UNIX for Dummies Questions & Answers 6 12-05-2001 02:59 AM
bcp core dump on Solaris 5.7 gerald_agoi UNIX for Advanced & Expert Users 1 10-10-2001 03:56 PM
help, what is the difference between core dump and panic dump? aileen UNIX for Dummies Questions & Answers 1 06-11-2001 08:08 PM



All times are GMT -4. The time now is 05:58 AM.