JDK-8295862 : Test serviceability/sa/ClhsdbInspect.java failing with UnmappedAddressException
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 20
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-10-25
  • Updated: 2022-10-25
  • Resolved: 2022-10-25
Related Reports
Duplicate :  
Description
This is a new failure in our tier7 CI but the same failure has previously been seen in the ZGC CI.

Starting clhsdb against 57212
[2022-10-25T03:30:46.834784600Z] Gathering output for process 38248
[2022-10-25T03:31:15.259896100Z] Waiting for completion for process 38248
[2022-10-25T03:31:15.259896100Z] Waiting for completion finished for process 38248
Output: 
Attaching to process 57212, please wait...
hsdb> hsdb> + verbose true
hsdb> + inspect 0x00000000d7e4fa70
Error: sun.jvm.hotspot.debugger.UnmappedAddressException: d7e4fa78
sun.jvm.hotspot.debugger.UnmappedAddressException: d7e4fa78
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.PageCache.checkPage(PageCache.java:208)
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.PageCache.getInt(PageCache.java:96)
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.DebuggerBase.readCInteger(DebuggerBase.java:355)
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.DebuggerBase.readCompKlassAddressValue(DebuggerBase.java:397)
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.readCompKlassAddress(WindbgDebuggerLocal.java:283)
	at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgAddress.getCompKlassAddressAt(WindbgAddress.java:79)
	at jdk.hotspot.agent/sun.jvm.hotspot.oops.Oop.getKlassForOopHandle(Oop.java:210)
	at jdk.hotspot.agent/sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:181)
	at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$25.doit(CommandProcessor.java:1109)
	at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2212)
	at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.executeCommand(CommandProcessor.java:2182)
	at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor.run(CommandProcessor.java:2053)
	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)
hsdb> + quit
Comments
I'm not sure why it didn't. There certainly are plenty of failures linked to it.
25-10-2022

Sorry missed that one. Annoying that mdash does not offer it up as a suggested link!
25-10-2022

Duplicate of JDK-8283578.
25-10-2022