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

SA core file tests failed to find core file for signed binaries on OSX 10.15

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 15, 16
    • 16
    • hotspot
    • b11
    • x86_64
    • os_x_10.15

    Description

      The following test failed in the JDK15 CI:

      serviceability/sa/ClhsdbCDSCore.java

      Here's a snippet from the log file:

      getCoreFileLocation found stringWithLocation = core.19215
      ----------System.err:(51/8612)----------
      java.lang.Error: Couldn't find core file location in: '#
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00000001066f50d4, pid=19215, tid=5891
      #
      # JRE version: OpenJDK Runtime Environment (15.0+17) (build 15-ea+17-717)
      # Java VM: OpenJDK 64-Bit Server VM (15-ea+17-717, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0x6f50d4] EnableIf<HasDecorator<128ull, MO_VOLATILE>::value, void>::type RawAccessBarrier<128ull>::store_internal<128ull, int>(void*, int)+0x4
      #
      # Core dump will be written. Default location: core.19215
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/scratch/3/hs_err_pid19215.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      sh: line 1: 19215 Abort trap: 6 /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/macosx-x64-open.jdk/jdk-15.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4 -Xmx512m -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=ArchiveForClhsdbCDSCore.jsa -XX:+CreateCoredumpOnCrash -Xshare:auto -XX:+ProfileInterpreter --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED CrashApp
      '
      at ClhsdbCDSCore.main(ClhsdbCDSCore.java:143)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.Error: Couldn't find core file location in: '#
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00000001066f50d4, pid=19215, tid=5891
      #
      # JRE version: OpenJDK Runtime Environment (15.0+17) (build 15-ea+17-717)
      # Java VM: OpenJDK 64-Bit Server VM (15-ea+17-717, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0x6f50d4] EnableIf<HasDecorator<128ull, MO_VOLATILE>::value, void>::type RawAccessBarrier<128ull>::store_internal<128ull, int>(void*, int)+0x4
      #
      # Core dump will be written. Default location: core.19215
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/scratch/3/hs_err_pid19215.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      sh: line 1: 19215 Abort trap: 6 /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/macosx-x64-open.jdk/jdk-15.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4 -Xmx512m -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=ArchiveForClhsdbCDSCore.jsa -XX:+CreateCoredumpOnCrash -Xshare:auto -XX:+ProfileInterpreter --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED CrashApp
      '
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Error: Couldn't find core file location in: '# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000001066f50d4, pid=19215, tid=5891 # # JRE version: OpenJDK Runtime Environment (15.0+17) (build 15-ea+17-717) # Java VM: OpenJDK 64-Bit Server VM (15-ea+17-717, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # V [libjvm.dylib+0x6f50d4] EnableIf<HasDecorator<128ull, MO_VOLATILE>::value, void>::type RawAccessBarrier<128ull>::store_internal<128ull, int>(void*, int)+0x4 # # Core dump will be written. Default location: core.19215 # # An error report file with more information is saved as: # /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/scratch/3/hs_err_pid19215.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # sh: line 1: 19215 Abort trap: 6 /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/macosx-x64-open.jdk/jdk-15.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/serviceability/sa/ClhsdbCDSCore.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/hotspot/jtreg/serviceability/sa:/System/Volumes/Data/mesos/work_dir/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S23/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7023549c-72f5-413c-a8bc-9ca82e84e9ae/runs/f32a054f-668b-4914-9311-c88bd7c5f4e5/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-15+17-717/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.0/b01/bundles/jtreg_bin-5.0.zip/jtreg/lib/jtreg.jar -XX:MaxRAMPercentage=4 -Xmx512m -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=ArchiveForClhsdbCDSCore.jsa -XX:+CreateCoredumpOnCrash -Xshare:auto -XX:+ProfileInterpreter --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED CrashApp '
      ----------rerun:(35/6337)*----------


      Please note that the SIGSEGV crash is NOT the failure mode.
      The failure mode is indicated by:

      java.lang.Error: Couldn't find core file location in: ...

      But the failure message doesn't make sense relative to
      this message:

      getCoreFileLocation found stringWithLocation = core.19215

      So one part of the test claims to have found the core file
      location while another part says that it couldn't find the
      core file location.

      The test machine in question is running macOS 10.5.3 so
      that might be part of the problem.

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: