当我运行jar应用程序时,jvm因错误而崩溃。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000003fd6, pid=7, tid=0x00007ff273404b38
#
# JRE version: OpenJDK Runtime Environment (Zulu 8.60.0.22-SA-linux-musl-x64) (8.0_322-b06) (build 1.8.0_322-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000003fd6
#
# Core dump written. Default location: /usr/app/core or core.7
#
# An error report file with more information is saved as:
# /usr/app/hs_err_pid7.log
#
# If you would like to submit a bug report, please visit:
# http://www.azul.com/support/
#
该错误说明报告文件保存为hs_err_pid7.log
,但我无法查看它,因为一旦JVM崩溃,容器将停止运行,是否有办法将此文件保存到容器之外?
谢谢
1条答案
按热度按时间jyztefdp1#
尝试挂载永久卷而不是绑定卷!