I had eclipse installed (well, unpacked) under my home dir (~/eclipse
) and it worked ok (well, as much as you can say it about eclipse). Today it went totally crazy, throwing "stack overflow" errors all the time. (BTW, did you know it is completely impossible to google for "stack overflow" problems these days? Guess what you get... :)
So I downloaded the latest version and installed it under /opt/eclipse
this time. When trying to run it from my user terminal I get loads of errors:
(eclipse:28336): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(eclipse:28336): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(eclipse:28336): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(eclipse:28336): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
etc. etc.
Running it from root terminal works fine (and in fact starts much faster then t开发者_运维技巧he previous version).
Doing this didn't help:
xhost +localhost
xhost +<my-user>
Neither did this:
chroot -R root:root /opt/eclipse
chroot -R my-group:my-user /opt/eclipse
Any suggestions how to solve this?
EDIT: curiously, unpacking it again, this time under my home dir didn't help either. Showing that giving up does not help much...
Not sure how helpful this is, but that kind of error message happens when the DISPLAY is not set properly: https://bugs.eclipse.org/bugs/show_bug.cgi?id=314849.
If your display is set, I'm not sure where to go from here since you've already done xhost +...
精彩评论