linux – Java运行时环境中的致命SIGSEGV错误
作者:互联网
在linux上运行java应用程序时收到以下错误,导致jvm崩溃:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000000000003a, pid=7629, tid=140107993413376
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x000000000000003a
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
有关完整错误日志,请参阅http://pastebin.com/NghPkCpx
不知道从哪里开始,通常我会检查Java框架:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.UNIXProcess.forkAndExec([B[BI[BI[BZLjava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;)I+0
j java.lang.UNIXProcess.access$500(Ljava/lang/UNIXProcess;[B[BI[BI[BZLjava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;)I+18
j java.lang.UNIXProcess$1$1.run()V+93
v ~StubRoutines::call_stub
虽然不知道该怎么做,有什么想法如何进行调试?
解决方法:
除非你有自己的JNI代码,否则你已经遇到了Java本身的错误,并且没有必要对它进行“调试”.你能做的最好的就是寻找更新版的JRE.
标签:java,linux,jvm-hotspot,sigsegv 来源: https://codeday.me/bug/20190521/1148737.html