Red Hat Bugzilla – Bug 1253552
scl enable devtoolset-3 'eclipse' crashes
Last modified: 2016-05-03 09:32:25 EDT
Created attachment 1062880 [details]
log file referred to in error dialog
Description of problem:
When you try and launch eclipse after a fresh install of devtoolset-3 it fails to launch and displays a dialog referencing a log file (/home/<user>/.eclipse/org.eclipse.platform_679667225_linux_gtk_x86_64/configuration/1439528607395.log). The log file contains many errors referring to:
Unresolved requirement: Require-Bundle: org.eclipse.emf.ecore; bundle-version="2.9.0"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHEL 6
2. add Devtoolset-3 and Common Java Packages 1.1 repos from software collections
3. install devtoolset-3
4. try and launch eclipse using "scl enable devtoolset-3 'eclipse'"
The following text is displayed on the console:
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState
(<unknown>:9076): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(<unknown>:9076): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(<unknown>:9076): Gtk-CRITICAL **: IA__gtk_window_resize: assertion `width > 0' failed
A dialog showing the following text is displayed:
An error has occurred. See the log file
eclipse to launch and display workbench
I have tried removing existing .eclipse folders and workspaces and tried launching with -clean to no avail.
After investigating, it looks like the version of devtoolset-3-emf-core (devtoolset-3-eclipse-emf-core-2.10.2-2.el6.x86_64) in the software collection has '/opt/rh/devtoolset-3/root/usr/lib64/eclipse/plugins/org.eclipse.emf.ecore_2.10.2.v20150616-1700.jar' , but in the bundles.info file the plugin referenced is older :
$ grep org.eclipse.emf.ecore_ /opt/rh/devtoolset-3/root/usr/lib64/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
This usually indicates that a newer version of emf was built, and eclipse was not rebuilt afterwards. I'd recommend doing a rebuild of the eclipse package in the collection so that it may use the newer version of emf.
I have rebuilt the eclipse package and the error remains.
This needs to be handled by the Eclipse team; this is not my area.
The rebuild worked for me but maybe you can try removing or backing up your "$HOME/.eclipse" folder, and then launching Eclipse again.
As there is no reply from submitter for more than half a year and DTS 4.0 is out since then - marking the bug as closed. If problem still exists with DTS 4.0 please open a new bug with details.