JRE Crashes in JDK 11.0.19+7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-lts (Ubuntu) |
Invalid
|
Undecided
|
Vladimir Petko |
Bug Description
After deploying the application to EC2 instance, we are facing repeated 502 bad gateway error with below core dump created:
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.
# guarantee(
#
# JRE version: OpenJDK Runtime Environment (11.0.19+7) (build 11.0.19+
# Java VM: OpenJDK 64-Bit Server VM (11.0.19+
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/
#
# If you would like to submit a bug report, please visit:
# https:/
PLEASE NOTE: THE above errors don't show up in local testing.
Please help resolve ASAP
summary: |
- JRE Crashes in JDK 11.0.19.7 + JRE Crashes in JDK 11.0.19+7 |
Changed in openjdk-lts (Ubuntu): | |
status: | Incomplete → In Progress |
tags: | added: regression-update |
tags: | added: foundations-todo |
Hi, thank you for reporting the bug!!!
The crash happens due to the failing assertion - a method that is being called by the virtual machine keeps getting redefined. It may be happening due to multiple reasons including a bug in the Java VM or just insufficient RAM.
You may want to try to tweak –XX:ProfiledCod eHeapSize/ -XX:NonProfiled CodeHeapSize[ 1], but this is a wild guess as the bug report does not contain sufficient information. Another wild guess - it could be related to the crash bug[2] that is getting multiple reports currently.
Would it be possible to provide a core dump or hs_err.pid file or ideally a small sample that reproduces the crash?
[1] https:/ /docs.oracle. com/en/ java/javase/ 11/vm/java- hotspot- virtual- machine- performance- enhancements. html#GUID- 1D9B26AD- 8E0A-4771- 90DA-A81A2C1F5B 55 /bugs.openjdk. org/browse/ JDK-8307683
[2] https:/