Tuesday, January 29, 2013

Error Code 160 With OPatch, Crash In $ORACLE_HOME/jdk/jre/bin/libj9jit23.so (Unhandled Exception )


Error:
======

Error Code 160 With OPatch, Crash In $ORACLE_HOME/jdk/jre/bin/libj9jit23.so (Unhandled Exception )

cskront1(/app/oracle/product/11.1.0/OPatch): ./opatch lsinventory
Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000033
Handler1=09001000A0ABBC78 Handler2=09001000A0AB3538
R0=0000000000000000 R1=0FFFFFFFFFFFB8B0 R2=0000000000000011 R3=0000000000000017
R4=07000000001AB028 R5=00000001115D7D80 R6=00000001115D7CB8 R7=00000001115D7CB8
R8=0000000000000000 R9=00000001115D7D80 R10=0000000110256648 R11=0900000006330C38
R12=00000001109E5AD8 R13=000000011000EAA0 R14=00000001115D7D80 R15=00000001101F5700
R16=0000000110A8BAF0 R17=000000011151B278 R18=09001000A0ABF3B0 R19=0000000000000041
R20=000000011151A508 R21=00000001115D7F28 R22=00000001101F5780 R23=0000000000000000
R24=0000000003FCC9D8 R25=07000000001A77C0 R26=FFFFFFFFFFFFFFFF R27=0000000000000017
R28=07000000001AB1E8 R29=0000000000000002 R30=0000000000000015 R31=0000000000000000
IAR=0900000006330C38 LR=00000001102567FC MSR=A00000000000D032 CTR=0900000006330C38
CR=8254508420000006 FPSCR=8202000000000000 XER=2000000682020000
FPR0 0000000800000008 (f: 8.000000, d: 1.697597e-313)
FPR1 41e0000000000000 (f: 0.000000, d: 2.147484e+09)
FPR2 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR3 c530000000000000 (f: 0.000000, d: -1.934281e+25)
FPR4 3f30000000000000 (f: 0.000000, d: 2.441406e-04)
FPR5 3fd6666666666666 (f: 1717986944.000000, d: 3.500000e-01)
FPR6 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
FPR7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR11 4026000000000000 (f: 0.000000, d: 1.100000e+01)
FPR12 3fe8000000000000 (f: 0.000000, d: 7.500000e-01)
FPR13 4020800000000000 (f: 0.000000, d: 8.250000e+00)
FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/app/oracle/product/11.1.0/jdk/jre/bin/libj9jit23.so
Module_base_address=0900000006306000
Target=2_30_20070131_11312_BHdSMr (AIX 6.1)
CPU=ppc64 (8 logical CPUs) (0x400000000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using '/app/oracle/product/11.1.0/OPatch/core.20110915.083824.27656416.dmp'
JVMDUMP010I System Dump written to /app/oracle/product/11.1.0/OPatch/core.20110915.083824.27656416.dmp
JVMDUMP007I JVM Requesting Snap Dump using '/app/oracle/product/11.1.0/OPatch/Snap0001.20110915.083824.27656416.trc'
JVMDUMP010I Snap Dump written to /app/oracle/product/11.1.0/OPatch/Snap0001.20110915.083824.27656416.trc
JVMDUMP007I JVM Requesting Java Dump using '/app/oracle/product/11.1.0/OPatch/javacore.20110915.083824.27656416.txt'
JVMDUMP010I Java Dump written to /app/oracle/product/11.1.0/OPatch/javacore.20110915.083824.27656416.txt
JVMDUMP013I Processed Dump Event "gpf", detail "".

OPatch failed with error code 160


Scenario:

========
While running opatch lsinventory we get the above error. 
We are running 11.1.0.7 With R12.1.1 in IBM AIX 6.1  64 bit.

Cause

======
The JAVA_COMPILER environment variable needs to be set to NONE.

Solution:

=========
Export the environment variable JAVA_COMPILER=NONE
export JAVA_COMPILER=NONE

Reference:

=========
Error Code 160 With OPatch, Crash In $ORACLE_HOME/jdk/jre/bin/libj9jit23.so (Unhandled Exception Type=Segmentation Error Vmstate=0x00000000 J9Generic_Signal_Number=...) [ID 1359047.1]

No comments: