← Back to team overview

openjdk team mailing list archive

[Bug 2021566] Re: JRE Crashes in JDK 11.0.19.7

 

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:ProfiledCodeHeapSize/-XX:NonProfiledCodeHeapSize[1], but this is a
wild guess as the bug report does not contain sufficient information.

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-A81A2C1F5B55


** Changed in: openjdk-lts (Ubuntu)
       Status: New => Invalid

** Changed in: openjdk-lts (Ubuntu)
       Status: Invalid => Incomplete

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2021566

Title:
  JRE Crashes in JDK 11.0.19.7

Status in openjdk-lts package in Ubuntu:
  Incomplete

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.cpp:1261), pid=6746, tid=6910
  #  guarantee((retry_count++ < 100)) failed: Could not resolve to latest version of redefined method
  #
  # JRE version: OpenJDK Runtime Environment (11.0.19+7) (build 11.0.19+7-post-Ubuntu-0ubuntu120.04.1)
  # Java VM: OpenJDK 64-Bit Server VM (11.0.19+7-post-Ubuntu-0ubuntu120.04.1, mixed mode, sharing, 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 /home/ubuntu/projects/frontend/code/core.6746)
  #
  # If you would like to submit a bug report, please visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts


  PLEASE NOTE: THE above errors don't show up in local testing.

  Please help resolve ASAP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/2021566/+subscriptions



References