Debugger attached successfully.
Server compiler detected.
JVM version is 14-ea+14-539
Error occurred during stack walking:
stderr:
[2019-09-07T13:36:06.119432Z] Waiting for completion for process 5205
[2019-09-07T13:36:06.119633Z] Waiting for completion finished for process 5205
Dump file created Sat Sep 07 13:36:04 UTC 2019
----------System.err:(44/3102)----------
sun.jvm.hotspot.utilities.AssertionFailure: must be a valid non-zero index
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
at jdk.hotspot.agent/sun.jvm.hotspot.code.NMethod.getMetadataAt(NMethod.java:200)
at jdk.hotspot.agent/sun.jvm.hotspot.code.NMethod.getMethodAt(NMethod.java:206)
at jdk.hotspot.agent/sun.jvm.hotspot.code.DebugInfoReadStream.readMethod(DebugInfoReadStream.java:58)
at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.<init>(ScopeDesc.java:64)
at jdk.hotspot.agent/sun.jvm.hotspot.code.ScopeDesc.sender(ScopeDesc.java:121)
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.CompiledVFrame.sender(CompiledVFrame.java:187)
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VFrame.javaSender(VFrame.java:143)
at jdk.hotspot.agent/sun.jvm.hotspot.runtime.ThreadStackTrace.dumpStack(ThreadStackTrace.java:54)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.dumpStackTraces(HeapHprofBinWriter.java:718)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.HeapHprofBinWriter.write(HeapHprofBinWriter.java:439)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.writeHeapHprofBin(JMap.java:182)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:97)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:321)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:406)
null
java.lang.RuntimeException: Test ERROR java.io.EOFException
at JShellHeapDumpTest.printStackTraces(JShellHeapDumpTest.java:100)
at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:117)
at JShellHeapDumpTest.main(JShellHeapDumpTest.java:141)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: java.io.EOFException
at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
at java.base/java.io.DataInputStream.readLong(DataInputStream.java:421)
at jdk.test.lib.hprof.parser.HprofReader.readID(HprofReader.java:542)
at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:230)
at jdk.test.lib.hprof.parser.Reader.getStack(Reader.java:128)
at JShellHeapDumpTest.printStackTraces(JShellHeapDumpTest.java:95)
... 8 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.io.EOFException
JavaTest Message: shutting down test
- duplicates
-
JDK-8196969 JTreg Failure: serviceability/sa/ClhsdbJstack.java causes NPE
- Resolved
-
JDK-8231634 SA stack walking fails with "illegal bci"
- Resolved
-
JDK-8231635 SA Stackwalking code stuck in BasicTypeDataBase.findDynamicTypeForAddress()
- Resolved
- relates to
-
JDK-8228625 [TESTBUG] sun/tools/jhsdb/JShellHeapDumpTest.java fails with RuntimeException 'JShellToolProvider' missing from stdout/stderr
- Resolved
-
JDK-6760477 SA: Update SA to include stack traces in the heap dump
- Resolved
-
JDK-8230731 SA tests fail with "Windbg Error: ReadVirtual failed"
- Resolved