[Bug 1552764] Re: Eclipse and SWT are very slow/hang on a fresh 16.04 install (gtk3/swt issue)
luoyang
497670157 at qq.com
Sun Aug 20 14:27:29 UTC 2017
I use ubuntu16.04 desktop amd64, install vivado2016.3.
When I run '/opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse', it appears the following error, and exited.
How can I find the problem according to the info?
######################
JVM terminated. Exit code=6
/usr/lib/jvm/java/bin/java
-Xms64m
-Xmx512m
-jar /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/com.xilinx.sdk.product_1.0.0.201610110148.jar/splash.bmp
-launcher /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse
-name Eclipse
--launcher.library /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417/eclipse_1612.so
-startup /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.overrideVmargs
-exitdata 22b0014
-vm /usr/lib/jvm/java/bin/java
-vmargs
-Xms64m
-Xmx512m
-jar /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
#############################
I have soure the needed env:
#############################
export JAVA_HOME=/usr/lib/jvm/java
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
# xilinx
export XILINXD_LICENSE_FILE=/opt/Xilinx/Vivado_license_2037_2016.3.lic
alias vivado='/opt/Xilinx/Vivado/2016.3/bin/vivado'
source /opt/Xilinx/Vivado/2016.3/settings64.sh
export SWT_GTK3=0
if [ -n "${LD_LIBRARY_PATH}" ]; then
#export LD_LIBRARY_PATH="/opt/Xilinx/Vivado/2016.3/lib/lnx64.o:"$LD_LIBRARY_PATH
export LD_LIBRARY_PATH="/opt/Xilinx/SDK/2016.3/lib/lnx64.o:"$LD_LIBRARY_PATH
else
#export LD_LIBRARY_PATH="/opt/Xilinx/Vivado/2016.3/lib/lnx64.o"
export LD_LIBRARY_PATH="/opt/Xilinx/SDK/2016.3/lib/lnx64.o"
fi
###############################
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to java-common in Ubuntu.
https://bugs.launchpad.net/bugs/1552764
Title:
Eclipse and SWT are very slow/hang on a fresh 16.04 install (gtk3/swt
issue)
Status in java-common:
New
Status in java-common package in Ubuntu:
Confirmed
Status in openjdk package in Ubuntu:
Confirmed
Status in swt-gtk package in Ubuntu:
Confirmed
Bug description:
I installed a fresh Ubuntu 16.04 64 bit from nightly build
(2016-03-02).
Eclipse Mars.2 (4.5.2) is often very slow / hangs, especially on start
of actions (searching projects, importing them, search for updates,
install plugins etc.
Things I tried:
* openjdk8 /oracle java 8
* OS / CS nvidia driver
* unity / gnome (metacity and compizz)
* fresh workspace
jvisualvm shows that much cpu time is consumed by
rg.eclipse.swt.internal.gtk.OS._g_main_context_iteration[native] ...
To manage notifications about this bug go to:
https://bugs.launchpad.net/java-common/+bug/1552764/+subscriptions
More information about the foundations-bugs
mailing list