The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-28-2008
lakeat lakeat is offline
Registered User
 

Join Date: Sep 2007
Location: Shanghai
Posts: 12
Unhappy How to use core file?

Hi experts,

A good day to you all.

With debug option, I compiled a big program called OpenFOAM (Written mainly in c++) on IRIX.
after it is finished, I got a SEGV when I executed it.

Quote:
Segmentation fault (core dump)
I noticed that the core file is quite a big block (800M)!
However, I can get very little information from it. I did:

Quote:
gdb
and then

Quote:
core core
here's the outcome

Quote:
This GDB was configured as "mips-sgi-irix6.5".

(gdb) core core
Core was generated by `wmkdep'.
Program terminated with signal 11, Segmentation fault.
warning: wrong size gregset struct in core file
warning: wrong size gregset struct in core file
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
what shall I do now?
what does it mean by saying "wrong size gregset struct in core file", is it fatal?
How can I use core file?


Thank you.

Daniel
Reply With Quote
Remove advertisements
!!
!! Forum Sponsor