Bug 492318 - Eclipse CDT Mars.2 can't create project on Ubuntu 16.04
Summary: Eclipse CDT Mars.2 can't create project on Ubuntu 16.04
Status: CLOSED DUPLICATE of bug 478962
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5.2   Edit
Hardware: PC Linux
: P3 blocker with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-04-24 07:04 EDT by Steffan Karger CLA
Modified: 2016-04-28 16:04 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffan Karger CLA 2016-04-24 07:04:14 EDT
I just upgraded from ubuntu 15.10 to 16.04, to find my eclipse completely unusable:  eclipse is constantly maxxing out 1 cpu core, the outline doesn't work, and I can't jump trough the code.  The 'create project' and 'report a bug' wizards just hang indefinitely.

To see if it had something to do with the upgrade, I reproduced the problem on a clean 16.04:
* Create a bootable 16.04 USB stick
* Install openjdk-8-jre
* Extract eclipse-cpp-mars-2-linux-gtk-x86_64.tar.gz
* Run ./eclipse
* Create a project using the wizard.  It will just hang, even for a 'general project'.

There is nothing printed on the console (except for a warning that MaxPermSize is deprecated), and nothing in the .log.
Comment 1 Steffan Karger CLA 2016-04-24 07:43:56 EDT
Just verified the same thing happens
Comment 2 Steffan Karger CLA 2016-04-24 07:45:18 EDT
Just verified the same thing happens with openjdk-9-jre and Oracle JDK 1.8.0_77.
Comment 3 Brian de Alwis CLA 2016-04-25 09:37:49 EDT
Could you try running with SWT_GTK3=0 in the environment?  E.g.,

   $ SWT_GTK3=0 ./eclipse -consolelog

The version of GTK3 that ships with 16.04 is known to cause issues.  Eclipse Neon, which ships officially in June, is known to work very well on 16.04. The milestone builds are very stable:

   https://www.eclipse.org/downloads/index-developer.php
Comment 4 Steffan Karger CLA 2016-04-25 16:52:37 EDT
Thanks, that indeed makes eclipse work again!

(And now that I know what to look for, I find tons of other reports about the same thing... Sorry for the n+1'd bug report about this.)

*** This bug has been marked as a duplicate of bug 430736 ***
Comment 5 Arun Thondapu CLA 2016-04-28 16:04:23 EDT
This bug is actually a duplicate of bug 478962 which is fixed in Neon, it has nothing to do with bug 430736.

*** This bug has been marked as a duplicate of bug 478962 ***