TITLE, GPINFO, and ENVINFO sections

At the start of a Javadump, the first three sections are the TITLE, GPINFO, and ENVINFO sections. They provide useful information about the cause of the dump.

The following example shows some output taken from a simple Java™ test program using the -Xtrace option, that deliberately causes a "general protection fault" (GPF).

TITLE
Shows basic information about the event that caused the generation of the Javadump, the time it was taken, and its name.
GPINFO
Varies in content depending on whether the Javadump was produced because of a GPF or not. It shows some general information about the operating system. If the failure was caused by a GPF, GPF information about the failure is provided, in this case showing that the protection . The registers specific to the processor and architecture are also displayed.
The GPINFO section also refers to the vmState, recorded in the console output as VM flags. The vmState is the thread-specific state of what was happening in the JVM at the time of the crash. The value for vmState is a 32-bit hexadecimal number of the format MMMMSSSS, where MMMM is the major component and SSSS is component specific code.
Major component Code number
OTHER 0x00000
INTERPRETER 0x10000
GC 0x20000
GROW_STACK 0x30000
JNI 0x40000
JIT_CODEGEN 0x50000
BCVERIFY 0x60000
RTVERIFY 0x70000
SHAREDCLASSES 0x80000
In the following example, the value for vmState is VM flags:00000000, which indicates a crash outside any of the major JVM components. This typically means that the failure occurred when executing Java code; in this case when the Java application calls into the -Xtrace option library libj9trc25.so.
When the vmState major component is JNI, the crash might be caused by customer JNI code or by Java SDK JNI code. Check the Javadump to reveal which JNI routine was called at the point of failure. The JNI is the only component where a crash might be caused by customer code.
When the vmState major component is JIT_CODEGEN, see the information at JIT and AOT problem determination.
ENVINFO
Shows information about the JRE level that failed and details about the command line that launched the JVM process and the JVM environment in place.
0SECTION       TITLE subcomponent dump routine
NULL           ===============================
1TISIGINFO     Dump Event "gpf" (00002000) received 
1TIDATETIME    Date:                 2009/06/11 at 09:27:14
1TIFILENAME    Javacore filename:    /home/user/javacore.20090611.092713.319966.0003.txt
NULL           ------------------------------------------------------------------------
0SECTION       GPINFO subcomponent dump routine
NULL           ================================
2XHOSLEVEL     OS Level         : AIX 6.1
2XHCPUS        Processors -
3XHCPUARCH       Architecture   : ppc
3XHNUMCPUS       How Many       : 8
3XHNUMASUP       NUMA is either not supported or has been disabled by user
NULL           
1XHEXCPCODE    J9Generic_Signal_Number: 00000004
1XHEXCPCODE    Signal_Number: 0000000B
1XHEXCPCODE    Error_Value: 00000000
1XHEXCPCODE    Signal_Code: 00000033
1XHEXCPCODE    Handler1: F143A3EC
1XHEXCPCODE    Handler2: F1432350
NULL           
1XHEXCPMODULE  Module: /home/user/sdk/jre/lib/ppc/softrealtime/libj9trc25.so
1XHEXCPMODULE  Module_base_address: DC493000
NULL           
1XHREGISTERS   Registers:
2XHREGISTER      R0: 0000000A
2XHREGISTER      R1: 30111970
2XHREGISTER      R2: F144C56C
2XHREGISTER      R3: 00000000
2XHREGISTER      R4: F144C228
2XHREGISTER      R5: 0000000A
2XHREGISTER      R6: F1424318
2XHREGISTER      R7: 00000024
2XHREGISTER      R8: 1010F0F9
....
2XHREGISTER      FPR30: 00000000
2XHREGISTER      FPR31: 00000000
2XHREGISTER      IAR: DC498D28
2XHREGISTER      LR: DC497C74
2XHREGISTER      MSR: 0000D032
2XHREGISTER      CTR: DC497C70
2XHREGISTER      CR: 82004289
2XHREGISTER      FPSCR: 82004000
2XHREGISTER      XER: 20000005
2XHREGISTER      TID: 00000000
2XHREGISTER      MQ: 00000000
NULL           
1XHFLAGS       VM flags:00000000
NULL           
NULL           ------------------------------------------------------------------------
0SECTION       ENVINFO subcomponent dump routine
NULL           =================================
1CIJAVAVERSION J2RE 6.0 IBM J9 2.5 AIX ppc-32 build jvmap32srt60sr2-20090603_36633
1CIVMVERSION   VM build 20090603_036633
1CIJITVERSION  JIT enabled, AOT enabled - r10_20090603_1712
1CIGCVERSION   GC - 20090603_AA
1CIRUNNINGAS   Running as a standalone JVM
1CICMDLINE     sdk/jre/bin/java -Xgcpolicy:metronome -Xtrace:trigger=Method{*.*,segv} -version
1CIJAVAHOMEDIR Java Home Dir:   /team/chamlain/ap32/sdk/jre
1CIJAVADLLDIR  Java DLL Dir:    /team/chamlain/ap32/sdk/jre/bin
1CISYSCP       Sys Classpath:   /home/user/sdk/jre/lib/ppc/softrealtime/jclSC160/vm.jar....
1CIUSERARGS    UserArgs:
2CIUSERARG               -Xjcl:jclscar_25
2CIUSERARG               -Dcom.ibm.oti.vm.bootstrap.library.path=/home/user/sdk/jre/lib/ppc/softrealtime....
2CIUSERARG               -Dsun.boot.library.path=/home/user/sdk/jre/lib/ppc/softrealtime....
2CIUSERARG               -Djava.library.path=/home/user/sdk/jre/lib/ppc/softrealtime....
2CIUSERARG               -Djava.home=/team/chamlain/ap32/sdk/jre
2CIUSERARG               -Djava.ext.dirs=/home/user/ap32/sdk/jre/lib/ext
2CIUSERARG               -Duser.dir=/home/user
2CIUSERARG               _j2se_j9=1119744 0xF1423B14
2CIUSERARG               -Djava.runtime.version=pap3260srtsr2-20090607_01 (SR2)
2CIUSERARG               -Xdump
2CIUSERARG               -Djava.class.path=.
2CIUSERARG               -Xgcpolicy:metronome
2CIUSERARG               -Xtrace:trigger=Method{*.*,segv}
2CIUSERARG               -Dsun.java.launcher=SUN_STANDARD
2CIUSERARG               _port_library 0xF1424318
2CIUSERARG               _org.apache.harmony.vmi.portlib 0x3012B8B8

In the example above, the following lines show where the crash occurred:

1XHEXCPMODULE  Module: /home/user/sdk/jre/lib/ppc/softrealtime/libj9trc25.so
1XHEXCPMODULE  Module_base_address: DC493000


© Copyright IBM Corporation 2005, 2010. All Rights Reserved.
© Copyright Sun Microsystems, Inc. 1997, 2007, 901 San Antonio Rd., Palo Alto, CA 94303 USA. All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
This information center is powered by Eclipse technology. (http://www.eclipse.org/)