-
Bug
-
Resolution: Duplicate
-
P4
-
8
-
x86_64
-
linux_ubuntu
-
Verified
ADDITIONAL SYSTEM INFORMATION :
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00) # Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test case on JDK8u392 and found that the JVM crashed with -Xcomp options.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data//jdk8u/hotspot/src/share/vm/c1/c1_LinearScan.cpp:3253), pid=8928, tid=0x00007fb716050700
# assert(has_error == false) failed: register allocation invalid
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp -cp "6/" compiler.regalloc.TestC1OverlappingRegisterHint
ACTUAL -
Intervals 412 and 434 overlap and have the same register assigned
412 int "[stack:3|I]" 209 209 [375, 440[ [446, 478[ 398 S 440 S 478 S "no optimization"
434 int "[stack:3|I]" 238 238 [399, 404[ "no optimization"
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/c1_LinearScan.cpp:3253
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data//jdk8u/hotspot/src/share/vm/c1/c1_LinearScan.cpp:3253), pid=8928, tid=0x00007fb716050700
# assert(has_error == false) failed: register allocation invalid
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# 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:
# /home//repository//toreport/TestC1OverlappingRegisterHint_09_24_23_57_54/hs_err_pid8928.log
#
# Compiler replay data is saved as:
# /home//repository//toreport/TestC1OverlappingRegisterHint_09_24_23_57_54/replay_pid8928.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
---------- BEGIN SOURCE ----------
The source code file and hs_err file are available at the URL:
https://drive.google.com/file/d/1_d9LHocAj-4aVRMB5Azasod5huqEK7uO/view?usp=drive_link
---------- END SOURCE ----------
FREQUENCY : always
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00) # Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test case on JDK8u392 and found that the JVM crashed with -Xcomp options.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data//jdk8u/hotspot/src/share/vm/c1/c1_LinearScan.cpp:3253), pid=8928, tid=0x00007fb716050700
# assert(has_error == false) failed: register allocation invalid
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -Xcomp -cp "6/" compiler.regalloc.TestC1OverlappingRegisterHint
ACTUAL -
Intervals 412 and 434 overlap and have the same register assigned
412 int "[stack:3|I]" 209 209 [375, 440[ [446, 478[ 398 S 440 S 478 S "no optimization"
434 int "[stack:3|I]" 238 238 [399, 404[ "no optimization"
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/c1_LinearScan.cpp:3253
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data//jdk8u/hotspot/src/share/vm/c1/c1_LinearScan.cpp:3253), pid=8928, tid=0x00007fb716050700
# assert(has_error == false) failed: register allocation invalid
#
# JRE version: OpenJDK Runtime Environment (8.0_392) (build 1.8.0_392-internal-fastdebug--b00)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b00-fastdebug compiled mode linux-amd64 compressed oops)
# 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:
# /home//repository//toreport/TestC1OverlappingRegisterHint_09_24_23_57_54/hs_err_pid8928.log
#
# Compiler replay data is saved as:
# /home//repository//toreport/TestC1OverlappingRegisterHint_09_24_23_57_54/replay_pid8928.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
---------- BEGIN SOURCE ----------
The source code file and hs_err file are available at the URL:
https://drive.google.com/file/d/1_d9LHocAj-4aVRMB5Azasod5huqEK7uO/view?usp=drive_link
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8249603 C1: assert(has_error == false) failed: register allocation invalid
- Resolved