JDK-8198446 : Test serviceability/sa/TestType.java failed - Can't create thread_db agent!
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • Submitted: 2018-02-20
  • Updated: 2018-02-21
  • Resolved: 2018-02-21
Related Reports
Duplicate :  
Relates :  
Description
Test serviceability/sa/TestType.java failed in PIT for sparcv9
Comments
Solaris specific -- This issue has been seen only in solaris so far hsdb> Error: java.lang.NullPointerException hsdb> Attaching to process 35998, please wait... Unable to connect to process ID 35998: Can't create thread_db agent! sun.jvm.hotspot.debugger.DebuggerException: Can't create thread_db agent! at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Native Method) at jdk.hotspot.agent/sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach(ProcDebuggerLocal.java:146) at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:672) at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris(HotSpotAgent.java:488) at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:334) at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305) at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141) at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:180) at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:61) at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40) at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:191) at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:439)
21-02-2018

I'd say definitely the same problem as JDK-8193639. This just seems to be an intermittent inability to attach to the target process.
20-02-2018

Possible same issue as JDK-8193639 jhsdb test BasicLauncherTest.java can fail intermittently
20-02-2018