JDK-8331389 : runtime/ErrorHandling/TestDwarf.java fails with "Crash JVM should not exit gracefully"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21,22,23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-30
  • Updated: 2024-05-09
  • Resolved: 2024-05-06
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 23
23 b22Fixed
Related Reports
Relates :  
Description
#-----testdescription-----
$file=/opt/mach5/mesos/work_dir/jib-master/install/jdk-21.0.5+1-13/src.full/open/test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java
$root=/opt/mach5/mesos/work_dir/jib-master/install/jdk-21.0.5+1-13/src.full/open/test/hotspot/jtreg
id=dontCheckDecoder
keywords=othervm native
library=/ /test/lib
modules=java.base/jdk.internal.misc
requires=vm.debug \=\= true & vm.flagless & vm.compMode \!\= "Xint" & os.family \=\= "linux" & \!vm.graal.enabled & vm.gc.G1
run=USER_SPECIFIED main/native/othervm -Xbootclasspath/a\:. -XX\:-CreateCoredumpOnCrash -DcheckDecoder\=false TestDwarf\n
source=TestDwarf.java


#-----testresult-----
description=file\:/opt/mach5/mesos/work_dir/jib-master/install/jdk-21.0.5+1-13/src.full/open/test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java\#dontCheckDecoder
elapsed=4163 0\:00\:04.163
end=Mon Apr 29 14\:30\:13 UTC 2024
environment=regtest
execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Crash JVM should not exit gracefully\: expected 0 to not equal 0
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
hostname=ol8-aarch64-400129.s5.javaplatfo1iad.oraclevcn.com
javatestOS=Linux 5.15.0-105.125.6.2.1.el8uek.aarch64 (aarch64)
javatestVersion=6.0-ea+b24-2022-09-27-9149bb7
jtregVersion=jtreg 7.3.1 1
modules=java.base/jdk.internal.misc
script=com.sun.javatest.regtest.exec.RegressionScript
sections=script_messages build compile main
start=Mon Apr 29 14\:30\:09 UTC 2024
test=runtime/ErrorHandling/TestDwarf.java\#dontCheckDecoder
Comments
Changeset: a8e62af7 Author: Tobias Hartmann <thartmann@openjdk.org> Date: 2024-05-06 11:43:07 +0000 URL: https://git.openjdk.org/jdk/commit/a8e62af733cb1acc1370561c9dd374b3f9c2c294
06-05-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/19096 Date: 2024-05-06 07:46:59 +0000
06-05-2024

Looks like another instance of JDK-8269342. The test should be adjusted to use -XX:+CICountNative. ILW = Test does not trigger a VM crash as expected (test bug), intermittent with single test, no workaround = MLH = P4
06-05-2024

This is a compiler issue as -Xcomp -XX:CICrashAt=1 did not cause a crash as it should e.g. # Internal Error (/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S128392/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/41b9616d-be93-4073-9914-cea1bdf51c63/runs/dda0431a-6601-4acf-a7ff-239577d6bb87/workspace/open/src/hotspot/share/c1/c1_Compilation.cpp:618), pid=2021645, tid=2021660 # assert(CICrashAt < 0 || (uintx)_env->compile_id() != (uintx)CICrashAt) failed: just as planned This is the only CI related occurrence of this failure, but the same failure has been seen with Leyden builds since February.
01-05-2024

ILW = MLM = P4
30-04-2024