对eclipse自动关闭错误解决过程中的反省
系统:archlinux | eclipse:Indigo | 现象:自动关闭
解决: eclipse.ini 添加 -Dorg.eclipse.swt.browser.DefaultType=mozilla
反省
1. 不要自己描述错误。
发现问题后,我就直接去检索“eclipse 自动关闭”了,浪费很多时间还是没有头绪。
之后才头脑清醒点,在terminator下运行eclipse,等关闭之后查看异常信息。
然后,很容易的搜到解决办法。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x87ba7a14, pid=7027, tid=3076114112
#
# JRE version: 7.0_02-b13
# Java VM: Java HotSpot(TM) Client VM (22.0-b10 mixed mode linux-x86 )
# Problematic frame:
# C [libxul.so+0xd2ca14] mozilla::services::_external_GetHistoryService()+0x18b1a
#
# Core dump written. Default location: /home/matt/resources/eclipse/core or core.7027
#
# An error report file with more information is saved as:
# /home/matt/resources/eclipse/hs_err_pid7027.log
#
# 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.
#
2. 不要使用中文google,太烂了,太烂了。