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

[aarch64] NullPointerException during stack walking (clhsdb "where -a")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 17
    • hotspot
    • None

      This error still persists on 17u.
      Build Id : jdk-17.0.9+7-197
      Platform : Linux aarch64

      Error occurred during stack walking:


      ];
       stderr: [java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.debugger.Address.getOopHandleAt(long)" because "valueAddr" is null
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.createStackValue(CompiledVFrame.java:236)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.getMonitors(CompiledVFrame.java:141)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.JavaVFrame.printLockInfo(JavaVFrame.java:126)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:114)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JStack.run(JStack.java:67)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:278)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:241)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JStack.runWithArgs(JStack.java:90)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJSTACK(SALauncher.java:302)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:500)
      ]
       exitValue = 0

      java.lang.RuntimeException: stderr was not empty
      at jdk.test.lib.process.OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings(OutputAnalyzer.java:177)
      at DebugdConnectTest.runJSTACK(DebugdConnectTest.java:73)
      at DebugdConnectTest.runTests(DebugdConnectTest.java:109)
      at DebugdConnectTest.main(DebugdConnectTest.java:127)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:842)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: stderr was not empty


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: stderr was not empty.

            amodkuma AMOD KUMAR
            mghordou Mimoun Ghordou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: