Tomcat 通过在 JRE 中抛出致命错误而崩溃

Tomcat 通过在 JRE 中抛出致命错误而崩溃

jdk 1.8.0_162-b12我在 Ubuntu 16.0464 位服务器上运行 Tomcat 9 。开发是用Java 完成的。

中的错误catalina.out显示了这一点 -

A fatal error has been detected by the Java Runtime Environment:
#

SIGSEGV (0xb) at pc=0x00007f017456eded, pid=6838, tid=0x00007f00bb0f2700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_162-b12) (build 1.8.0_162-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.162-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libssl.so.1.0.0+0x25ded]
#
# 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:
# /root/hs_err_pid6838.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.

谁能建议出现此错误的可能性是什么以及如何解决它? Openssl版本是1.0.2g。

答案1

一个非常相似的问题,在 Debian Jessie 上运行,带有来自向后移植的 libssl.so.1.0.0、Java 1.8.0_181 和 Tomcat 8.5.4,在端口 8443 上使用 SSL 运行:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff86bdd6e70, pid=16967, tid=0x00007ff7edb87700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libssl.so.1.0.0+0x40e70]  SSL_get_current_cipher+0x0
#

有任何想法吗?

相关内容