[lworld] serviceability/sa/ClhsdbTestAllocationMerge.java failed with Can't print deadlocks

XMLWordPrintable

    • generic
    • generic

      The following test failed in the Valhalla CI:

          serviceability/sa/ClhsdbTestAllocationMerge.java

      Here's a log file snippet from the linux-aarch64 log file:

      ----------System.out:(126/11219)----------
      Starting ClhsdbTestDebugInfodDecode test
      Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-20/linux-aarch64-debug.jdk/jdk-27/fastdebug/bin/java' '-XX:MaxRAMPercentage=6.25' '-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25' '-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28355/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/10dc2660-10a5-4ba8-8d4d-3dd5071192b5/runs/e7246c97-a1ab-4c1a-aa01-5dcbc0fdce07/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/tmp' '-Xcomp' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:-TieredCompilation' '-XX:+DeoptimizeALot' '-cp' '/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28355/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/10dc2660-10a5-4ba8-8d4d-3dd5071192b5/runs/e7246c97-a1ab-4c1a-aa01-5dcbc0fdce07/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/serviceability/sa/ClhsdbTestAllocationMerge.d:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S28355/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/10dc2660-10a5-4ba8-8d4d-3dd5071192b5/runs/e7246c97-a1ab-4c1a-aa01-5dcbc0fdce07/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/1/serviceability/sa/ClhsdbTestAllocationMerge.d/test/lib' 'LingeredAppWithAllocationMerge' 'dd507e31-cb36-49e0-9bff-6b6370171605.lck']
      LingeredApp startup took 8634ms
      Check for hs_err_pid/core/mdmp files:
      None.
      Started LingeredAppWithAllocationMerge with pid 3542987
      Starting clhsdb against 3542987
      [2026-01-08T13:26:25.993882069Z] Gathering output for process 3543023
      [2026-01-08T13:27:00.501938358Z] Waiting for completion for process 3543023
      [2026-01-08T13:27:00.525533591Z] Waiting for completion finished for process 3543023
      Output:
      Attaching to process 3542987, please wait...
      hsdb> hsdb> + verbose true
      hsdb> + jstack -v
      Deadlock Detection:

      Can't print deadlocks: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x0000400000396258
      "main" #3 prio=5 tid=0x0000ffffb002d240 nid=3542988 waiting on condition [0x0000ffffb6efe000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
         JavaThread state: _thread_blocked
       - java.lang.Thread.sleepNanos0(long) @bci=0, pc=0x0000ffffa44fd6f8, Method*=0x0000400000627560 (Compiled frame; information may be imprecise)
       - java.lang.Thread.sleepNanos(long) @bci=33, line=551, pc=0x0000ffffa44e6e7c, Method*=0x00004000006275f0 (Compiled frame)
       - java.lang.Thread.sleep(long) @bci=25, line=582, pc=0x0000ffffa44e7230, Method*=0x0000400000626970 (Compiled frame)
       - jdk.test.lib.apps.LingeredApp.main(java.lang.String[]) @bci=162, line=638, pc=0x0000ffffa4204f30, Method*=0x0000ffff70405550 (Interpreted frame)
      - locked <0x000000008754c8e0> (a jdk.test.lib.apps.LingeredApp$SteadyStateLock)

      Error occurred during stack walking:
      sun.jvm.hotspot.utilities.AssertionFailure: should not reach here
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:93)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ObjectValue.readObject(ObjectValue.java:70)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.DebugInfoReadStream.readObjectValue(DebugInfoReadStream.java:73)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:85)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ObjectMergeValue.readObject(ObjectMergeValue.java:49)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.DebugInfoReadStream.readObjectMergeValue(DebugInfoReadStream.java:89)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:91)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.decodeObjectValues(ScopeDesc.java:207)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.<init>(ScopeDesc.java:75)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.NMethod.getScopeDescNearDbg(NMethod.java:426)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.newVFrame(VFrame.java:74)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:127)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:144)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$23.doit(CommandProcessor.java:1020)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2088)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2058)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1929)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:113)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:45)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:285)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:507)

      Here's a log file snippet from the windows-x64 log file:

      ----------System.out:(133/11247)*----------
      Starting ClhsdbTestDebugInfodDecode test
      Command line: ['c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-27-valhalla+1-20\\windows-x64-debug.jdk\\jdk-27\\fastdebug\\bin\\java.exe' '-XX:MaxRAMPercentage=4.16667' '-Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\25\\37\\bundles\\windows-x64\\jdk-25_windows-x64_bin.zip\\jdk-25' '-Djava.io.tmpdir=c:\\sb\\prod\\1767791763\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\tmp' '-XX:+CreateCoredumpOnCrash' '-Xcomp' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:-TieredCompilation' '-XX:-UseCompressedOops' '-cp' 'C:\\sb\\prod\\1767791763\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\classes\\1\\serviceability\\sa\\ClhsdbTestAllocationMerge.d;C:\\sb\\prod\\1767791763\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\classes\\1\\serviceability\\sa\\ClhsdbTestAllocationMerge.d\\test\\lib' 'LingeredAppWithAllocationMerge' 'f5783851-cc69-47c3-b76b-19fc49503a96.lck']
      LingeredApp startup took 13367ms
      Check for hs_err_pid/core/mdmp files:
      None.
      Started LingeredAppWithAllocationMerge with pid 48200
      Starting clhsdb against 48200
      [2026-01-07T14:06:52.465613700Z] Gathering output for process 14076
      [2026-01-07T14:08:02.507243300Z] Waiting for completion for process 14076
      [2026-01-07T14:08:02.552386800Z] Waiting for completion finished for process 14076
      Output:
      Attaching to process 48200, please wait...
      hsdb> hsdb> + verbose true
      hsdb> + jstack -v
      Deadlock Detection:

      Can't print deadlocks: sun.jvm.hotspot.runtime.ConstructionException: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getConstructor(java.lang.Class[])" because "clazz" is null
      "main" #3 prio=5 tid=0x000001e91b837960 nid=24768 waiting on condition [0x00000076ec1ff000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
         JavaThread state: _thread_blocked
       - java.lang.Thread.sleepNanos0(long) @bci=0, pc=0x000001e92485bec7, Method*=0x0000000007634228 (Compiled frame; information may be imprecise)
       - java.lang.Thread.sleepNanos(long) @bci=33, line=551, pc=0x000001e92485cff4, Method*=0x00000000076342b8 (Compiled frame)
       - java.lang.Thread.sleep(long) @bci=25, line=582, pc=0x000001e92485d2e4, Method*=0x0000000007633638 (Compiled frame)
       - jdk.test.lib.apps.LingeredApp.main(java.lang.String[]) @bci=162, line=638, pc=0x000001e9245b92c0, Method*=0x000001e96d405550 (Interpreted frame)
      - locked <0x000001e927f000b8> (a jdk.test.lib.apps.LingeredApp$SteadyStateLock)

      Error occurred during stack walking:
      sun.jvm.hotspot.utilities.AssertionFailure: should not reach here
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:93)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ObjectValue.readObject(ObjectValue.java:70)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.DebugInfoReadStream.readObjectValue(DebugInfoReadStream.java:73)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:85)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ObjectMergeValue.readObject(ObjectMergeValue.java:49)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.DebugInfoReadStream.readObjectMergeValue(DebugInfoReadStream.java:89)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:91)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.decodeObjectValues(ScopeDesc.java:207)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.<init>(ScopeDesc.java:75)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.NMethod.getScopeDescNearDbg(NMethod.java:426)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.newVFrame(VFrame.java:74)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.sender(VFrame.java:127)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:144)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:81)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$23.doit(CommandProcessor.java:1020)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2088)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2058)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1929)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:113)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:45)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:285)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:507)

      The first error in the linux-aarch64 failure is:

      Can't print deadlocks: sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x0000400000396258

      The first error in the windows-x64 failure is:

      Can't print deadlocks: sun.jvm.hotspot.runtime.ConstructionException: java.lang.NullPointerException: Cannot invoke

      Both failures also report a problem during stack walking:

      linux-aarch64:
      Error occurred during stack walking:
      sun.jvm.hotspot.utilities.AssertionFailure: should not reach here
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:93)

      windows-x64:

      Error occurred during stack walking:
      sun.jvm.hotspot.utilities.AssertionFailure: should not reach here
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeValue.readFrom(ScopeValue.java:93)

            Assignee:
            Alex Menkov
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: