The UNIX and Linux Forums  

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


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 03-30-2008
Registered User
 

Join Date: Sep 2007
Location: Shanghai
Posts: 12
Thank you all, and thank you Lazzar, I appreciate it.

what you adviced I have tried before, it is something like this

Quote:
onyx-bridge 13% blockMesh
Segmentation fault (core dumped)
onyx-bridge 14% gdb
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mips-sgi-irix6.5".
(gdb) core core
Core was generated by `blockMesh'.
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)
And I dont know what do these warning and error really mean!


And another question, is there a subforum for sgi-IRIX under this forum?


Daniel
Reply With Quote
Forum Sponsor
  #9  
Old 03-31-2008
Registered User
 

Join Date: Oct 2003
Posts: 32
maybe you could try with dbx instead gdb if it is installed.
in dbx you type 'where' instead of 'bt' to get the backtrace.

MySQL Bugs: #25344: Segmentation violation when try to run the perror utility
the above link shows a case where gdb didn't work, but dbx showed a useful backtrace on irix.
Reply With Quote
  #10  
Old 04-01-2008
Registered User
 

Join Date: Sep 2007
Location: Shanghai
Posts: 12
Quote:
Originally Posted by Lazzar View Post
maybe you could try with dbx instead gdb if it is installed.
in dbx you type 'where' instead of 'bt' to get the backtrace.

MySQL Bugs: #25344: Segmentation violation when try to run the perror utility
the above link shows a case where gdb didn't work, but dbx showed a useful backtrace on irix.
Thank you Lazzar, that helps.
With dbx I have found a little bit more information than gdb.
However, I am still very frustrated, for the dbx show me as if something wrong with a *.C file, however, there's no problem at all when I compile it under any linux, that is to say, it shouldn't have to be the problem.

So, I doubt whether dbx have given me the right information!!!

CFD codes is extremely huge! I will keep on looking.

Best Regards,
Daniel
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:51 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0