Operating System - Linux
1748194 Members
3518 Online
108759 Solutions
New Discussion юеВ

How i can trace a core dump ?

 
SOLVED
Go to solution
Francesco_13
Regular Advisor

How i can trace a core dump ?

I have a core dump in my hp-ux 11i. For reading this, maybe that i'm do it to pass to any debug program : gdb or dde, but in my system it's not present and in a cd-rom of installation i cannot find it.
How i can install a correct program?

Thanks.
Best regards.
Francesco
14 REPLIES 14
Alex Lavrov.
Honored Contributor

Re: How i can trace a core dump ?

On one of your software CDROMs, there should be gdb installation. I think it's on the first CD or second.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Alex Lavrov.
Honored Contributor

Re: How i can trace a core dump ?

Hmm, maybe not after all. You can download it from here:

http://mirrors.develooper.com/hpux/downloads.html

porting by Procura


Or download wdb:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1665,00.html

I don't give a damn for a man that can only spell a word one way. (M. Twain)
Francesco_13
Regular Advisor

Re: How i can trace a core dump ?

Hi,
in my cd set, software application (blue color) i cannot find it GDB. Are this the cd-set that you tell me?
Thanks
Best regards.
Francesco
Muthukumar_5
Honored Contributor
Solution

Re: How i can trace a core dump ?

Initially You can try as,

# file core
# what core
# adb core
abd> c

You can get gdb for your platform from web itself.

hth.
Easy to suggest when don't know about the problem!
Alex Lavrov.
Honored Contributor

Re: How i can trace a core dump ?

Well, I thought that it's there, but since I don't have it now, I can't check.

I gave you links to GDB ported to HPUX and WDB (another debugger).

I think there should not be a problem to install them.


Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Rajesh SB
Esteemed Contributor

Re: How i can trace a core dump ?

Hi,

Normally, these gdb & WDB debug program comes along with Langtools Package of compilers. This can be found in your one of the Application CD supplied along with OS CD bundle.

Those products are

WDB B.11.11.12 HP Wildebeest(HP WDB) Debugger
WDB-GUI B.11.11.12 GUI for the HP WDB Debugger


Regards,
Rajesh
Francesco_13
Regular Advisor

Re: How i can trace a core dump ?

Hi,
great! But i'm not be able to run the adb command...

The program that have generated a core it's :
f90webm
and the core file :
core

if i run: adb f90webm core
it's not correct

Can you help me?

Thanks.
Best regards.
Francesco
Alex Lavrov.
Honored Contributor

Re: How i can trace a core dump ?

Rajesh SB, thanx, I knew I saw them on Software CDs ! :)
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Rajesh SB
Esteemed Contributor

Re: How i can trace a core dump ?

Hi,

Following steps are useful for debugging the crash/core dumps.

HPUX Panic Analysis

HP-UX has its own to analyze scripts. This is what you need to do to run a panic analysis:

1.) cd /var/adm/crash/core.[n]
2.) zcat /usr/contrib/lib/Q4Lib.tar.Z | tar -xvf -
3.) gunzip vmunix
4.) /usr/contrib/bin/q4pxdb vmunix
5.) cp q4lib/sample.q4rc.pl ~/.q4rc.pl
6.) /usr/contrib/bin/q4 -p .
7.) include analyze.pl
8.) run Analyze AU > crash[n]_rpt.txt
9.) Refer the "crash[n]_rpt.txt" file for crash details.

Regards,
Rajesh