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
awk Shell Script error : "Syntax Error : `Split' unexpected Herry UNIX for Dummies Questions & Answers 2 03-17-2008 08:16 AM
error during run: St9bad_alloc - Getting this error while using some conversion progr sathu_pec Shell Programming and Scripting 1 01-20-2008 11:38 PM
I got error like...syntax error on line 1, teletype koti_rama UNIX for Advanced & Expert Users 2 07-07-2007 04:35 PM
error reading sections error at install doelman SUN Solaris 2 02-05-2007 09:21 AM
Error: Internal system error: Unable to initialize standard output file firkus UNIX for Dummies Questions & Answers 2 10-25-2005 12:23 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 04-07-2004
Registered User
 

Join Date: Jan 2002
Location: India
Posts: 111
AIX DBX Error

I am trying to debug a program, which had generated a core dump. When I issue 'where' command, it list me filename along with line number, which in case is not at all there in the .c file.

Example:

(dbx) where
func1(var1= (...), var2 = 86, var3 = 0,var4 = 0)
, line 87 in "prog.f"
main(), line 746 in "prog.c"

But infact prog.c contains a total number of 739 lines.

What could be the possible set of reasons for such an output by DBX.

Thanks in advance.
__________________
Regards,
Satya Prakash Prasad
Reply With Quote
Forum Sponsor
  #2  
Old 04-09-2004
Registered User
 

Join Date: Jan 2002
Location: India
Posts: 111
Please follow the link:

DBX UNABLE TO TRACE FAULTING THREAD STACK IN TRUNCATED CORE

Since I cannot implement the fix and try it out, but I have a general question. Even after the fix do I need to have SA_FULLDUMP flag set OR even with SA_PARTDUMP I will be able to read data from core file to which I am currently receiving the following error:
"warning: Unable to access address 0x200009cc from core"

Thanks in advance.
__________________
Regards,
Satya Prakash Prasad
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:36 AM.


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