The following three SA tests are failing on my MBP13 in my
auto build and test setup since 2020.07.13:
serviceability/sa/ClhsdbCDSCore.java
serviceability/sa/ClhsdbFindPC.java#id1
serviceability/sa/ClhsdbFindPC.java#id3
Here's a snippet from the log file for ClhsdbCDSCore.java:
getCoreFileLocation found stringWithLocation = /cores/core.20584
Found core file: /cores/core.20584
Starting clhsdb against corefile /cores/core.20584 and exe /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/macosx-x86_64-normal-server-fastdebug/images/jdk/bin/java
[2020-07-14T05:12:22.500319Z] Gathering output for process 20585
[2020-07-14T05:12:24.083269Z] Waiting for completion for process 20585
[2020-07-14T05:12:24.083545Z] Waiting for completion finished for process 20585
Output:
hsdb> Opening core file, please wait...
ERROR: failed to workaround classshareing
Unable to open core file
/cores/core.20584:
Can't attach to the core file
sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:292)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:643)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:629)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:364)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:329)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:202)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:63)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:280)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:483)
Input stream closed.
[2020-07-14T05:12:24.085578Z] Waiting for completion for process 20585
[2020-07-14T05:12:24.085714Z] Waiting for completion finished for process 20585
----------System.err:(46/2996)----------
For all of these failures since 2020.07.13, I've verified that
the log files exist and are readable by my user ID.
auto build and test setup since 2020.07.13:
serviceability/sa/ClhsdbCDSCore.java
serviceability/sa/ClhsdbFindPC.java#id1
serviceability/sa/ClhsdbFindPC.java#id3
Here's a snippet from the log file for ClhsdbCDSCore.java:
getCoreFileLocation found stringWithLocation = /cores/core.20584
Found core file: /cores/core.20584
Starting clhsdb against corefile /cores/core.20584 and exe /work/shared/mirrors/src_clones/jdk/jdk_baseline/build/macosx-x86_64-normal-server-fastdebug/images/jdk/bin/java
[2020-07-14T05:12:22.500319Z] Gathering output for process 20585
[2020-07-14T05:12:24.083269Z] Waiting for completion for process 20585
[2020-07-14T05:12:24.083545Z] Waiting for completion finished for process 20585
Output:
hsdb> Opening core file, please wait...
ERROR: failed to workaround classshareing
Unable to open core file
/cores/core.20584:
Can't attach to the core file
sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:292)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:643)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(HotSpotAgent.java:629)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:364)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:329)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.attachDebugger(CLHSDB.java:202)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.run(CLHSDB.java:63)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.main(CLHSDB.java:40)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runCLHSDB(SALauncher.java:280)
at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:483)
Input stream closed.
[2020-07-14T05:12:24.085578Z] Waiting for completion for process 20585
[2020-07-14T05:12:24.085714Z] Waiting for completion finished for process 20585
----------System.err:(46/2996)----------
For all of these failures since 2020.07.13, I've verified that
the log files exist and are readable by my user ID.
- duplicates
-
JDK-8247515 OSX pc_to_symbol() lookup does not work with core files
- Resolved
- relates to
-
JDK-8247515 OSX pc_to_symbol() lookup does not work with core files
- Resolved
-
JDK-8248194 Need better support for running SA tests on core files
- Resolved