JDK-8268369 : SIGSEGV in PhaseCFG::implicit_null_check due to missing null check
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11.0.13-oracle,17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-08
  • Updated: 2025-01-29
  • Resolved: 2021-07-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 11 JDK 17 JDK 18
11.0.13-oracleFixed 17 b30Fixed 18Fixed
Related Reports
Relates :  
Description
Test case : tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java
OS : Crash seen on Windows-x64
Regression : YES. 

Crash Log :

----------stdout:(21/1180)*----------
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffec6ef82e3, pid=55892, tid=71512
#
# JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.13+1) (build 11.0.13-ea+1-LTS-74)
# Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.13-ea+1-LTS-74, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V  [jvm.dll+0x4f82e3]  PhaseCFG::implicit_null_check+0x7f3
#
# Core dump will be written. Default location: T:\\testoutput\\test-support\\jtreg_open_test_langtools_tools_jdeprscan_tests_jdk_jdeprscan_TestRelease_java\\scratch\\0\\hs_err_pid55892.mdmp
#
# An error report file with more information is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_langtools_tools_jdeprscan_tests_jdk_jdeprscan_TestRelease_java\\scratch\\0\\hs_err_pid55892.log
#
# Compiler replay data is saved as:
# T:\\testoutput\\test-support\\jtreg_open_test_langtools_tools_jdeprscan_tests_jdk_jdeprscan_TestRelease_java\\scratch\\0\\replay_pid55892.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
Comments
Fix Request (11u): Should get backported for parity with 11.0.13-oracle. Fix is trivial and applies cleanly.
07-07-2021

Suspecting (JDK-8266480) https://orahub.oci.oraclecorp.com/jpg-sec/jdk11u-cpu-open/commit/8fdd1ce5dd9447572bf05b6fe806a757505348d7 - this changeset is the reason for the crash.
06-07-2021

Changeset: 4ad8b044 Author: Tobias Hartmann <thartmann@openjdk.org> Date: 2021-07-06 05:44:59 +0000 URL: https://git.openjdk.java.net/jdk17/commit/4ad8b04421f3142c396ade26f36334da7a915b5b
06-07-2021

ILW = intermittent crash, regression, one test, no workaround = MMH = P3
10-06-2021