Using dbx to look at an AIX core file on a separate system than where the core was produced
 Technote (FAQ)
 
Problem
In an AIX® environment, when running dbx, it will look at the system libraries when analyzing the core. This will cause addressing problems unless the systems are exact same version.
 
Solution
Save the executed and libraries in a directory called libs under the current directory:

mkdir libs
{ save files to libs }

Then run edit_core ( 32bit ) or edit_core (64bit) on the core file :

edit_core core.001

this fixes the core to look for libraries in libs directory.

Then use dbx or this script

ftp://ftp.software.ibm.com/aix/tools/javatools/diagnostic/dbxtrace.sh

which runs dbx :

dbx libs/executable core.001
or
dbxtrace.sh libs/executable core.001

edit_coreedit_core64
 
Related information
Instructions for gathering the libraries
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java SDK
Operating system(s): AIX
Software version: 6.0
Software edition:
Reference #: 1215814
IBM Group: Software Group
Modified date: Aug 31, 2005