Eclipse在重命名时崩溃
我是在GNU/Linux上使用EclipseLuna和Eclipse在重命名时崩溃,eclipse,Eclipse,我是在GNU/Linux上使用EclipseLuna和 org.eclipse.core.runtime=2 org.eclipse.platform=4.4.0.v20140606-1215 在我的'version.ini'和 -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk
org.eclipse.core.runtime=2
org.eclipse.platform=4.4.0.v20140606-1215
在我的'version.ini'和
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
在eclipse.ini中
每当我想重命名一个类时,通常在重命名一个变量时,Eclipse会立即崩溃/退出,我在workspace/.metadata/.log
中找不到任何信息,因为只有正确关闭的Eclipse运行才会被记录(日志中出现的最后一个时间戳总是早于崩溃运行的开始)
是否有其他日志文件可供我查找有关正在发生的情况的信息
在另一篇关于Eclipse在不同情况下崩溃的帖子中,有人建议在启动Eclipse时添加-clean
。这对我来说没有任何改变
编辑:
我有
# Problematic frame:
# C [libcairo.so.2+0x68c21] cairo_surface_set_user_data+0x11
在
hs\u err\u pid
文件中。我设法解决了这个问题和其他Eclipse问题,比如简单地遵循
试试这个,首先要做:
export SWT_GTK3=0
然后启动eclispe
如果有效,永久性选项:
您可以将以下行添加到eclipse.ini以使其永久化
-launcher.GTK\u版本
2
这将迫使eclipse始终使用GTK2
将这些行添加到--launcher.appendVmargs
之前
编辑:我也在使用Crunchbang。尝试查找JVM的崩溃转储文件(文件名为
hs\u err\u PROCESSID.log
)。该文件位于Eclipse根目录或主目录中。您可能还需要检查系统日志(例如,/var/log/kern.log
)。如果进程被操作系统(SEGFAULT或OOM Killer)终止,则应该有一些消息。Ok。我得到了有问题的框架:#C[libcairo.so.2+0x68c21]cairo_surface_set_user_data+0x11在hs_err文件中。你有什么样的Linux发行版,你的桌面环境是什么?我使用Crunch-Bang,它本质上是Debian 7.0。Openbox是窗口管理器。我刚刚发布了一篇关于bugzilla的更详细的文章。