OS macOS spring boot 2.5.2 spring cloud 2020.0.3 java 1.8.0_282 use https://start.spring.io generate spring-boot-gateway demo project
access http://localhost:8080 crash: console log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010ad65a8b, pid=875, tid=0x000000000000410b
#
# JRE version: OpenJDK Runtime Environment (8.0_282) (build 1.8.0_282-bre_2021_01_20_16_06-b00)
# Java VM: OpenJDK 64-Bit Server VM (25.282-b00 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x565a8b] Unsafe_SetByte+0xd2
#
# Failed to write core dump. 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:
# /Users/llitfkitfk/Documents/gitws/demo/demo1/hs_err_pid875.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Comment From: bclozel
This is a JVM/OS issue and I'm afraid Spring Boot has probably nothing to do with this. Please follow the instructions in the error message.
Comment From: mikereiche
@llitfkitfk - did you make any progress on this?
Comment From: ghost
@llitfkitfk meet the same problem today with spring cloud Hoxton.SR12, did you have any progress on it?
Comment From: mikereiche
A post in this thread says using JDK 11 resolves the issue. https://github.com/spring-cloud/spring-cloud-gateway/issues/2130
From this post, it appears to be a netty issue: https://github.com/netty/netty/issues/12119
https://www.google.com/search?q=libjvm.dylib%2B0x565a8b+Unsafe_SetByte%2B0xd2