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

serviceability/sa/ClhsdbCDSJstackPrintAll.java fails with "sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 28013 1611"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 17.0.1
    • hotspot

      The test failed with the following exception printed multiple times during the clhsdb "printall" command (note the index varies for each exception)

      sun.jvm.hotspot.utilities.AssertionFailure: invalid cp index 28013 1611
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.indexOffset(ConstantPool.java:179)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.getAddressAtRaw(ConstantPool.java:203)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.ConstantPool.getSymbolAt(ConstantPool.java:207)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Method.getGenericSignature(Method.java:225)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genMethodNameAndSignature(HTMLGenerator.java:353)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genMethodTitle(HTMLGenerator.java:364)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(HTMLGenerator.java:621)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$18$1.visit(CommandProcessor.java:880)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderData.classesDo(ClassLoaderData.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderDataGraph.classesDo(ClassLoaderDataGraph.java:84)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$18.doit(CommandProcessor.java:873)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2090)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2060)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1931)
      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:500)

      The following exception also appears, but only once:

      0x0000000001ff002d
      sun.jvm.hotspot.debugger.UnalignedAddressException: 1ff0031
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$1.checkAlignment(LinuxDebuggerLocal.java:218)
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDebuggerLocal.java:563)
      at jdk.hotspot.agent/sun.jvm.hotspot.debugger.linux.LinuxAddress.getCIntegerAt(LinuxAddress.java:68)
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicField.getCInteger(BasicField.java:162)
      at jdk.hotspot.agent/sun.jvm.hotspot.types.basic.BasicCIntegerField.getValue(BasicCIntegerField.java:54)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Symbol.getLength(Symbol.java:77)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Symbol.asByteArray(Symbol.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Symbol.asString(Symbol.java:125)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genMethodNameAndSignature(HTMLGenerator.java:356)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genMethodTitle(HTMLGenerator.java:364)
      at jdk.hotspot.agent/sun.jvm.hotspot.ui.classbrowser.HTMLGenerator.genHTML(HTMLGenerator.java:621)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$18$1.visit(CommandProcessor.java:880)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderData.classesDo(ClassLoaderData.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderDataGraph.classesDo(ClassLoaderDataGraph.java:84)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$18.doit(CommandProcessor.java:873)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2090)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2060)
      at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:1931)
      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:500)

            Unassigned Unassigned
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: