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

SEGV in c2 compiled java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;

    XMLWordPrintable

Details

    Description

      Stress test crashed with
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f7c452fbc66, pid=9808, tid=25363
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+29) (fastdebug build 14-ea+29-1383)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+29-1383, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # J 2498022 c2 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; java.base@14-ea (300 bytes) @ 0x00007f7c452fbc66 [0x00007f7c452fbbe0+0x0000000000000086]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1419/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8304ee7e-6759-466a-8844-e008c0a49070/runs/2ad5cf7d-6dd6-4c92-be18-ba9eb611ee3a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/core.9808)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -da:edu.cmu.graphchi... -da:java.util.logging... -XX:MaxRAMPercentage=50 -Djava.vm.version=1.14.0 -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1419/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8304ee7e-6759-466a-8844-e008c0a49070/runs/2ad5cf7d-6dd6-4c92-be18-ba9eb611ee3a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1419/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8304ee7e-6759-466a-8844-e008c0a49070/runs/2ad5cf7d-6dd6-4c92-be18-ba9eb611ee3a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+29-1383/linux-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.so -XX:NativeMemoryTracking=detail applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/fcf4c0c4-d73e-4321-860c-6613427db92b-S1419/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8304ee7e-6759-466a-8844-e008c0a49070/runs/2ad5cf7d-6dd6-4c92-be18-ba9eb611ee3a/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/kitchensink.final.properties

      Host: Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 58G, Oracle Linux Server release 7.6
      Time: Fri Jan 3 23:30:53 2020 UTC elapsed time: 78734 seconds (0d 21h 52m 14s)

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

      Current thread (0x00007f7b9800b000): JavaThread "Thread-1594" [_thread_in_Java, id=25363, stack(0x00007f7bdc34e000,0x00007f7bdc44f000)]

      Stack: [0x00007f7bdc34e000,0x00007f7bdc44f000], sp=0x00007f7bdc44c698, free space=1017k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 2498022 c2 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; java.base@14-ea (300 bytes) @ 0x00007f7c452fbc66 [0x00007f7c452fbbe0+0x0000000000000086]

      [error occurred during error reporting (printing native stack), id 0xb, SIGSEGV (0xb) at pc=0x00007f7c5b063428]


      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x000000000000003a

      Register to memory mapping:

      RAX=0x00000007d886774d is pointing into object: java.util.HashMap$Node
      {0x00000007d8867740} - klass: 'java/util/HashMap$Node'
       - ---- fields (total size 4 words):
       - final 'hash' 'I' @12 46 (2e)
       - final strict 'key' 'Ljava/lang/Object;' @16 a 'org/biojava/nbio/core/sequence/compound/AminoAcidCompound'{0x00000007d88661c0} (fb10cc38)
       - strict 'value' 'Ljava/lang/Object;' @20 a 'java/lang/Double'{0x00000007d8867728} = 0.000000 (fb10cee5)
       - strict 'next' 'Ljava/util/HashMap$Node;' @24 NULL
       (0)
      RBX=0x00000007d88656b0 is an oop: java.util.HashMap
      {0x00000007d88656b0} - klass: 'java/util/HashMap'
       - ---- fields (total size 6 words):
       - transient strict 'keySet' 'Ljava/util/Set;' @12 NULL
       (0)
       - transient strict 'values' 'Ljava/util/Collection;' @16 NULL
       (0)
       - transient 'size' 'I' @20 30 (1e)
       - transient 'modCount' 'I' @24 30 (1e)
       - 'threshold' 'I' @28 48 (30)
       - final 'loadFactor' 'F' @32 0.750000 (3f400000)
       - transient strict 'table' '[Ljava/util/HashMap$Node;' @36 a 'java/util/HashMap$Node'[64] {0x00000007d8867538} (fb10cea7)
       - transient strict 'entrySet' 'Ljava/util/Set;' @40 NULL
       (0)
      RCX=0x00000007d88661c0 is an oop: org.biojava.nbio.core.sequence.compound.AminoAcidCompound
      {0x00000007d88661c0} - klass: 'org/biojava/nbio/core/sequence/compound/AminoAcidCompound'
       - ---- fields (total size 5 words):
       - private final 'base' 'Ljava/lang/String;' @12 "."{0x00000007ffc00438} (fff80087)
       - private final 'upperedBase' 'Ljava/lang/String;' @16 "."{0x00000007ffc00438} (fff80087)
       - private 'shortName' 'Ljava/lang/String;' @20 "."{0x00000007ffc00438} (fff80087)
       - private 'longName' 'Ljava/lang/String;' @24 "..."{0x00000007ffc54d78} (fff8a9af)
       - private 'description' 'Ljava/lang/String;' @28 "Unspecified"{0x00000000c19737f8} (1832e6ff)
       - private 'molecularWeight' 'Ljava/lang/Float;' @32 NULL
       (0)
       - private final 'compoundSet' 'Lorg/biojava/nbio/core/sequence/compound/AminoAcidCompoundSet;' @36 a 'org/biojava/nbio/core/sequence/compound/AminoAcidCompoundSet'{0x00000007d88656e0} (fb10cadc)
      RDX=0x000000000000002e is an unknown value
      RSP=0x00007f7bdc44c698 is pointing into the stack for thread: 0x00007f7b9800b000
      RBP=0x00000000fb10cee5 is pointing into object: [J
      {0x00000000fb10b360} - klass: {type array long}
       - length: 15488
       - 0: 0x0 0x1e430
       - 1: 0x0 0x0
       - 2: 0x0 0x0
       - 3: 0x0 0x0
       - 4: 0x0 0x0
       - 5: 0x0 0x0
       - 6: 0x0 0x0
       - 7: 0x0 0x0
       - 8: 0x0 0x0
       - 9: 0x0 0x0
       - 10: 0x0 0x0
      ...

      Attachments

        Activity

          People

            chagedorn Christian Hagedorn
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: