-
Bug
-
Resolution: Incomplete
-
P4
-
None
-
11
-
x86_64
-
linux_ubuntu
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I executed a testcase and found that JVM 11.0.21 crashes with option -DoEscapeAnalysis.
The bug is most likely related to several loops on lines 101 to 121. Commenting them out will not reproduce the bug.
# Internal Error (/data/jdk11u/src/hotspot/share/opto/loopnode.cpp:1021), pid=3097802, tid=3097814
# assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
#
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/Test0455_10_09_19_20_12/core.3097802)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:CompileCommand="compileonly,Test0455::fMeth" -XX:-DoEscapeAnalysis Test0455
ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/loopnode.cpp:1021
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk11u/src/hotspot/share/opto/loopnode.cpp:1021), pid=3101689, tid=3101703
# assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
#
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/Test0455_10_09_19_20_12/core.3101689)
#
# An error report file with more information is saved as:
# /data/bugs/Test0455_10_09_19_20_12/hs_err_pid3101689.log
#
# Compiler replay data is saved as:
# /data/bugs/Test0455_10_09_19_20_12/replay_pid3101689.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 3101703
Dumping core ...
Aborted (core dumped)
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I executed a testcase and found that JVM 11.0.21 crashes with option -DoEscapeAnalysis.
The bug is most likely related to several loops on lines 101 to 121. Commenting them out will not reproduce the bug.
# Internal Error (/data/jdk11u/src/hotspot/share/opto/loopnode.cpp:1021), pid=3097802, tid=3097814
# assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
#
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/Test0455_10_09_19_20_12/core.3097802)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:CompileCommand="compileonly,Test0455::fMeth" -XX:-DoEscapeAnalysis Test0455
ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/loopnode.cpp:1021
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/jdk11u/src/hotspot/share/opto/loopnode.cpp:1021), pid=3101689, tid=3101703
# assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis
#
# JRE version: OpenJDK Runtime Environment (11.0.21) (fastdebug build 11.0.21-internal+0-adhoc.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.21-internal+0-adhoc.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /data/bugs/Test0455_10_09_19_20_12/core.3101689)
#
# An error report file with more information is saved as:
# /data/bugs/Test0455_10_09_19_20_12/hs_err_pid3101689.log
#
# Compiler replay data is saved as:
# /data/bugs/Test0455_10_09_19_20_12/replay_pid3101689.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 3101703
Dumping core ...
Aborted (core dumped)
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------
FREQUENCY : always