Eclipse fails during startup in Ubuntu 17.10: "No more handles"

Bug #1725958 reported by Mark
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Eclipse
New
Undecided
Unassigned
Eclipse for Ubuntu
New
Undecided
Unassigned

Bug Description

I have tried both Eclipse 3.8.1-10 (Neon) from the Ubuntu distribution and the latest Eclipse Oxygen.

Both end up hanging (becoming none responsive) while the splash screen is still showing.

Broken things
-------------

1. The splash screen appears in the top left corner instead of the center of the screen.

2. After a few seconds the splash screen changes to a zoomed in version of the top left of the full splash screen.

3. (With Neon) A bunch of GTK warnings are emitted. Many are similar to the following:

(Eclipse:23921): Gtk-WARNING **: Negative content width -6 (allocation 1, extents 4x3) while allocating gadget (node toolbar, owner GtkToolbar)

And there are a couple of others not related to negative content sizes.

4. Finally the message "Gdk-Message: Unable to load hand2 from the cursor theme" is emitted after which clicking the splash screen or its icon in the dock results in an "application is not responsive" dialog.

5. (With Oxygen only) a message box appears saying there has been an error and to look at a log file. I'm attaching the log file.

Revision history for this message
Mark (1aunchpad-nct) wrote :
Mark (1aunchpad-nct)
no longer affects: synaptic (Ubuntu)
Mark (1aunchpad-nct)
summary: - Eclipse not working in Ubuntu 17.10: No more handles
+ Eclipse hangs during startup in Ubuntu 17.10: No more handles
Revision history for this message
Mark (1aunchpad-nct) wrote : Re: Eclipse hangs during startup in Ubuntu 17.10: No more handles

Who gets to decide the bug's importance? In my view this is critical as Eclipse doesn't run at all which makes developing for 17.10 very difficult.

Mark (1aunchpad-nct)
affects: eclipse → eclipse-ubuntu
Revision history for this message
Mark (1aunchpad-nct) wrote :

I have filed a bug in the Eclipse project too: https://bugs.eclipse.org/bugs/show_bug.cgi?id=526357.

Revision history for this message
Mark (1aunchpad-nct) wrote :

Following a power-off, reboot and installation b SoftwareUpdater of a Gnome Desktop Manager update I no longer suffer the magnified splash screen corner, the hang or Neon's stream of GTK warnings. Both versions now have an identical failure:

The message
"Gdk-Message: Unable to load hand2 from the cursor theme" appears in the terminal followed by the message box saying an error has occurred and to look at the log file, whose content is identical to the one I've uploaded.

I also get the message "Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged."

Revision history for this message
Mark (1aunchpad-nct) wrote :

I accidentally hit return and sent comment #4 before it was finished. The latter part should read:

The message

    "Gdk-Message: Unable to load hand2 from the cursor theme"

appears in the terminal followed by the message box saying an error has occurred and to look at the log file. The log file content is identical to the one I've uploaded.

I also get the message

    "Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged."

in the terminal window. I think this is related to the message box reporting the error. Since Eclipse startup has failed, it has no parent window.

Since it doesn't hang any more I will change the subject.

summary: - Eclipse hangs during startup in Ubuntu 17.10: No more handles
+ Eclipse fails during startup in Ubuntu 17.10: "No more handles"
Revision history for this message
Mark (1aunchpad-nct) wrote :

I'm not alone in suffering this critical problem:

https://www.reddit.com/r/Ubuntu/comments/76yovr/1710_eclipsecdt_broken/

Somebody please help.

Revision history for this message
Mark (1aunchpad-nct) wrote :

Eclipse works under Unity and also Ubuntu X.org. It only fails under Ubuntu so the problem is related to Wayland.

I have to make some corrections to my original bug description:

1. The version of Eclipse included with Ubuntu works under Wayland. It is 3.8 which I think is Juno. The failure of Neon & Oxygen looks like an Eclipse bug.

2. The GTK warnings (#3 in the original description) happen on all platforms with both Neon and Oxygen when the workspace is being loaded so they are unrelated to the failure noted in this bug.

3. The original description that Neon hangs and Oxygen spits out a log and raises a message box is correct. Re. comment #4, I think that happened because I clicked Cancel when Eclipse told me the
workspace was for a newer version. (I'd allowed Oxygen to update it.)

Revision history for this message
Leonardo Montecchi (lmontecchi) wrote :

I am experiencing the same under Debian 10. It seems it is related to custom cursor themes. Using the default one (Adwaita) seems to solve the issue.

You can check and change the cursor theme using the gnome-tweaks utility.

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.