问题描述
我正在使用eclipse开发一个Web应用程序,当我试图在eclipse中在服务器上运行我的应用程序时遇到问题。
#
#Java运行时环境检测到致命错误:
#
#SIGSEGV(0xb)at pc = 0x00007f41e4e610b0,pid = 3463,tid = 139924549404416
#
#JRE版本:7.0_09-b05
#Java VM:Java HotSpot(TM)64- Bit Server VM(23.5-b02混合模式linux-amd64压缩oops)
#问题框架:
#C [libwebkitgtk-1.0.so.0 + 0x11670b0] void WTF :: freeOwnedGPtr< _GdkEvent>(_ GdkEvent *)+ 0x15e00
#
#无法写入核心转储。核心转储已被禁用。要启用核心转储,请在启动Java之前尝试ulimit -c unlimited
#
#如果要提交错误报告,请访问:
#http:// bugreport。 sun.com/bugreport/crash.jsp
#崩溃发生在Java虚拟机的本机代码之外。
#查看有关哪里报告错误的问题框架。
#
我googled它,并找到一个可能的解决方案建议:最小的解决方法是添加-XX:LoopUnrollLimit = 1作为参数。问题是我不知道在哪里添加这个参数和如何添加它。可以帮助我吗?
谢谢。
编辑:我将我的jdk从1.7_9更新为1.7_40但问题依然存在。
在linux mint 16中,对于我来说,解决方案是将Eclipse主题从GTK更改为经典并写在eclipse.ini这里:
-Dorg.eclipse.swt.browser.DefaultType = mozilla
/ p>
i am using eclipse to develop a web application and i have encountered a problem when i am trying to run my application on server from within 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.
#
i googled it and found a possible solution here that suggests : "A minimal workaround is to add -XX:LoopUnrollLimit=1 as an argument." the problem is i don't know where to add this argument and how to add it. can any one help me about it?
thanks.
EDIT : I updated my jdk from 1.7_9 to 1.7_40 but problem stands still.
In linux mint 16, for me, the solution was change the eclipse theme from GTK to Classic and write in eclipse.ini this:
-Dorg.eclipse.swt.browser.DefaultType=mozilla
这篇关于如何修复“无法写入核心转储。核心转储已被禁用“运行java时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!