我们在JVM崩溃的服务器上遇到了一个问题,似乎大多数线程处于阻塞状态。
我不认为是GC引起的,因为GC守护程序也被阻止了。
从GC信息来看,似乎不是内存问题。而且/var/log/messages
文件中没有错误。
不幸的是,即使说核心转储已写入,服务器上也没有核心文件。没有存储问题。
任何帮助都超过了欢迎:)
我将在下面粘贴hs_err_pid
文件。
谢谢
最佳答案
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000090000, pid=10320, tid=140491055642368
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode linux-amd64 )
# Problematic frame:
# C 0x0000000000090000
#
# Core dump written. Default location: /opt/CSCOlumos/core or core.10320
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fc5a0f60000): JavaThread "http-nio-443-exec-39" daemon [_thread_in_Java, id=1520, stack(0x00007fc69f6f3000,0x00007fc69f774000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000090000
Registers:
RAX=0x00007fc754276be0, RBX=0x00007fc5ef526f68, RCX=0x0000000000000006, RDX=0x00007fcb0ea9e188
RSP=0x00007fc69f770bc0, RBP=0x0000000000000007, RSI=0x00007fcb0ea9e188, RDI=0x00007fc69f770b40
R8 =0x0000000000090000, R9 =0x00007fcb0358d000, R10=0x0000000000000000, R11=0x00007fcb18a69600
R12=0x00007fc5b9f27f20, R13=0x00007fc754276be0, R14=0x00007fc69f770820, R15=0x00007fc5a0f60000
RIP=0x0000000000090000, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000014
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007fc69f770bc0)
0x00007fc69f770bc0: 00007fc754274938 00007fc7542727d8
0x00007fc69f770bd0: 00007fc7542727d8 00007fcb18c6e1e9
0x00007fc69f770be0: 00007fc5a0f60000 00007fcb0d642ef8
0x00007fc69f770bf0: 00007fc5a0f60000 00007fcb035949b0
0x00007fc69f770c00: 00007fc69f770c68 00007fcb03594670
0x00007fc69f770c10: 00007fcb03594670 00007fc754274938
0x00007fc69f770c20: 00007fc7542727d8 00007fc69f770c28
0x00007fc69f770c30: 00007fc5daf2d079 00007fc69f770c98
0x00007fc69f770c40: 00007fc5daf2d838 00007fc5b7d11e80
0x00007fc69f770c50: 00007fc5daf2d108 00007fc69f770c18
0x00007fc69f770c60: 00007fc69f770c90 00007fc69f770ce0
0x00007fc69f770c70: 00007fcb035949b0 0000000000000000
0x00007fc69f770c80: 00007fc754274938 00007fc7542748e0
0x00007fc69f770c90: 0000000000001000 00007fc7542727d8
0x00007fc69f770ca0: 00007fc69f770ca0 00007fc5daf2cecc
0x00007fc69f770cb0: 00007fc69f770d10 00007fc5daf2d838
0x00007fc69f770cc0: 00007fc5b7d11ce8 00007fc5daf2cf20
0x00007fc69f770cd0: 00007fc69f770c90 00007fc69f770d00
0x00007fc69f770ce0: 00007fc69f770d58 00007fcb035949b0
0x00007fc69f770cf0: 00007fc7542727d8 0000000000000000
0x00007fc69f770d00: 00007fc84956a4b8 0000000000001000
0x00007fc69f770d10: 00007fc754251018 00007fc69f770d18
0x00007fc69f770d20: 00007fc5daf2cd35 00007fc69f770d70
0x00007fc69f770d30: 00007fc5daf2d838 00007fc5b7d123e0
0x00007fc69f770d40: 00007fc5daf2cd60 00007fc69f770d00
0x00007fc69f770d50: 00007fc69f770d68 00007fc69f770db8
0x00007fc69f770d60: 00007fcb035949b0 00007fc84956a4b8
0x00007fc69f770d70: 00007fc754251018 00007fc69f770d78
0x00007fc69f770d80: 00007fc5f4ff6819 00007fc69f770df8
0x00007fc69f770d90: 00007fc5f4ff6e18 00007fc5b7d11aa8
0x00007fc69f770da0: 00007fc5f4ff6888 00007fc69f770d68
0x00007fc69f770db0: 00007fc69f770e00 00007fc75426fd60
Instructions: (pc=0x0000000000090000)
0x000000000008ffe0:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb]
Register to memory mapping:
RAX=
[error occurred during error reporting (printing register info), id 0xb]
Stack: [0x00007fc69f6f3000,0x00007fc69f774000], sp=0x00007fc69f770bc0, free space=502k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0000000000090000
关于crash - 在PC = 0x0000000000090000处使用SIGSEGV(0xb)导致JVM崩溃,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/51845840/