Eclipse Luna Problem on Debian Wheezy

I am creating this entry as a reminder.



Problem:

Starting Eclipse Luna(eclipse-java-luna-SR2-linux-gtk-x86_64)  failed with following trace at Debian GNU/Linux 7 (wheezy) amd64.

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. (java:17773): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager' (java:17773): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:17773): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed (java:17773): GLib-GObject-WARNING **: invalid (NULL) pointer instance (java:17773): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (java:17773): GLib-GObject-WARNING **: invalid (NULL) pointer instance (java:17773): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (java:17773): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay' (java:17773): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:17773): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed (java:17773): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (java:17773): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fd57f27e73f, pid=17773, tid=140555236808448 # # JRE version: OpenJDK Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13) # Java VM: OpenJDK 64-Bit Server VM (24.75-b04 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea 2.5.4 # Distribution: Debian GNU/Linux 7.6 (wheezy), package 7u75-2.5.4-1~deb7u1 # Problematic frame: # C [libgdk-x11-2.0.so.0+0x5173f] gdk_display_open+0x3f # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/oguzhan/Desktop/hs_err_pid17773.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #

Solution:

Add two lines to eclipse.ini

--launcher.GTK_version
2

Reference:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736#c50

Thx

Popular posts from this blog

SoapUI 4.5.0 Project XML File Encoding Problem

COMRESET failed (errno=-32)

SoapUI - Dynamic Properties - Getting Current Time in DateTime Format