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

serviceability/sa/ClhsdbSymbol.java fails with "NullPointerException: Cannot invoke "sun.jvm.hotspot.debugger.Address.addOffsetTo(long)" because "this.start" is null"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The following test is failing in the JDK17 CI:

      serviceability/sa/ClhsdbSymbol.java

      Here's a snippet from the log file:

      Attaching to process 25165, please wait...
      hsdb> hsdb> + verbose true
      hsdb> + inspect 0x000000080001c8f8
      Error: java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.debugger.Address.addOffsetTo(long)" because "this.start" is null
      java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.debugger.Address.addOffsetTo(long)" because "this.start" is null
      at jdk.hotspot.agent/sun.jvm.hotspot.memory.MemRegion.end(MemRegion.java:140)
      at jdk.hotspot.agent/sun.jvm.hotspot.memory.MemRegion.contains(MemRegion.java:164)
      at jdk.hotspot.agent/sun.jvm.hotspot.gc.shared.CollectedHeap.isInReserved(CollectedHeap.java:78)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$23.doit(CommandProcessor.java:1046)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2116)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2086)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1957)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:112)
      at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:44)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:281)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:491)
      hsdb> + quit

      [2021-03-17T12:18:42.133572977Z] Waiting for completion for process 25319
      [2021-03-17T12:18:42.133674770Z] Waiting for completion finished for process 25319
       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(43/3150)----------


      This failure started happening on linux-aarch64, linux-X64 and
      Win-X64 in jdk-17+14-1093-tier3 which includes the fix for:

      JDK-8261095 Add test for clhsdb "symbol" command

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: