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

JVM crash at symbolOopDesc::as_klass_external_name

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6
    • hotspot
    • None
    • x86
    • linux_sun

      This is radiance case 65624203.

      The libraries are at
      /net/cores.central/cores/dir26/65624203/oct09
      The core file is at
      /net/cores.central/cores/dir26/65624203/sep12
      hs_err logs
      /net/cores.central/cores/dir26/65624203

      All crashes show the following stack:

      V [libjvm.so+0x5e3697];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4df41d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x368247];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57

      The crashes were observed in both JDK 5.0 and 6.0 releases, so this is not
      same case as in CR 6253459, which is fixed in 6.0.


      Aug 29 2006
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5e6697, pid=21521, tid=1128810848
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)

      V [libjvm.so+0x5e3697];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4df41d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x368247];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      j java.util.concurrent.ConcurrentHashMap$Segment.get(Ljava/lang/Object;I)Ljava/
      lang/Object;+30
      j java.util.concurrent.ConcurrentHashMap.get(Ljava/lang/Object;)Ljava/lang/Obje
      ct;+12
      j com.adaptiveplanning.cache.VC$FactMap.get(Lcom/adaptiveplanning/cache/VC$Coor
      d;)[


      Sep 01 2006
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5e6697, pid=9368, tid=1134074208
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)



      Oct 03 2006
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5e6697, pid=30950, tid=1156180320
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)

      V [libjvm.so+0x5e3697];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4df41d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x368247];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      v ~C2IAdapter
      J com.adaptiveplanning.cache.VC$FactMap.get
        ~I2CAdapter
      j com.adaptiveplanning.cache.VC$Merger.updateFact
      v ~C2IAdapter
      J com.adaptiveplanning.cache.VC$Merger.mergeFacts
      v ~I2CAdapter

      Nov 15 2006
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5e6697, pid=26464, tid=1145653600
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)

      V [libjvm.so+0x5e3697];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4df41d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x368247];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      v ~C2IAdapter
      J com.adaptiveplanning.cache.Evaluator.valueAt
      J com.adaptiveplanning.cache.Evaluator.sumAccountChildren

      Nov 16 2006
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5e6697, pid=26464, tid=1145653600
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)

      V [libjvm.so+0x5e3697];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4df41d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x368247];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$AcctPlanIntersection.equals

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$AcctPlanIntersection.equals
      v ~C2IAdapter
      J com.adaptiveplanning.cache.VC$PlanDescendentAcctDataMap.createEntry
      v ~I2CAdapter
      j com.adaptiveplanning.cache.VC$PlanDescendentAcctDataMap.access$300


      Feb 01 2007
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab5f1487, pid=7351, tid=1134074208
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_08-b03 mixed mode)


      V [libjvm.so+0x5ee487];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4e93ad];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x36f057];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals
      v ~C2IAdapter
      J com.adaptiveplanning.cache.VC$Invalidator.invalidateCoord(Lcom/adaptiveplanni
      ng/cache/VC$Coord;)V
      J com.adaptiveplanning.cache.VC$Invalidator.doInvalidate(Ljava/util/Set;)V
      v ~I2CAdapter

      Mar 11 2007
      -----------
      # SIGSEGV (0xb) at pc=0x00002aaaab67bd87, pid=32551, tid=1119177056
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)

      V [libjvm.so+0x5ee487];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x4e93ad];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x36f057];; _ZN18InterpreterRuntime22create_klass_exceptionEP10Ja
      vaThreadPcP7oopDesc+0x57
      j com.adaptiveplanning.cache.VC$Coord.equals

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      v ~C2IAdapter
      J com.adaptiveplanning.cache.VC$Invalidator.invalidateCoord
      J com.adaptiveplanning.cache.VC$Invalidator.doInvalidate(
      v ~I2CAdapter


      Aug 20 2007 22:34
      -----------------
      # SIGSEGV (0xb) at pc=0x00002ba513f77d87, pid=23118, tid=1144441152
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)

      V [libjvm.so+0x56ed87];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x42ef7d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x2cf896];; _ZN18InterpreterRuntime24throw_ClassCastExceptionEP10
      JavaThreadP7oopDesc+0x56
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      J com.adaptiveplanning.cache.Evaluator.valueAt

      Aug 20 2007 22:40
      -----------------
      # SIGSEGV (0xb) at pc=0x00002b48dd603d87, pid=12665, tid=1127598400
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.6.0-b105 mixed mode)

      V [libjvm.so+0x56ed87];; _ZNK13symbolOopDesc22as_klass_external_nameEv+0x7
      V [libjvm.so+0x42ef7d];; _ZNK5Klass13external_nameEv+0xd
      V [libjvm.so+0x2cf896];; _ZN18InterpreterRuntime24throw_ClassCastExceptionEP10
      JavaThreadP7oopDesc+0x56
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j com.adaptiveplanning.cache.VC$Coord.equals(Ljava/lang/Object;)Z+1
      J com.adaptiveplanning.cache.Evaluator.valueAt
      CU implemented the options below and saw another crash:

      -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:LogFile=/tmp/Compilations.log

      compilation log in
      /net/cores.central/cores/dir26/65624203/oct22/compilations.log

      hs_err log in
      /net/cores.central/cores/dir26/65624203/oct22/hs_err_pid13815.log

      Spotted the compiliation of com/adaptiveplanning/cache/VC$Coord equals

      <task_queued compile_id='591' method='com/adaptiveplanning/cache/VC$Coord equals
       (Ljava/lang/Object;)Z' bytes='44' count='5000' iicount='10000' stamp='416.881'
      comment='count' hot_count='10000'/>
      <writer thread='1087596864'/>
      <nmethod compile_id='591' compiler='C2' entry='0x00002aaaab42e3c0' size='624' ad
      dress='0x00002aaaab42e290' relocation_offset='256' code_offset='304' exception_o
      ffset='496' consts_offset='501' scopes_data_offset='504' scopes_pcs_offset='552'
       dependencies_offset='584' nul_chk_table_offset='592' oops_offset='608' method='
      com/adaptiveplanning/cache/VC$Coord equals (Ljava/lang/Object;)Z' bytes='44' cou
      nt='5314' iicount='10314' stamp='416.883'/>

      although that method was interpreted as seen from the stack trace...

            dsamersoff Dmitriy Samersoff
            lkchow Lawrence Chow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: