Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
“如何修复”;无法写入核心转储。堆芯转储已被禁用”;运行java时出错_Java_Eclipse_Tomcat_Java 7 - Fatal编程技术网

“如何修复”;无法写入核心转储。堆芯转储已被禁用”;运行java时出错

“如何修复”;无法写入核心转储。堆芯转储已被禁用”;运行java时出错,java,eclipse,tomcat,java-7,Java,Eclipse,Tomcat,Java 7,我正在使用eclipse开发一个web应用程序,当我试图从eclipse内部在服务器上运行我的应用程序时遇到了一个问题 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f41e4e610b0, pid=3463, tid=139924549404416 # # JRE version: 7.0_09-b05 # Java VM: Java Ho

我正在使用eclipse开发一个web应用程序,当我试图从eclipse内部在服务器上运行我的应用程序时遇到了一个问题

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f41e4e610b0, pid=3463, tid=139924549404416
#
# JRE version: 7.0_09-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.5-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x11670b0]  void WTF::freeOwnedGPtr<_GdkEvent>(_GdkEvent*)+0x15e00
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# 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运行时环境检测到一个致命错误:
#
#在pc=0x00007f41e4e610b0、pid=3463、tid=139924549404416处的SIGSEGV(0xb)
#
#JRE版本:7.0_09-b05
#Java虚拟机:Java热点(TM)64位服务器虚拟机(23.5-b02混合模式linux-amd64压缩oops)
#有问题的框架:
#C[libwebkitgtk-1.0.so.0+0x11670b0]void WTF::freeOwnedGPtr(_GdkEvent*)+0x15e00
#
#无法写入核心转储。核心转储已被禁用。要启用核心转储,请在再次启动Java之前尝试“ulimit-c unlimited”
#
#如果您想提交错误报告,请访问:
#   http://bugreport.sun.com/bugreport/crash.jsp
#崩溃发生在Java虚拟机外部的本机代码中。
#有关报告错误的位置,请参见问题框。
#
我在谷歌上搜索了它,发现了一个可能的解决方案,建议:“一个最小的解决方法是添加-XX:LoopUnrollLimit=1作为参数。”问题是我不知道在哪里添加这个参数以及如何添加它。有人能帮我吗

谢谢


编辑:我将我的jdk从1.7_9更新为1.7_40,但问题仍然存在。

我不知道这个解决方案是否适用于所有人,但我通过将eclipse从indigo更新为kepler成功地解决了这个问题。

在linux mint 16中,对我来说,解决方案是将eclipse主题从GTK更改为Classic,并在eclipse.ini中编写以下内容:


-Dorg.eclipse.swt.browser.DefaultType=mozilla

此错误日志与我在尝试打开eclipse Marketplace时收到的日志相同。日食之后就结束了。我的操作系统是LinuxMintDerbian,我正在使用EclipseLuna4.4.1。 我在Derbian论坛上找到了这个技巧,它对我很有用。

我将该行添加到eclipse/eclipse.in:

--launcher.GTK_version
2

希望它对你也有用。

埃里克·阿尔维斯的答案对我有用。我添加代码

--launcher.GTK_版本 二,

然后,我的eclipse.ini在下面工作

--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
--launcher.GTK_version
2
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

你的应用程序是崩溃还是eclipse?我想你正面临以下问题之一:或者@katona我想eclipse崩溃,我正在使用EclipseIndigo,但我了解到这是一个jre错误。你是否尝试过更新jre?您正在使用一个非常旧的版本。我的Eclipse在dist升级后开始消亡,从13.10升级到14.04。。。在重新安装OpenJDk、OracleJDK和其他软件之后,您的解决方案似乎适合我,谢谢。我升级到Ubuntu 14.04,突然pentaho水壶停止工作。将此添加到spoon.sh可以解决此问题。非常感谢。使用Ubuntu14.04和EclipseKepler。更改浏览器(窗口>web浏览器>系统默认设置)为我解决了问题。谢谢。这个帖子很老了,我现在用的是intellij:)希望你的回答能对其他谷歌用户有所帮助