我现在正在帮助编写一个程序,在windows上,程序运行良好。在mac上,在将框架目录更改到唯一合适的位置后,我得到了以下错误:run:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fff92309bb2, pid=12438, tid=44807
JRE version: 7.0_10-b18
Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode bsd-amd64 compressed oops)
Problematic frame:
C [CoreFoundation+0x1bb2] CFDictionaryGetValue+0x12
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:
/Downloads/BiscuitAnimator-Mac-master/hs_err_pid12438.log
If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Java Result: 134
BUILD SUCCESSFUL (total time: 4 seconds)
如何在NetBeans中使用ulimit -c unlimited命令/设置核心转储?
1条答案
按热度按时间7gcisfzg1#
如果你有一些错误(意外的错误场景)在你的程序,它是导致崩溃你的程序,你应该能够调试为什么程序已经崩溃。为此,操作系统将复制进程堆栈到一个文件称为核心转储文件。
ulimit是一个系统命令。
ulimit -c unlimited,用于将核心转储文件大小设置为无限制的命令。除了unlimited,您还可以指定核心转储文件大小的最大限制。
有关详细信息,请键入manulimit