JDK-8233137 : runtime/ErrorHandling/VeryEarlyAssertTest.java fails after 8232080
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11.0.8-oracle,14
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-10-29
  • Updated: 2022-06-27
  • Resolved: 2019-10-29
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 11 JDK 13 JDK 14
11.0.8-oracleResolved 13.0.4Fixed 14 b21Fixed
Related Reports
Relates :  
Relates :  
Description
Found hs_err file. Scanning...
Found: #  fatal error: HOTSPOT_FATAL_ERROR_DURING_DYNAMIC_INITIALIZATION.
----------System.err:(12/745)----------
java.lang.RuntimeException: hs-err file incomplete (missing END marker.)
	at VeryEarlyAssertTest.main(VeryEarlyAssertTest.java:107)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:830)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

Comments
Fix request (13u) After JDK-8232080, I need to port the test fix, too. The patch applies cleanly.
29-05-2020

Fix request (11u) This is a follow-up regression fix to JDK-8232080. As I'm planning to get this into jdk11u, I'll push this one right after it. Patch applies cleanly.
05-04-2020

No longer fails in tier-1, verified.
05-11-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/f4290bf1cc21 User: mr Date: 2019-10-29 21:28:16 +0000
29-10-2019

Root cause: The changes to vmError.cpp in JDK-8232080 didn’t sufficiently guard against the vendor VM bug URL string being undefined. This isn’t a new crash; this test always provokes a crash. The test failed because the last line of the error log wasn’t the expected “END.” marker but, instead, a secondary report of the SEGV arising from the reference to the not-yet-defined URL string.
29-10-2019

ILW = HMM = P2
29-10-2019