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:44:39
1TIFILENAME    Javacore filename:    /home/user/javacore.20090611.094432.294936.0003.txt
NULL           ------------------------------------------------------------------------
0SECTION       GPINFO subcomponent dump routine
NULL           ================================
2XHOSLEVEL     OS Level         : AIX 6.1
2XHCPUS        Processors -
3XHCPUARCH       Architecture   : ppc64
3XHNUMCPUS       How Many       : 8
3XHNUMASUP       NUMA is either not supported or has been disabled by user
NULL           
1XHEXCPCODE    J9Generic_Signal_Number: 0000000000000004
1XHEXCPCODE    Signal_Number: 000000000000000B
1XHEXCPCODE    Error_Value: 0000000000000000
1XHEXCPCODE    Signal_Code: 0000000000000033
1XHEXCPCODE    Handler1: 09001000A063EEA0
1XHEXCPCODE    Handler2: 09001000A0636508
NULL           
1XHEXCPMODULE  Module: /home/user/sdk/jre/lib/ppc64/softrealtime/libj9trc25.so
1XHEXCPMODULE  Module_base_address: 0900000003C07000
NULL           
1XHREGISTERS   Registers:
2XHREGISTER      R0: 000000000000000A
2XHREGISTER      R1: 0000000110116C10
2XHREGISTER      R2: 09001000A06546B8
2XHREGISTER      R3: 0000000000000000
2XHREGISTER      R4: 09001000A062A260
2XHREGISTER      R5: 000000000000000A
2XHREGISTER      R6: 09001000A0654030
2XHREGISTER      R7: 0000000000000048
2XHREGISTER      R8: 00000000101771FB
....
2XHREGISTER      FPR30: 0000000000000000
2XHREGISTER      FPR31: 0000000000000000
2XHREGISTER      IAR: 0900000003C0C91C
2XHREGISTER      LR: 0900000003C0CC5C
2XHREGISTER      MSR: A00000000000D032
2XHREGISTER      CTR: 0900000003C0B954
2XHREGISTER      CR: 8400428920000005
2XHREGISTER      FPSCR: 8202400000000000
2XHREGISTER      XER: 2000000582024000
NULL           
1XHFLAGS       VM flags:0000000000000000
NULL           
NULL           ------------------------------------------------------------------------
0SECTION       ENVINFO subcomponent dump routine
NULL           =================================
1CIJAVAVERSION J2RE 6.0 IBM J9 2.5 AIX ppc64-64 build jvmap64srt60sr2-20090528_36265
1CIVMVERSION   VM build 20090528_036265
1CIJITVERSION  JIT enabled, AOT enabled - r10_20090527_2033
1CIGCVERSION   GC - 20090508_AA
1CIRUNNINGAS   Running as a standalone JVM
1CICMDLINE     sdk/jre/bin/java -Xgcpolicy:metronome -Xtrace:trigger=Method{*.*,segv} -version
1CIJAVAHOMEDIR Java Home Dir:   /home/user/sdk/jre
1CIJAVADLLDIR  Java DLL Dir:    /home/user/sdk/jre/bin
1CISYSCP       Sys Classpath:   /home/user/sdk/jre/lib/ppc64/softrealtime/jclSC160/vm.jar....
1CIUSERARGS    UserArgs:
2CIUSERARG               -Xjcl:jclscar_25
2CIUSERARG               -Dcom.ibm.oti.vm.bootstrap.library.path=/home/user/sdk/jre/lib/ppc64/softrealtime....
2CIUSERARG               -Dsun.boot.library.path=/home/user/sdk/jre/lib/ppc64/softrealtime....
2CIUSERARG               -Djava.library.path=/home/user/sdk/jre/lib/ppc64/softrealtime....
2CIUSERARG               -Djava.home=/home/user/sdk/jre
2CIUSERARG               -Djava.ext.dirs=/home/user/sdk/jre/lib/ext
2CIUSERARG               -Duser.dir=/home/user
2CIUSERARG               _j2se_j9=1119744 0x09001000A06292A8
2CIUSERARG               -Djava.runtime.version=pap6460srtsr2-20090602_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 0x09001000A062A260
2CIUSERARG               _org.apache.harmony.vmi.portlib 0x0000000110135428

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

1XHEXCPMODULE  Module: /home/user/sdk/jre/lib/ppc64/softrealtime/libj9trc25.so
1XHEXCPMODULE  Module_base_address: 0900000003C07000


© 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/)