Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Environment:
Spring Boot version: 3.2.7
OS: MacOS ARM64
JAVA: 17.0.6
google-maps-routing version: 1.39.0, 1.40.0 (and other versions)
Link to public repo:
There are some 2 Dockerfiles with the eclipse temurin 17 and 21 base image and one with amazon corretto that is working.
Reproduce:
- Create a Dockerfile using Eclipse Temurin 17 or 21 as the base image (e.g., eclipse-temurin:17.0.6_10-jre-alpine).
- Add a Spring Boot application JAR to the Docker image.
- Ensure the Spring Boot application includes the following dependency in the build.gradle file:
implementation 'com.google.maps:google-maps-routing:1.39.0'
- Define the entry point to execute the Spring Boot application (e.g., ENTRYPOINT ["java", "-jar", "app.jar"]).
- Build the Docker image.
- Run the Docker container.
Expected Results:
The Spring Boot application should start up successfully without any segmentation faults.
Actual Results:
The container terminates shortly after startup with a segmentation fault error.
Tested with:
eclipse-temurin:17.0.6_10-jre-alpine - seg fault
eclipse-temurin:21.0.5_11-jre-alpine - seg fault
amazoncorretto:17.0.13-al2023-headful - works
Logs:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000000000204b6, pid=1, tid=9
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.6+10 (17.0.6+10) (build 17.0.6+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (17.0.6+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C 0x00000000000204b6
#
# No core dump will be written. 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:
# /app/hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
#
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
qemu: uncaught target signal 6 (Aborted) - core dumped