Description
The following test failed in the JDK21 CI:
serviceability/sa/TestPrintMdo.java
Here's a snippet from the log file:
hsdb> + quit
Error: sun.jvm.hotspot.debugger.win32.coff.COFFException: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
sun.jvm.hotspot.debugger.win32.coff.COFFException: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.parse(COFFFileParser.java:80)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL$1.computeValue(DLL.java:44)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue(MemoizedObject.java:41)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.detachDebugger(CLHSDB.java:246)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.detach(CLHSDB.java:92)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$33.doit(CommandProcessor.java:1219)
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)
Caused by: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.parse(COFFFileParser.java:67)
... 17 more
hsdb> ];
stderr: [Input stream closed.
Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue()" because "this.file" is null
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent$1.run(HotSpotAgent.java:110)
at java.base/java.lang.Thread.run(Thread.java:1623)
Exception in thread "Thread-1" java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue()" because "this.file" is null
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.detachDebugger(CLHSDB.java:246)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$1.run(CLHSDB.java:60)
]
exitValue = 0
java.io.IOException: LingeredApp terminated with non-zero exit code 1
at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:427)
at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:515)
at TestPrintMdo.main(TestPrintMdo.java:68)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 1
----------rerun:(47/6440)*----------
serviceability/sa/TestPrintMdo.java
Here's a snippet from the log file:
hsdb> + quit
Error: sun.jvm.hotspot.debugger.win32.coff.COFFException: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
sun.jvm.hotspot.debugger.win32.coff.COFFException: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.parse(COFFFileParser.java:80)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL$1.computeValue(DLL.java:44)
at jdk.hotspot.agent/sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue(MemoizedObject.java:41)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.detachDebugger(CLHSDB.java:246)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$2.detach(CLHSDB.java:92)
at jdk.hotspot.agent/sun.jvm.hotspot.CommandProcessor$33.doit(CommandProcessor.java:1219)
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)
Caused by: java.io.FileNotFoundException: C:\\Windows\\System32\\win32u.dll (The process cannot access the file because it is being used by another process)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.parse(COFFFileParser.java:67)
... 17 more
hsdb> ];
stderr: [Input stream closed.
Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue()" because "this.file" is null
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent$1.run(HotSpotAgent.java:110)
at java.base/java.lang.Thread.run(Thread.java:1623)
Exception in thread "Thread-1" java.lang.NullPointerException: Cannot invoke "sun.jvm.hotspot.utilities.memo.MemoizedObject.getValue()" because "this.file" is null
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.getFile(DLL.java:164)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.DLL.close(DLL.java:155)
at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.detach(WindbgDebuggerLocal.java:156)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detachInternal(HotSpotAgent.java:324)
at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.detach(HotSpotAgent.java:194)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB.detachDebugger(CLHSDB.java:246)
at jdk.hotspot.agent/sun.jvm.hotspot.CLHSDB$1.run(CLHSDB.java:60)
]
exitValue = 0
java.io.IOException: LingeredApp terminated with non-zero exit code 1
at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:427)
at jdk.test.lib.apps.LingeredApp.stopApp(LingeredApp.java:515)
at TestPrintMdo.main(TestPrintMdo.java:68)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.io.IOException: LingeredApp terminated with non-zero exit code 1
----------rerun:(47/6440)*----------
Attachments
Issue Links
- duplicates
-
JDK-8258744 serviceability/sa/TestType.java failed with sun.jvm.hotspot.debugger.win32.coff.COFFException: java.io.FileNotFoundException
-
- Open
-