![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to use a core dump file | lagigliaivan | High Level Programming | 2 | 05-26-2008 06:06 AM |
| core file | fredginting | SUN Solaris | 1 | 04-22-2008 08:46 AM |
| Deleting core file?? | alc640 | UNIX for Dummies Questions & Answers | 1 | 04-13-2007 06:52 AM |
| core file | sveera | SUN Solaris | 2 | 05-23-2005 12:52 PM |
| core file analysis | kristy | UNIX for Dummies Questions & Answers | 1 | 10-05-2001 01:38 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
||||
|
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:
However, I can get very little information from it. I did: Quote:
Quote:
Quote:
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 |
| Forum Sponsor | ||
|
|
|
|||
|
Hi Daniel,
Use executable file also while analyzing the core file. e.g. gdb -e OpenFOAM -c core This should give you better insight as i have noticed with my code. Regards, Vinod. Quote:
|
|
|||
|
Thank you, Vinod,
Okay, here's what I got now. Quote:
Regards, Daniel |
|
|||
|
Quote:
No offence V3l0, I mean the answer is not an easy one to have and blockMesh is above reproach. On sgi-Irix6.5, after a core dump, I was adviced to perform a "strace", but I got the following information: ERROR: tracer already exists what shall I do now? I am justing wandering, dear experts, what is the best way to locate the problem, to diagnose the diseases? Daniel |
|
|||
|
> gdb blockMesh core
and then when gdb did load the libraries and core file: (gdb) bt this should give you the backtrace when the programm died. i'm not sure why it didn't work for you. Alternatively you can start the program directly in gdb and issue bt after the prog died. > gdb blockMesh (gdb) run |
|||
| Google The UNIX and Linux Forums |