最近在Fedora下用eclipse寫java程序時出現以下錯誤:比如:System.out.當你點下第二個.時,eclipse崩潰,查看log時有以下信息
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000033840597c3, pid=2687, tid=139725393942272
#
# JRE version: 7.0_03-b04
# Java VM: Java HotSpot(TM) 64-Bit Server VM (22.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libwebkitgtk-1.0.so.0+0x12597c3] pthread_join+0x12597c3
#
# 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.
#
主要問題還是webkitgtk的版本不對,於是使用yum install webkitgtk命令,果然,需要更新,更新後問題即可解決!
更多Fedora相關信息見Fedora 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=5