欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Linux Mint 运行Eclipse崩溃退出 Failed to write core dump. Core dumps have been disabl

程序员文章站 2022-07-16 19:55:03
...

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f76e4798c91, pid=2020, tid=140150798661376
#
# JRE version: 7.0_25-b30
# Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libsoup-2.4.so.1+0x6ac91]  soup_session_feature_detach+0x11
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" 

before starting Java again

#

 

 

 

 

原因是GTK与Eclipse不兼容,Eclipse默认使用webkitgtk,就是-Dorg.eclipse.swt.browser.DefaultType=webkit

 

 

 

而你的Linux的webkitgtk与Eclipse所需要的不兼容

 

解决办法是在eclipse.ini最后添加如下内容:

 

 

 

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

 

 

 

 

 

同理,更新webkitgtk亦可。

 

切换到root输入:

 

yum install webkitgtk