`2.13.0.RELEASE` or later crashes JVM during deployment to k8s
See original GitHub issueThe context
We would like to upgrade the dependency version of net.devh:grpc-server-spring-boot-starter
in our Gradle build script for our microservice.
The bug
The application does not start if using version 2.13.0.RELEASE
or later. That makes the deployment fail.
Stacktrace and logs
# https://github.com/corretto/corretto-17/issues/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
#
# If you would like to submit a bug report, please visit:
# Core dump will be written. Default location: //core.1
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid1.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000003efe, pid=1, tid=7
#
# JRE version: OpenJDK Runtime Environment Corretto-17.0.1.12.1 (17.0.1+12) (build 17.0.1+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.1.12.1 (17.0.1+12-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-amd64)
# Problematic frame:
# C 0x0000000000003efe
#
Steps to Reproduce
It happens just right after deploying the application to our AWS QA K8S environment. Build, unit and integration tests work fine. Also running the application locally (with docker or through IntelliJ works).
The application’s environment
Which versions do you use?
- Spring (boot): 2.6.2
- grpc-spring-boot-starter: 2.13.0.RELEASE, 2.13.1.RELEASE
- kotlin: 1.6.10
- JRE version: OpenJDK Runtime Environment Corretto-17.0.1.12.1 (17.0.1+12) (build 17.0.1+12-LTS)
- Java VM: OpenJDK 64-Bit Server VM Corretto-17.0.1.12.1
Additional context
With version 2.12.0.RELEASE
everything works fine.
-
Did it ever work before? Yes, up to version
2.12.0.RELEASE
. -
Do you have a demo? No
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
Building a Native Executable - Quarkus
Building native executables directly on bare metal Linux or Windows is possible, with details available in the Mandrel README and Mandrel releases.
Read more >Migration from Java 8 to Java 11 | Tencent Cloud
Check JVM parameters before running your application on Java 11. Using a removed JVM parameter will cause JVM to crash ( Error: Could...
Read more >Apache Ignite
Apache Ignite 2.13.0: new Apache Calcite-based SQL engine. As of April 26, 2022, Apache Ignite 2.13 has been released.
Read more >LTS Changelog - Jenkins
Plugins have already been prepared to support the new version of Guava. Use the Plugin Manager to upgrade all plugins before and after...
Read more >Java. This vulnerability - CVE - Search Results
Changes to the JVM garbage collector in Java 13 and later trigger an issue in the ... CVE-2020-8570, Kubernetes Java client libraries in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for the late reply. We have actually solved the original issue by following this workaround. It seems to be indeed a problem with Alpine images and k8 environments. We are now able to use the latest version of your library. Thanks for helping out though!
I guess I have to ramp up my
testExamples.sh
once more to also test for this scenario.@fireXtract From what I can tell, your error is not related to the original error.