【发布时间】:2014-05-15 09:23:26
【问题描述】:
在执行通过 JNI 从 java 代码调用的共享库函数时,我的 JRE 崩溃了。输出显示 JRE 崩溃,因为它“无法写入核心转储。核心转储已被禁用。”。
经过很多天没有解释的谷歌搜索,我的问题是:
- 在哪里可以找到有关 JRE 核心转储的信息?我想了解问题和解决方案。
我知道输出建议执行“ulimit -c unlimited”,这个问题提出了解决方案(How to enable program to dump core on linux?)
这里我粘贴了 JRE 输出:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f7e541cec55, pid=20390, tid=140180586714880
#
# JRE version: Java(TM) SE Runtime Environment (7.0_55-b13) (build 1.7.0_55-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.55-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libXXX.so+0x1fc55] NewMask_UnsetAll+0x15
#
# 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:
# /XXX/hs_err_pid20390.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
【问题讨论】:
-
这个问题已经17天了,这个错误还没有解决吗?
标签: java java-native-interface