JDK-8221605 : C2 crashed at PhaseIdealLoop::build_loop_late_post
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: openjdk8u
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2019-03-28
  • Updated: 2023-07-21
  • Resolved: 2023-07-21
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.
Other
openjdk8uResolved
Related Reports
Duplicate :  
Description
I'm creating this bug on behalf of the Alibaba Dragonwell community (a friendly downstream distribution of JDK8) with consent from GitHub user 'yansendao'. 

Dragonwell Issue link: 
https://github.com/alibaba/dragonwell8/issues/13

Description: 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f994b450d20, pid=71210, tid=0x00007f97bd496700
#
# JRE version: OpenJDK Runtime Environment (8.0_202-b32) (build 1.8.0_202-b32)
# Java VM: OpenJDK 64-Bit Server VM (25.202-b32 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x83cd20]  PhaseIdealLoop::build_loop_late_post(Node*)+0x130
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /ssd1/home/chuansheng.lcs/tmp/tf1/hs_err_pid71210.log
#
# Compiler replay data is saved as:
# /ssd1/home/chuansheng.lcs/tmp/tf1/replay_pid71210.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Aborted


Steps to reproduce: 
- unzip attachment testfile1.zip 
- javac testfile/* 
- java -cp testfile PhaseIdealLoopBuildLoopLatePost 


JDK version: 
I tested and confirmed that this bug happened on jdk8 only
Comments
dup of JDK-8146792
20-11-2019

Initially reported on an OpenJDK JDK/JVM
05-04-2019

This has probably been fixed in JDK 9 by JDK-6675699 or one of the follow-up fixes.
28-03-2019