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

compiler/graalunit/HotspotTest.java fails due to SIGSEGV in DependencyContext::add_dependent_nmethod()

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux, windows

      Description

      The following test failed due to SIGSEGV:

      compiler/graalunit/HotspotTest.java

      Here's a snippet from the log file:

      org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest started (22 of 48)
        registration: Passed 5086.6 ms
        readBeanInfo: Passed 6229.8 ms
        publicJmxApiOfGraalDumpOperation: #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fdefb23d409, pid=9356, tid=9370
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+24) (fastdebug build 14-ea+24-1079)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+24-1079, mixed mode, sharing, tiered, jvmci, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xa34409] DependencyContext::add_dependent_nmethod(nmethod*)+0x99
      #
      # 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/6e54f4af-e606-43b0-80ce-0a482a5988b6-S251/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7b2f4ae3-7b61-4ae3-873c-7d7bde9c73ec/runs/b9667d6d-2341-4a08-9026-1aee0171a84b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler_graalunit/scratch/2/core.9356)
      #
      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S251/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7b2f4ae3-7b61-4ae3-873c-7d7bde9c73ec/runs/b9667d6d-2341-4a08-9026-1aee0171a84b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler_graalunit/scratch/2/hs_err_pid9356.log
      Compiled method (c1) 63508 11786 3 java.lang.invoke.LambdaForm::normalize (322 bytes)
       total in heap [0x00007fdedda0a690,0x00007fdedda0d608] = 12152
       relocation [0x00007fdedda0a808,0x00007fdedda0ac60] = 1112
       main code [0x00007fdedda0ac60,0x00007fdedda0c660] = 6656
       stub code [0x00007fdedda0c660,0x00007fdedda0c758] = 248
       metadata [0x00007fdedda0c758,0x00007fdedda0c788] = 48
       scopes data [0x00007fdedda0c788,0x00007fdedda0cc70] = 1256
       scopes pcs [0x00007fdedda0cc70,0x00007fdedda0d580] = 2320
       dependencies [0x00007fdedda0d580,0x00007fdedda0d588] = 8
       nul chk table [0x00007fdedda0d588,0x00007fdedda0d608] = 128
      Compiled method (c1) 63511 11786 3 java.lang.invoke.LambdaForm::normalize (322 bytes)
       total in heap [0x00007fdedda0a690,0x00007fdedda0d608] = 12152
       relocation [0x00007fdedda0a808,0x00007fdedda0ac60] = 1112
       main code [0x00007fdedda0ac60,0x00007fdedda0c660] = 6656
       stub code [0x00007fdedda0c660,0x00007fdedda0c758] = 248
       metadata [0x00007fdedda0c758,0x00007fdedda0c788] = 48
       scopes data [0x00007fdedda0c788,0x00007fdedda0cc70] = 1256
       scopes pcs [0x00007fdedda0cc70,0x00007fdedda0d580] = 2320
       dependencies [0x00007fdedda0d580,0x00007fdedda0d588] = 8
       nul chk table [0x00007fdedda0d588,0x00007fdedda0d608] = 128
      Compiled method (c1) 63511 11786 3 java.lang.invoke.LambdaForm::normalize (322 bytes)
       total in heap [0x00007fdedda0a690,0x00007fdedda0d608] = 12152
       relocation [0x00007fdedda0a808,0x00007fdedda0ac60] = 1112
       main code [0x00007fdedda0ac60,0x00007fdedda0c660] = 6656
       stub code [0x00007fdedda0c660,0x00007fdedda0c758] = 248
       metadata [0x00007fdedda0c758,0x00007fdedda0c788] = 48
       scopes data [0x00007fdedda0c788,0x00007fdedda0cc70] = 1256
       scopes pcs [0x00007fdedda0cc70,0x00007fdedda0d580] = 2320
       dependencies [0x00007fdedda0d580,0x00007fdedda0d588] = 8
       nul chk table [0x00007fdedda0d588,0x00007fdedda0d608] = 128
      #
      # Compiler replay data is saved as:
      # /opt/mach5/mesos/work_dir/slaves/6e54f4af-e606-43b0-80ce-0a482a5988b6-S251/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7b2f4ae3-7b61-4ae3-873c-7d7bde9c73ec/runs/b9667d6d-2341-4a08-9026-1aee0171a84b/testoutput/test-support/jtreg_open_test_hotspot_jtreg_compiler_graalunit/scratch/2/replay_pid9356.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      Current thread is 9370
      Dumping core ...
      ];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: outputStream::do_vsnprintf output truncated -- buffer length is 2000 bytes but 2187 bytes are needed.
      ]
       exitValue = 134

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:455)
      at compiler.graalunit.common.GraalUnitTestLauncher.main(GraalUnitTestLauncher.java:286)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: