anybody know abt Segmentation Fault - core dumped in solaris 5.10..wats this error??
The core dump will occur due to Invalid memory reference.
Check your code,
- is the string variables are initialized?
- is the Pointer references are assigned before use?
If you have the core file you can start with a "pstack core" to see what the application was doing at the time.
The Load core file on the debugger i.e dbx core then type
where -- which will give the stack trace
Without a debugger, you can still get some information about the core file:
file core
pflags core
pstack core
pldd core