如何在我的Java中启用核心转储 - Mac OS X.

时间:2017-01-06 14:17:58

标签: java macos core dump

老实说,我是使用Mac OS X El Capitan的新手,我尝试创建一些Java程序并使用eclipse Neon运行它。但我得到了这个错误:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff9c23616f, pid=810, tid=0x0000000000000a0b
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libobjc.A.dylib+0x916f]  objc_release+0x1f
#
# 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:
# /Users/febryfairuz/Documents/workspace/FaceDetection/hs_err_pid810.log
pause dipencet
#
# 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.
#

但是当我尝试在Wondows中运行它时,该程序很好。 我试着按照这个指示:

  1. How to enable core dump in my Linux C++ program
  2. Failed to write core dump. Core dumps have been disabled
  3. 我尝试在终端中输入ulimit -c unlimited,但程序仍然遇到同样的错误。任何人都可以帮我解决这个问题吗? 感谢..

    enter image description here

0 个答案:

没有答案