Crash di Eclipse su ArchLinux

Su ArchLinux con XFCE 4.8, mi è capitato che Eclipse si chiuda immediatamente dopo aver mostrato il pop-up con i suggerimenti per l'autocompletamento del codice o dopo aver fatto un copia/incolla. Avviando l'applicazione da riga di comando ho scoperto il tipo di errore:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x61b7fa4c, pid=1865, tid=3076134592
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Client VM (21.0-b17 mixed mode linux-x86 )
# Problematic frame:
# C  [UTF-16.so+0xa4c]  gconv+0x35c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/andrea/hs_err_pid1865.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.
#
/usr/bin/eclipse: line 4:  1865 Annullato               ${ECLIPSE_HOME}/eclipse "$@"

Cercando nel forum inglese di ArchLinux ho scoperto che per risolvere il problema è sufficiente aggiungere in coda al file /usr/share/eclipse/eclipse.ini le seguenti due righe:

-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2.0/

0 commenti:

Posta un commento