在将linux更新到4.2版之后,Java写了“写入核心转储失败”?

时间:2015-10-14 09:28:52

标签: java linux

我在一个程序上工作,需要java 7.但是当我将archlinux更新到4.2(从4.1)时,当我启动程序时,java写信给我:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fdf76d41be0, pid=3512, tid=140597796308736
#
# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00007fdf76d41be0
#
# 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:
# /home/nozdrin/workspace/rvec/server/bin/hs_err_pid3512.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

Java不更新!! java发生了什么,我需要什么?

EDIT:

我发现,在启动程序时,他添加了键-J-XX:PermSize=200m \ -J-XX:MaxPermSize=256m。当我删除这个键时,java会返回另一个错误:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f164f6b0be0, pid=5145, tid=139733914535680
#
# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x00007f164f6b0be0
#
# Core dump written. Default location: /home/nozdrin/workspace/rvec/server/bin/core or core.5145
#
# An error report file with more information is saved as:
# /home/nozdrin/workspace/rvec/server/bin/hs_err_pid5145.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

我更新linux时出现此错误。我试过返回旧的linux 4.1,但错误仍然存​​在。

档案hs_err_pid5145.log - 是Google云端硬盘上的链接。

1 个答案:

答案 0 :(得分:0)

当我更新到4.4内核时问题解决了! 谢谢大家!