URGENT HELP: How do I analyze a core dump WITHOUT dbx ?

URGENT HELP: How do I analyze a core dump WITHOUT dbx ?

Post by Guy Dallai » Wed, 13 Oct 1999 04:00:00



Hello,

I just discovered that on a SUN, dbx is NOT included on the base
package, nor is it included when you buy only the SparWorks C/C++
compiler... (Isn't it stupid !)

Now, I have a problem....

I have a core dump from an oracle application and I need to know WHERE
it crashed... With dbx, it is easy, just 'dbx application core' issue
the command "where" and voila, you have the name of the function where
the program crashed...

I don't have dbx. Can I use adb instead ? If so, how do I do the
equivalent of a "where" in adb ?

Thanks

-----------------------------
Guy Dallaire, Sysadmin/DBA
Centre de recherche industrielle du Quebec
Ste-Foy, QC, Canada
http://www.criq.qc.ca

ICQ: 18846092

 
 
 

URGENT HELP: How do I analyze a core dump WITHOUT dbx ?

Post by Michael Uhlenber » Thu, 14 Oct 1999 04:00:00


adb progname core
$c    stack trace
$r    registers
$C    maybe larger stack trace
$q     quit

> Hello,

> I just discovered that on a SUN, dbx is NOT included on the base
> package, nor is it included when you buy only the SparWorks C/C++
> compiler... (Isn't it stupid !)

> Now, I have a problem....

> I have a core dump from an oracle application and I need to know WHERE
> it crashed... With dbx, it is easy, just 'dbx application core' issue
> the command "where" and voila, you have the name of the function where
> the program crashed...

> I don't have dbx. Can I use adb instead ? If so, how do I do the
> equivalent of a "where" in adb ?

> Thanks

> -----------------------------
> Guy Dallaire, Sysadmin/DBA
> Centre de recherche industrielle du Quebec
> Ste-Foy, QC, Canada
> http://www.criq.qc.ca

> ICQ: 18846092


 
 
 

1. dbx and analyzing core dumps

I have a core file from a user of my software that was generated on a
SOLARIS 2.6 system.  When I try to evaluate the core dump using "dbx" using
the following command in "dbx"

  debug -c core <executable>

I receive the following error message:

  dbx: panic: Proc::get_rtld_stuff(): could not initialize rtld_db

I have set LD_LIBRARY_PATH to point to the dynamic library directory for my
program.  Any ideas?

J. Stifle

2. Linux Frequently Asked Questions with Answers (Part 1 of 6)

3. Problem in analyzing core with dbx

4. Video card settings

5. can't understand core dump file analyse

6. Plugin Status

7. Analyzing core dumps

8. WANTED: Shell, Perl, C, and/or Java Programmer

9. Analyze core dump file.

10. How to analyze core dump?

11. Analyze core dump file.

12. ?on analyzing core dumps

13. How to analyze core dumps