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

assert(has_cp_cache(i)) failed: oob in PerUserCfgTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 21
    • 21
    • hotspot
    • x86_64
    • os_x

      The following test failed in the JDK21 CI:

      tools/jpackage/share/PerUserCfgTest.java

      Here's a snippet from the log file:

      [01:11:34.693] TRACE: Clearing PATH in environment
      [01:11:34.700] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/./test/unpacked-dmg/Applications/PerUserCfgTest.app/Contents/MacOS/PerUserCfgTest](1); inherit I/O; in directory [./test]...
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S102729/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bbe61961-dadd-4cd9-87c8-d308ce5bda5b/runs/40d80f16-c4cc-44c4-89b1-f1a79c1b7449/workspace/open/src/hotspot/share/interpreter/rewriter.hpp:86), pid=31519, tid=10243
      # assert(has_cp_cache(i)) failed: oob
      #
      # JRE version: (21.0+24) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+24-LTS-2056, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.31519
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/test/hs_err_pid31519.log
      #
      #
      [01:11:38.355] TRACE: exec: Done. Exit code: 134
      [01:11:43.563] TRACE: Clearing PATH in environment
      [01:11:43.563] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/./test/unpacked-dmg/Applications/PerUserCfgTest.app/Contents/MacOS/PerUserCfgTest](1); inherit I/O; in directory [./test]...
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S102729/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bbe61961-dadd-4cd9-87c8-d308ce5bda5b/runs/40d80f16-c4cc-44c4-89b1-f1a79c1b7449/workspace/open/src/hotspot/share/interpreter/rewriter.hpp:86), pid=31521, tid=5891
      # assert(has_cp_cache(i)) failed: oob
      #
      # JRE version: (21.0+24) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+24-LTS-2056, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.31521
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/test/hs_err_pid31521.log
      #
      #
      [01:11:43.671] TRACE: exec: Done. Exit code: 134
      [01:11:48.826] TRACE: Clearing PATH in environment
      [01:11:48.826] TRACE: exec: Execute [/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/./test/unpacked-dmg/Applications/PerUserCfgTest.app/Contents/MacOS/PerUserCfgTest](1); inherit I/O; in directory [./test]...
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S102729/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bbe61961-dadd-4cd9-87c8-d308ce5bda5b/runs/40d80f16-c4cc-44c4-89b1-f1a79c1b7449/workspace/open/src/hotspot/share/interpreter/rewriter.hpp:86), pid=31522, tid=9987
      # assert(has_cp_cache(i)) failed: oob
      #
      # JRE version: (21.0+24) (fastdebug build )
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+24-LTS-2056, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: core.31522
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/test/hs_err_pid31522.log
      #
      #
      [01:11:48.919] TRACE: exec: Done. Exit code: 134
      [01:11:54.079] ERROR: Expected [0]. Actual [134]: Check command [/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S93576/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8ba24140-81d9-45d6-b7e6-6476e32c1817/runs/885d002d-23cb-4992-a8da-73d32c923e05/testoutput/test-support/jtreg_open_test_jdk_core_tools/scratch/1/./test/unpacked-dmg/Applications/PerUserCfgTest.app/Contents/MacOS/PerUserCfgTest](1) exited with 0 code
      [01:11:54.190] [ FAILED ] PerUserCfgTest.test; checks=55
      [01:11:54.343] [==========] 1 tests ran
      [01:11:54.343] [ PASSED ] 0 tests
      [01:11:54.498] [ FAILED ] 1 test, listed below
      [01:11:54.554] [ FAILED ] PerUserCfgTest.test; workDir=[./test]
      [01:11:54.623] 1 FAILED TEST
      ----------System.err:(62/4608)----------


      Although the log file has reported three crashes, the test run's
      artifacts menu is not showing any hs_err_pid file. They might
      be present in the complete artifacts download.

      Even though this is a jpackage test, the assertion failure is
      happening in interpreter code so I'm starting this bug off
      in hotspot/runtime for initial triage.

        1. hs_err_pid31519.log
          63 kB
          Daniel Daugherty
        2. hs_err_pid31521.log
          63 kB
          Daniel Daugherty
        3. hs_err_pid31522.log
          63 kB
          Daniel Daugherty

            matsaave Matias Saavedra Silva
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: