Various UI features of Eclipse Neon end up with StackOverflow error after upgrade to 16.10

Bug #1634872 reported by Thomas Mortagne
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

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 https://bugs.launchpad.net/ubuntu-themes/+bug/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.

Revision history for this message
Thomas Mortagne (thomas-mortagne) wrote :
summary: - Various UI features of Eclipse Neon end up with StackOverflow error on
- 16.10
+ Various UI features of Eclipse Neon end up with StackOverflow error
+ after upgrade to 16.10
description: updated
description: updated
affects: java-common (Ubuntu) → ubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

In my case the same thing is happening with eclipse oxygen version, on my Ubuntu 17.10 (using openjdk-8-jdk).

The workaround

export SWT_GTK3=0

helped me a lot!

Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

This bug seems reported on eclipse itself: https://bugs.eclipse.org/bugs/show_bug.cgi?id=497705

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.