JDK-8273455 : runtime/cds/appcds/dynamicArchive/JFRDynamicCDS.java failed with "exitValue = -1073741819"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 18
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows
  • CPU: x86_64
  • Submitted: 2021-09-07
  • Updated: 2025-01-20
  • Resolved: 2025-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20Resolved
Related Reports
Duplicate :  
Description
The following test failed in the JDK18 CI:

runtime/cds/appcds/dynamicArchive/JFRDynamicCDS.java

Here's a snippet from the log file:

[3.930s][info][class,load] java.util.RegularEnumSet$EnumSetIterator source: shared objects file (top)
[3.933s][info][class,load] java.nio.file.FileTreeWalker$DirectoryNode source: shared objects file (top)
[3.935s][info][class,load] java.nio.file.FileTreeWalker$Event source: shared objects file (top)
[3.936s][info][class,load] java.nio.file.FileTreeWalker$EventType source: shared objects file (top)
[3.938s][info][class,load] java.nio.file.Files$3 source: shared objects file (top)
[3.940s][info][class,load] java.nio.file.FileVisitResult source: shared objects file (top)
];
 stderr: []
 exitValue = -1073741819

java.lang.RuntimeException: Expected to get exit value of [0]

	at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
	at JFRDynamicCDS.lambda$test$1(JFRDynamicCDS.java:63)
	at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:146)
	at JFRDynamicCDS.test(JFRDynamicCDS.java:62)
	at DynamicArchiveTestBase.runTest(DynamicArchiveTestBase.java:74)
	at JFRDynamicCDS.main(JFRDynamicCDS.java:44)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:833)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
Comments
I have labeled a few issues that all have the same symptom with the label jfr-win-1073741819: https://bugs.openjdk.java.net/issues/?jql=labels%20%3D%20jfr-win-1073741819
08-09-2021

> exitValue = -1073741819 Hex: FFFF FFFF C000 0005 So once again an access violation on Windows, but no hs-err file.
08-09-2021