Comment 0 for bug 1634872

Revision history for this message
Thomas Mortagne (thomas-mortagne) wrote : Various UI features of Eclipse Neon end up with StackOverflow error on 16.10

Environment:
* Oracle JDK 1.8.0_101
* Eclipse Neon 4.6.1 downloaded from http://eclipse.org
* Ubuntu 16.10 64bit
* nvidia-367 driver via Prime

Looks like something changed between the GTK3 version in 16.04 and 16.10 that partly screw SWT GTK3 support.

Here is how I reproduce it:

* download "Eclipse IDE for Java EE Developers" 64 bit on http://www.eclipse.org/downloads/eclipse-packages/
* start it
* try to customize the perspective (Window -> Perspective -> Customize Perspective)

You end up with a critical error and Eclipse telling it got scared and want to stop.

The complete error can be found in StackOverflowError.txt attached file.

Bonus: when you restart Eclipse you lost most of the tool bars and no way to get them back since you can't customize the perspective ("Reset Perspective" did not helped but did not crashed either).

You can also reproduce it when you try to change the theme and probably other things.

It was working well on 16.04 (except for #1578810 which is still there in 16.10).

# Workaround

One workaround is to disable GTK3 support with the following environment variable:

    export SWT_GTK3=0

But if you already got the error you will also need to ditch your workspace since Eclipse can't start anymore with it when GTK3 support is cancelled.