hs_err_pid2118.log:此文件出现在我的主目录中:Java 运行时环境检测到致命错误

hs_err_pid2118.log:此文件出现在我的主目录中:Java 运行时环境检测到致命错误

我的主目录中有 2 个未知文件(我对它们一无所知)。
我记得在重新安装 ubuntu(升级到 18.04)之前,/home 目录中有太多这样的文件。
昨天我遇到了其中一个,今天我遇到了两个,它们的名字分别是:
hs_err_pid2498.loghs_err_pid2118.log。hs_err_pid2118.log
的前几行(982 行):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe65506977a, pid=2118, tid=0x00007fe5fbfff700
#
# JRE version: OpenJDK Runtime Environment (8.0_141-b15) (build 1.8.0_141-BLFS-b15)
# Java VM: OpenJDK 64-Bit Server VM (25.141-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v  ~BufferBlob::jni_fast_GetLongField
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007fe600133000):  JavaThread "AWT-XAWT" daemon [_thread_in_native, id=2207, stack(0x00007fe5fbeff000,0x00007fe5fc000000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000

Registers:
RAX=0x00007fe66d28ef60, RBX=0x00007fe6001331e0, RCX=0x0000000000000001, RDX=0x0000000000000042
RSP=0x00007fe5fbffe7d8, RBP=0x00007fe5fbffe800, RSI=0x0000000000000000, RDI=0x00007fe6001331e0
R8 =0x00000000000001f4, R9 =0x0000000000000000, R10=0x00000000000001ba, R11=0x00007fe66ccdcbc0
R12=0x00007fe5e80550e0, R13=0x0000000000000000, R14=0x00007fe63cca4ae0, R15=0x00007fe600133000
RIP=0x00007fe65506977a, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fe5fbffe7d8)
.
.
.

Instructions: (pc=0x00007fe65506977a)
.
.
.

hs_err_pid2498.log的前几行(974行):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd2a4e6077a, pid=2498, tid=0x00007fd27c2ba700
#
# JRE version: OpenJDK Runtime Environment (8.0_141-b15) (build 1.8.0_141-BLFS-b15)
# Java VM: OpenJDK 64-Bit Server VM (25.141-b15 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# v  ~BufferBlob::jni_fast_GetLongField
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007fd2540f3000):  JavaThread "AWT-XAWT" daemon [_thread_in_native, id=2578, stack(0x00007fd27c1ba000,0x00007fd27c2bb000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000

Registers:
RAX=0x00007fd2ba326f60, RBX=0x00007fd2540f31e0, RCX=0x0000000000000001, RDX=0x0000000000000042
RSP=0x00007fd27c2b97f8, RBP=0x00007fd27c2b9820, RSI=0x0000000000000000, RDI=0x00007fd2540f31e0
R8 =0x00000000c0066698, R9 =0x0000000000000000, R10=0x0000000000000324, R11=0x00007fd2a4f09558
R12=0x00007fd21c0373e0, R13=0x0000000000000000, R14=0x00007fd27ddd3ae0, R15=0x00007fd2540f3000
RIP=0x00007fd2a4e6077a, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007fd27c2b97f8)
.
.
.

这些文件是什么?
我可以删除它们吗?(会发生什么?)
直到 2 或 3 个月前我才有这样的文件!
我想当我使用tor服务(搜索或下载)时会出现这些文件,因为我之前没有使用 tor 下载东西(直到 2 或 3 个月前)。
如果是关于安装软件,请注意:4 天前我几乎没有安装任何东西!

答案1

这些是日志文件。它们是在 Java 运行时环境 (JRE) 崩溃后生成的。通常可以放心删除它们,因为它们只是日志文件。

它们包含有关您的系统的详细信息,解释发生了什么以及系统崩溃时的情况。除非您开发了 Java 应用程序,否则它们对您来说真的没什么用。

相关内容