0 Replies Latest reply on Jan 16, 2012 12:54 PM by 911270

    JVM Crashes Error Message: Unhandled native exception [85]

    911270
      While trying to install wls1034_generic.jar with
      java -D64 wls1034_generic.jar -mode=silent -silent_xml=silent.xml
      the JVM crashes. Error Message: Unhandled native exception [85]
      With the option -XnoOpt it's working fine. Also it's working fine on some other systems with UltraSparc-IV CPU's.
      The Problem only occurs on some systems using UltraSparc-IV+ CPU's.
      The Problem occurs with both JRockit versions
      Oracle JRockit(R) R28.1.4-7-144370-1.6.0_26-20110617-2130-solaris-sparcv9
      Oracle JRockit(R) R28.2.0-79-146777-1.6.0_29-20111005-1807-solaris-sparcv9

      Here is the core dump:
      ===== BEGIN DUMP =============================================================
      JRockit dump produced after 0 days, 00:03:04 on Fri Jan 13 10:07:39 2012
      ....
      Error Message: Unhandled native exception [85]
      Signal info : si_signo=4, si_code=1 si_addr=0xffffffff604f20c0
      Version : Oracle JRockit(R) R28.2.0-79-146777-1.6.0_29-20111005-1807-solaris-sparcv9
      CPU : UltraSPARC-IV+ (portid 3 impl 0x19 ver 0x22 clock 1800 MHz)
      Number CPUs : 8
      Tot Phys Mem : 25769803776 (24576 MB)
      OS version : SunOS 5.10 Generic_144488-17 sun4u
      Thread System: Solaris Threads
      Java locking : Lazy unlocking enabled (class banning) (transfer banning)
      State : JVM is running
      ....
      StackOverFlow: 0 StackOverFlowErrors have occured
      OutOfMemory : 0 OutOfMemoryErrors have occured
      C Heap : Good; no memory allocations have failed
      GC Strategy : Mode: throughput, with strategy: genparpar (basic strategy: genparpar)
      GC Status : OC is not running. Last finished OC was OC#0.
      : YC is not running. Last finished YC was YC#5.
      YC Promotion : Last YC successfully promoted all objects
      YC History : Ran 5 YCs since last OC.
      Heap : 0x30000000 - 0x40000000 (Size: 256 MB)
      Compaction : (no compaction area)
      Allocation : TLA-min: 2048, TLA-preferred: 65536 TLA-waste limit: 2048
      NurseryList : 0x30000000 - 0x38000000
      KeepArea : 0x33fffff0 - 0x35ffffe8
      KA Markers : [ 0x33fffff0,  0x35ffffe8 , 0x38000000 ]
      Forbidden A : (none)
      Previous KA : 0x35ffffe8 - 0x38000000
      Previous FA : (none)
      CompRefs : References are compressed, with heap base 0x0 and shift 0.

      Registers (from ThreadContext: 0xffffffff5e6828f0:
      g0 = 0000000000000000 g1 = ffffffff600087a0
      g2 = 0000000101f33c30 g3 = 000000000000002c
      g4 = 0000000035a49640 g5 = ffffffff77680000
      g6 = 0000000000000000 g7 = ffffffff7f20b200
      o0 = 0000000038b4d8c8 o1 = 0000000038b4d8c8
      o2 = 0000000000000008 o3 = 000000000000a818
      o4 = 0000000035a49640 o5 = 0000000000000000
      sp = ffffffff5e6824d1 o7 = ffffffff600087b0
      l0 = 000000007cdfc4e8 l1 = 000100007cdfc4e8
      l2 = 0000000101f33c40 l3 = 0000000000000000
      l4 = 0000000000000000 l5 = 0000000000000000
      l6 = 0000000000000000 l7 = 0000000000000000
      i0 = 0000000038b4d8c8 i1 = 000000007cdff030
      i2 = ffffffffffffffff i3 = 0000000000000001
      i4 = 0000000035a47540 i5 = 0000000000000001
      fp = ffffffff5e682561 i7 = ffffffff60008620
      y = 0000000000000000 pc = ffffffff604f20c0
      npc = ffffffff604f20c4 ccr = 0000000000000044
      fsr = 0000000900000020

      Loaded modules:
      (* denotes the module where the exception occured)
      0000000100000000-0000000100012233 /home/test/jrockit-jdk1.6.0_29/bin/sparcv9/java
      ffffffff7f400000-ffffffff7f400772 /lib/64/libdl.so.1
      ffffffff7f700000-ffffffff7f704183 /lib/64/libthread.so.1
      ffffffff7ef00000-ffffffff7f03cae4 /lib/64/libc.so.1
      ffffffff7ee00000-ffffffff7ee0128f /platform/SUNW,Sun-Fire-V490/lib/sparcv9/libc_psr.so.1
      ffffffff7e400000-ffffffff7e7015bb /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/jrockit/libjvm.so
      ffffffff7ea00000-ffffffff7ea14ce3 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libjrosal.so
      ffffffff7e200000-ffffffff7e20b413 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libjrutil.so
      ffffffff7e000000-ffffffff7e00470f /lib/64/libm.so.1
      ffffffff7de00000-ffffffff7de0d041 /lib/64/libsocket.so.1
      ffffffff7dc00000-ffffffff7dcabb59 /lib/64/libnsl.so.1
      ffffffff7da00000-ffffffff7da061a5 /lib/64/librt.so.1
      ffffffff7d800000-ffffffff7d800f95 /lib/64/libkstat.so.1
      ffffffff7d600000-ffffffff7d602086 /lib/64/libdoor.so.1
      ffffffff7d400000-ffffffff7d4076af /lib/64/libaio.so.1
      ffffffff7d200000-ffffffff7d20cadf /lib/64/libmd.so.1
      ffffffff7d000000-ffffffff7d0910b9 /lib/64/libm.so.2
      ffffffff7ce00000-ffffffff7ce1b02e /lib/64/libscf.so.1
      ffffffff7cc00000-ffffffff7cc078b7 /lib/64/libuutil.so.1
      ffffffff7ca00000-ffffffff7ca0619c /lib/64/libgen.so.1
      ffffffff7c800000-ffffffff7c804a1f /platform/SUNW,Sun-Fire-V490/lib/sparcv9/libmd_psr.so.1
      ffffffff7c600000-ffffffff7c602beb /lib/64/libmp.so.2
      ffffffff7bf00000-ffffffff7bf0d9cb /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libjfr.so
      ffffffff7b800000-ffffffff7b80e528 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libverify.so
      ffffffff7b600000-ffffffff7b62c2d6 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libjava.so
      ffffffff77600000-ffffffff77607f2e /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/native_threads/libhpi.so
      ffffffff73200000-ffffffff73210067 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libzip.so
      ffffffff71b00000-ffffffff71b1257c /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libnet.so
      ffffffff71900000-ffffffff71906b9c /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libnio.so
      ffffffff71700000-ffffffff717043b3 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/liborii.so
      ffffffff5fb00000-ffffffff5fb0f4a8 /home/test/jrockit-jdk1.6.0_29/jre/lib/sparcv9/libj2pkcs11.so
      ffffffff5f900000-ffffffff5f918240 /usr/lib/sparcv9/libpkcs11.so
      ffffffff5f700000-ffffffff5f707fd5 /usr/lib/64/libcryptoutil.so.1
      ffffffff5f500000-ffffffff5f54c43f /usr/lib/security/64/pkcs11_softtoken.so

      Stack:
      (* marks the word pointed to by the stack pointer)
      ffffffff5e682cd0: 000000007cdfc4e8* 000100007cdfc4e8 0000000101f33c40 0000000000000000
      ffffffff5e682cf0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      ffffffff5e682d10: 0000000038b4d8c8 000000007cdff030 ffffffffffffffff 0000000000000001
      ffffffff5e682d30: 0000000035a47540 0000000000000001 ffffffff5e682561 ffffffff60008620
      ffffffff5e682d50: ffffffff5e6825c1 ffffffff7e4dc068 0000000035a49598 0000000000000000
      ffffffff5e682d70: 0000000035066258 0000000000000000 0000000000000000 0000000038aa2e40

      Code:
      (* marks the word pointed to by the instruction pointer)
      ffffffff604f2060: d45aa020972ae003 d45a800bc25aa028 9fc0400001000000 d05ba87f7ffd07f9
      ffffffff604f2080: 0100000001000000 81c7e00881e80000 a0100008d05ba87f 7ffd07f201000000
      ffffffff604f20a0: 901000107fed909f 0100000001000000 0000000000000000 0000000000000000
      ffffffff604f20c0: 9de3bf80a0100018* 1b1ffff0c0436000 921000007fec47f3 90100018b0100008
      ffffffff604f20e0: 80a2000012600006 01000000d2442000 7ff0233c90100010 b010000881c7e008
      ffffffff604f2100: 81e8000000000000 0000000000000000 0000000000000000 0000000000000000


      Last optimized methods:
      #17 sun/nio/cs/ISO_8859_1$Decoder.decodeArrayLoop(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult; 173.994-174.022 0xffffffff60434460-0xffffffff6043489c 28.10 ms 1024KB
      #18 com/bea/plateng/common/util/crlf/FixCRLF.processStream(Ljava/io/InputStream;Ljava/io/File;Ljava/lang/String;)V 174.071-174.427 0xffffffff604348c0-0xffffffff604360a0 355.61 ms 3584KB
      #19 jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object; 183.287-183.339 0xffffffff604f20c0-0xffffffff604f2104 51.88 ms 256KB
      #20 java/lang/Thread.init(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;J)V 183.551-183.606 0xffffffff604f2120-0xffffffff604f2980 55.09 ms 1280KB
      *#21 java/lang/Thread.<init>(Ljava/lang/String;)V 183.760-183.812 0xffffffff604f29a0-0xffffffff604f3230 51.46 ms 1280KB
      #6 java/lang/StringBuffer.append(C)Ljava/lang/StringBuffer; 168.519-168.533 0xffffffff6042d720-0xffffffff6042d9a0 14.68 ms 512KB
      #7 jrockit/vm/ArrayCopy.copy(Ljava/lang/Object;ILjava/lang/Object;II)V 168.690-168.766 0xffffffff6042d9c0-0xffffffff6042e544 75.66 ms 1536KB
      #8 com/bea/plateng/common/util/crlf/FixCRLF.process(Lcom/bea/plateng/common/util/crlf/FixCRLF$OneLiner;Ljava/io/File;Ljava/lang/String;)V 169.460-170.275 0xffffffff6042e560-0xffffffff6043039c 815.21 ms 5888KB
      #9 java/nio/charset/CharsetEncoder.encode(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult; 170.275-170.364 0xffffffff604303c0-0xffffffff60430d7c 88.71 ms 1536KB
      #10 sun/nio/cs/US_ASCII$Encoder.encodeLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult; 170.364-170.511 0xffffffff60430da0-0xffffffff604319ec 147.31 ms 2304KB
      #11 java/util/Arrays.copyOf([CI)[C  170.511-170.519 0xffffffff60431a00-0xffffffff60431b5c 7.27 ms 512KB 
        #12 sun/nio/cs/US_ASCII$Encoder.encodeArrayLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;  170.519-170.581 0xffffffff60431b80-0xffffffff6043236c 62.18 ms 1536KB 
        #13 sun/nio/cs/UTF_8$Encoder.encodeArrayLoop(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;  170.581-171.017 0xffffffff60432380-0xffffffff60433d3c 435.67 ms 4608KB 
        #14 java/io/BufferedOutputStream.<init>(Ljava/io/OutputStream;I)V  171.017-171.020 0xffffffff60433d60-0xffffffff60433e80 2.86 ms 256KB 
        #15 java/lang/AbstractStringBuilder.expandCapacity(I)V  171.210-171.219 0xffffffff60433ea0-0xffffffff60434030 8.90 ms 512KB 
        #16 jrockit/vm/Locks.monitorExit(Ljava/lang/Object;)V  172.069-172.095 0xffffffff60434060-0xffffffff60434458 25.55 ms 768KB 

      Thread:
      "chmod" id=134 idx=0x230 tid=141 lastJavaFrame=0x0
      Stack 0: start=0xffffffff5e600000, end=0xffffffff5e684000, guards=0xffffffff5e60a000 (ok), forbidden=0xffffffff5e606000

      Thread Stack Trace:
          at <unknown>(???.c)@0xffffffff604f20c0
          at <unknown>(???.c)@0xffffffff60008620
          at <unknown>(???.c)@0xffffffff6004c8d0
          at <unknown>(???.c)@0xffffffff601d47c0
          at <unknown>(???.c)@0xffffffff601d4748
          at <unknown>(???.c)@0xffffffff6000fea4
          at <unknown>(???.c)@0xffffffff6000fdf4
          at <unknown>(???.c)@0xffffffff601d415c
          at <unknown>(???.c)@0xffffffff601d2090
          at <unknown>(???.c)@0xffffffff601d1b10
          at <unknown>(???.c)@0xffffffff601d1558
          at <unknown>(???.c)@0xffffffff601d14c4
          at <unknown>(???.c)@0xffffffff601d1148
          at <unknown>(???.c)@0xffffffff601d0b30
          at <unknown>(???.c)@0xffffffff601d0ba4
          at <unknown>(???.c)@0xffffffff601d0ba4
          at <unknown>(???.c)@0xffffffff601ceb54
          at <unknown>(???.c)@0xffffffff604f1130
          at <unknown>(???.c)@0xffffffff604eff40
          at <unknown>(???.c)@0xffffffff604efb54
          at <unknown>(???.c)@0xffffffff604ef818
          at <unknown>(???.c)@0xffffffff601015c0
          at <unknown>(???.c)@0xffffffff60047f60
          at <unknown>(???.c)@0xffffffff60002d64
          at stubsCallC2JavaStub+23(stubs_sparc.c:86)@0xffffffff7e680044
          at stubsCallJava+339(stubcall.c:150)@0xffffffff7e67d770
          at stubsCallJavaV+395(stubcall.c:276)@0xffffffff7e67dae8
          at javaInvokeVirtualVoidMethod+43(javacalls.c:178)@0xffffffff7e5294e4
          at thread_stub+151(lifecycle.c:780)@0xffffffff7e5cf038
          at __csigsetjmp+227()@0xffffffff7efd7b2c
          -- Java stack --
          at jrockit/vm/Locks.monitorEnter(Ljava/lang/Object;)Ljava/lang/Object;(Locks.java)[optimized]
      at java/lang/Thread.init(Thread.java:348)
      at java/lang/Thread.<init>(Thread.java:462)
      at java/lang/UNIXProcess$2$1.<init>(UNIXProcess.java:84)
      at java/lang/UNIXProcess$2.run(UNIXProcess.java:84)
      at jrockit/vm/AccessController.doPrivileged(AccessController.java:232)
      at jrockit/vm/AccessController.doPrivileged(AccessController.java:240)
      at java/lang/UNIXProcess.<init>(UNIXProcess.java:81)
      at java/lang/ProcessImpl.start(ProcessImpl.java:65)
      at java/lang/ProcessBuilder.start(ProcessBuilder.java:453)
      at java/lang/Runtime.exec(Runtime.java:593)
      at java/lang/Runtime.exec(Runtime.java:466)
      at com/bea/plateng/common/util/Chmod.chmod(Chmod.java:71)
      at com/bea/plateng/common/util/Chmod.wildcardChmod(Chmod.java:110)
      at com/bea/plateng/common/util/Chmod.wildcardChmod(Chmod.java:104)
      at com/bea/plateng/common/util/Chmod.wildcardChmod(Chmod.java:104)
      at com/bea/plateng/wizard/installer/utils/chmod/ChmodHelper.chmodFromDefinition(ChmodHelper.java:98)
      at com/bea/plateng/wizard/installer/utils/chmod/ChmodHelper.execute(ChmodHelper.java:180)
      at com/bea/plateng/wizard/installer/utils/chmod/ChmodHelper.execute(ChmodHelper.java:143)
      at com/bea/plateng/wizard/installer/utils/chmod/ChmodHelper.execute(ChmodHelper.java:120)
      at com/bea/plateng/wizard/installer/silent/tasks/ChmodTask.execute(ChmodTask.java:26)
      at com/bea/plateng/wizard/silent/tasks/AbstractSilentTask.run(AbstractSilentTask.java:28)
      at java/lang/Thread.run(Thread.java:662)
      at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
      -- end of trace
      Memory usage report:
      Total mapped 3698344KB (reserved=3032568KB)
      - Java heap 3145728KB (reserved=2883584KB)
      - GC tables 114008KB
      - Thread stacks 11312KB (#threads=21)
      - Compiled code 262144KB (used=5068KB)
      - Internal 51280KB
      - OS 32KB
      - Other 83632KB
      - Classblocks 1792KB (malloced=1749KB #4228)
      Not tracing sites.

      - Java class data 27392KB (malloced=27373KB #19430 in 4228 classes)
      Not tracing sites.

      - Native memory tracking 1024KB (malloced=117KB #10)
      Not tracing sites.
      .....
      ===== END DUMP ===============================================================