How to enable core dump in my Java - Mac OS X

我只是一个虾纸丫 提交于 2019-12-07 12:52:01

问题


Honestly i'm new using Mac OS X El Capitan, i tried to create some Java program and runing it using eclipse Neon. But i got this error :

#
# 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.
#

But when i tried runing it in Wondows, the program is fine. I tried to follow this instruction :

  1. How to enable core dump in my Linux C++ program
  2. Failed to write core dump. Core dumps have been disabled

I tried type ulimit -c unlimited in terminal but the program still got the same error. Could anyone help me hoe to fix this ? Thanks..

来源:https://stackoverflow.com/questions/41507645/how-to-enable-core-dump-in-my-java-mac-os-x

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!