-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 21, 22, 23, repo-lilliput-21
-
b08
-
x86_64
-
linux_ubuntu
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8334064 | 21.0.5-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8334212 | 21.0.5 | Martin Doerr | P3 | Resolved | Fixed | b01 |
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.xiezifan.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.xiezifan.jdk11u, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
A DESCRIPTION OF THE PROBLEM :
I ran a modified regression test case on jdk 11.0.22(mainline) and found that the JVM crashed without any options.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/xiezifan/jdk11u/src/hotspot/share/runtime/synchronizer.cpp:311), pid=2907562, tid=2907563
# assert(m->is_entered(__the_thread__)) failed: invariant
#
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.xiezifan.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.xiezifan.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/xiezifan/JVM-Tesing-by-Anti-Optimization/toreport/AppPLABEvacuationFailure_01_08_06_10_10/core.2907562)
#
# 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 -cp gc.g1.plab.lib.AppPLABEvacuationFailure
ACTUAL -
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/synchronizer.cpp:311
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/data/xiezifan/jdk11u/src/hotspot/share/runtime/synchronizer.cpp:311), pid=2907562, tid=2907563
# assert(m->is_entered(__the_thread__)) failed: invariant
#
# JRE version: OpenJDK Runtime Environment (11.0.22) (fastdebug build 11.0.22-internal+0-adhoc.xiezifan.jdk11u)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.22-internal+0-adhoc.xiezifan.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/xiezifan/JVM-Tesing-by-Anti-Optimization/toreport/AppPLABEvacuationFailure_01_08_06_10_10/core.2907562)
#
# An error report file with more information is saved as:
# /data/xiezifan/JVM-Tesing-by-Anti-Optimization/toreport/AppPLABEvacuationFailure_01_08_06_10_10/hs_err_pid2907562.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 2907563
Dumping core ...
./replay.sh: line 5: 2907562 Aborted (core dumped) /data/xiezifan/jdk11u/build/linux-x86_64-normal-server-fastdebug/jdk/bin/java -cp "50/:0/" gc.g1.plab.lib.AppPLABEvacuationFailure
---------- BEGIN SOURCE ----------
The reduced tesetcase file and hs_err file are available at the URL:
<link>
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8334064 assert(m->is_entered(current)) failed: invariant
- Resolved
-
JDK-8334212 assert(m->is_entered(current)) failed: invariant
- Resolved
- relates to
-
JDK-8325003 Incorrect OOM thrown from the UncaughtExceptionHandler after deoptimization
- Open
-
JDK-6898462 The escape analysis with G1 cause crash assertion src/share/vm/runtime/vframeArray.cpp:94
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/807a4b66
-
Commit openjdk/jdk/5b9b176c
-
Commit openjdk/lilliput-jdk21u/71b33877
-
Review openjdk/jdk21u-dev/334
-
Review openjdk/jdk21u-dev/699
-
Review openjdk/jdk/17600
-
Review openjdk/lilliput-jdk21u/30