Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6504160

JVM crash at instanceKlass::oop_follow_contents(oopDesc*) - was expected to be fixed in 5u1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0u3
    • hotspot
    • gc
    • sparc
    • solaris_10

      Customer got a JVM crash with 5u3 on Solaris 10, hs_err_pid8698.log and core file have been created. According to bugtrag the problem it seems that the issue is fixed in 5u1 (see also CR 5094237), but it has been detected again in 5u3. Here is the hs_err_<pid>.log with symbols:

      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # SIGSEGV (0xb) at pc=0xfe8e9bdc, pid=8698, tid=26
      #
      # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0xe9bdc]
      #

      --------------- T H R E A D ---------------

      Current thread (0x002075c0): VMThread [id=26]

      siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0xf6fe35f0
      si_signo=11 SIGSEGV
      si_code=2 SEGV_ACCERR /* Invalid permissions for mapped object. */

      Registers:
      O0=0x3e0f35fc O1=0x00000a7e O2=0x00000001 O3=0x00207670
      O4=0x00000003 O5=0x3e0f3a70 O6=0x36a7f6a8 O7=0xfe8e9bf0
      G1=0x393a6f80 G2=0x00000008 G3=0x393a6f78 G4=0x00000000
      G5=0x00000002 G6=0x00000000 G7=0xfe4c5c00 Y=0x00000000
      PC=0xfe8e9bdc nPC=0xfe8e9be0


      Top of Stack: (sp=0x36a7f6a8)
      0x36a7f6a8: 00000001 00000000 393a6f84 3e0f3600
      0x36a7f6b8: 3e0f3668 0000006c f6fe35f0 00000001
      0x36a7f6c8: 00000001 3e0f35f0 0000001b 0000000c
      0x36a7f6d8: 393a6df0 393a6f80 36a7f708 fead5574
      0x36a7f6e8: 00000000 000375d0 002075c0 0013d788
      0x36a7f6f8: 00207a68 00207bd8 00207e5c 36a7fa68
      0x36a7f708: 00207670 00000a7e fe8e9b2c fefcf204
      0x36a7f718: 393a6ce8 0115afc0 000029f4 00000a7d

      Instructions: (pc=0xfe8e9bdc)
      0xfe8e9bcc: ec 04 e0 00 80 a5 a0 00 22 40 00 0a a6 04 e0 04
      0xfe8e9bdc: f0 05 a0 00 ae 0e 20 03 80 a5 e0 03 22 40 00 05
      00000000fe8e9bcc ec 04 e0 00 80 a5 a0 00 22 40 00 0a a6 04 e0 04
      ---------------
      00000000fe8e9bdc f0 05 a0 00 ld [ %l6 ], %i0
      00000000fe8e9be0 ae 0e 20 03 and %i0, 3, %l7
      00000000fe8e9be4 80 a5 e0 03 cmp %l7, 3
      00000000fe8e9be8 22 40 00 05 unknown

      Stack: [0x36a00000,0x36a80000), sp=0x36a7f6a8, free space=509k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xe9bdc] void instanceKlass::oop_follow_contents(oopDesc*)+0xb0
      V [libjvm.so+0x2d557c] void MarkSweep::follow_stack()+0x68
      V [libjvm.so+0x300ef8] void PSMarkSweep::invoke_no_policy(int*,int)+0x4e8
      V [libjvm.so+0x301e84] void PSMarkSweep::invoke(int*,int)+0xac
      V [libjvm.so+0x2ff950] void VM_ParallelGCSystemGC::doit()+0x1c
      V [libjvm.so+0x29df30] void VM_Operation::evaluate()+0x88
      V [libjvm.so+0x362b44] void VMThread::run()+0x5ac
      V [libjvm.so+0x6436f0] void*_start(void*)+0x144

      VM_Operation (0x348ff698): parallel gc system gc, mode: safepoint, requested by thread 0x006c87a0


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x014f3f30 JavaThread "KbBariskMonitorThread" daemon [_thread_blocked, id=1070]
        0x014f6390 JavaThread "KbBariskWriteThread2/2" daemon [_thread_blocked, id=1069]
        0x00787770 JavaThread "KbBariskWriteThread2/1" daemon [_thread_blocked, id=1068]
        0x01180448 JavaThread "KbBariskCalcThread2/1" daemon [_thread_blocked, id=1067]
        0x00464a48 JavaThread "KbBariskInputThread2/1" daemon [_thread_blocked, id=1066]
        0x007cd0b8 JavaThread "RMI TCP Connection(257)-172.205.11.151" daemon [_thread_blocked, id=1040]
        0x00c072a8 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=51]
        0x00bfc2d8 JavaThread "RMI Reaper" [_thread_blocked, id=49]
        0x00bae830 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=48]
        0x00c09020 JavaThread "RMI RenewClean-[172.205.11.131:37050,de.hvb.rt.server.net.rmi.RtRMIClientSocketFactory@103047]" daemon [_thread_blocked, id=46]
        0x0072c4c0 JavaThread "Timer-1" daemon [_thread_blocked, id=44]
        0x01229768 JavaThread "Timer-0" daemon [_thread_blocked, id=43]
        0x006c87a0 JavaThread "GC Daemon" daemon [_thread_blocked, id=41]
        0x006c85e0 JavaThread "RMI RenewClean-[172.205.11.131:37065,de.hvb.rt.server.net.rmi.RtRMIClientSocketFactory@103047]" daemon [_thread_blocked, id=40]
        0x015787a8 JavaThread "PoolThread-0" [_thread_blocked, id=38]
        0x00bd36b8 JavaThread "Acceptor ServerSocket[addr=kb01priv/172.205.11.151,port=0,localport=14142]" [_thread_in_native, id=37]
        0x006f6a60 JavaThread "SessionScavenger" daemon [_thread_blocked, id=36]
        0x00708b00 JavaThread "Rollover" daemon [_thread_blocked, id=35]
        0x0021b438 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=33]
        0x00219ce8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=32]
        0x00218e80 JavaThread "CompilerThread0" daemon [_thread_blocked, id=31]
        0x00218018 JavaThread "AdapterThread" daemon [_thread_blocked, id=30]
        0x002172b8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=29]
        0x0020aba8 JavaThread "Finalizer" daemon [_thread_blocked, id=28]
        0x00209e70 JavaThread "Reference Handler" daemon [_thread_blocked, id=27]
        0x000375d0 JavaThread "main" [_thread_blocked, id=1]

      Other Threads:
      =>0x002075c0 VMThread [id=26]
        0x0021d0c0 WatcherThread [id=34]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x00036ac0/0x00036af0] Threads_lock - owner thread: 0x002075c0
      [0x000333a0/0x00036f40] Heap_lock - owner thread: 0x006c87a0

      Heap
      PSYoungGen total 137664K, used 288K [0xc9400000, 0xf6800000, 0xf8400000)
        eden space 135872K, 0% used [0xc9400000,0xc9400000,0xd18b0000)
        from space 1792K, 16% used [0xf6640000,0xf6688000,0xf6800000)
        to space 5632K, 0% used [0xf5d00000,0xf5d00000,0xf6280000)
      PSOldGen total 155648K, used 41537K [0x3c800000, 0x46000000, 0xc9400000)
        object space 155648K, 26% used [0x3c800000,0x3f090770,0x46000000)
      PSPermGen total 16384K, used 11989K [0x38800000, 0x39800000, 0x3c800000)
        object space 16384K, 73% used [0x38800000,0x393b5450,0x39800000)

      Dynamic libraries:
      0x00010000 /usr/j2se_1.5.0_03/jre/bin/java
      0xff3f8000 /lib/libthread.so.1
      0xff3a0000 /lib/libdl.so.1
      0xff280000 /lib/libc.so.1
      0xff270000 /platform/SUNW,Netra-T12/lib/libc_psr.so.1
      0xfe800000 /usr/j2se_1.5.0_03/jre/lib/sparc/server/libjvm.so
      0xff230000 /lib/libsocket.so.1
      0xff260000 /usr/lib/libsched.so.1
      0xff1f0000 /usr/lib/libCrun.so.1
      0xff1d0000 /lib/libm.so.1
      0xff100000 /lib/libnsl.so.1
      0xfe700000 /lib/libm.so.2
      0xff0d0000 /lib/libscf.so.1
      0xff0b0000 /lib/libdoor.so.1
      0xff090000 /lib/libuutil.so.1
      0xff070000 /lib/libmd5.so.1
      0xff050000 /platform/SUNW,Netra-T12/lib/libmd5_psr.so.1
      0xff020000 /lib/libmp.so.2
      0xfe7e0000 /usr/j2se_1.5.0_03/jre/lib/sparc/native_threads/libhpi.so
      0xfe6c0000 /usr/j2se_1.5.0_03/jre/lib/sparc/libverify.so
      0xfe680000 /usr/j2se_1.5.0_03/jre/lib/sparc/libjava.so
      0xfe660000 /usr/j2se_1.5.0_03/jre/lib/sparc/libzip.so
      0xfe410000 /usr/j2se_1.5.0_03/jre/lib/sparc/libnet.so
      0xfb7e0000 /usr/j2se_1.5.0_03/jre/lib/sparc/libnio.so
      0xfb7c0000 /lib/librt.so.1
      0xfb7a0000 /lib/libaio.so.1
      0xfb6e0000 /usr/lib/libsendfile.so.1
      0xf87a0000 /usr/j2se_1.5.0_03/jre/lib/sparc/libj2pkcs11.so
      0xf86c0000 /usr/lib/libpkcs11.so
      0xf86a0000 /usr/lib/libcryptoutil.so.1
      0xf8480000 /usr/lib/security/pkcs11_softtoken.so
      0xf85e0000 /usr/j2se_1.5.0_03/jre/lib/sparc/librmi.so

      VM Arguments:
      jvm_args: -Xms200m -Xmx3000m -XX:NewRatio=3 -Xbootclasspath:/opt/KB/BusinessServer/lib/xalan/xalan.jar:/opt/KB/BusinessServer/lib/xalan/xercesImpl.jar:/opt/KB/BusinessServer/lib/xalan/xml-apis.jar:/opt/KB/j2se/jre/lib/rt.jar:/opt/KB/j2se/jre/lib/jsse.jar:/opt/KB/j2se/jre/lib/jce.jar:/opt/KB/j2se/jre/lib/charsets.jar -Djava.awt.headless=true -Djetty.home=/opt/KB/BusinessServer -Dde.hvb.rt.server.jetty.vmname=state/state_McCalc28.log -DJarBufferFilter=.*jtb.*
      java_command: de.hvb.rt.server.jetty.RtBootstrap file://///opt/KB/BusinessServer/config/BServAppl.xml McCalc28

      Environment Variables:
      JAVA_HOME=/opt/KB/j2se
      CLASSPATH=/opt/KB/j2se/jre/lib/rt.jar:/opt/KB/BusinessServer/bin/startup.jar
      PATH=/usr/bin::/opt/KB/j2se/jre/bin:/opt/KB/j2se/bin
      LD_LIBRARY_PATH=/usr/j2se_1.5.0_03/jre/lib/sparc/server:/usr/j2se_1.5.0_03/jre/lib/sparc:/usr/j2se_1.5.0_03/jre/../lib/sparc
      SHELL=/bin/ksh


      --------------- S Y S T E M ---------------

      OS: Solaris 10 6/06 s10s_u2wos_09a SPARC
                 Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                   Assembled 09 June 2006

      uname:SunOS 5.10 Generic_118833-17 sun4u (T2 libthread)
      rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
      load average:8.84 12.39 15.01

      CPU:total 24 has_v8, has_v9, has_vis1, has_vis2, is_ultra3

      Memory: 8k page, physical 100663296k(22251192k free)

      vm_info: Java HotSpot(TM) Server VM (1.5.0_03-b07) for solaris-sparc, built on Apr 13 2005 03:31:26 by unknown with unknown Workshop:0x550

            minqi Yumin Qi
            jloefflm Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: