Eclipse Luna Crashed on XFCE

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:3554): GLib-GObject-WARNING **: cannot register existing type `GdkDisplayManager‘

(java:3554): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0‘ failed

(java:3554): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)‘ failed

(java:3554): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(java:3554): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)‘ failed

(java:3554): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(java:3554): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)‘ failed

(java:3554): GLib-GObject-WARNING **: cannot register existing type `GdkDisplay‘

(java:3554): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0‘ failed

(java:3554): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0‘ failed

(java:3554): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0‘ failed

(java:3554): 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=0x00007f8cd9c3a73f, pid=3554, tid=140243194283776
#
# JRE version: 6.0_34-b34
# Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.13.6
# Distribution: Debian GNU/Linux 7.6 (wheezy), package 6b34-1.13.6-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/chenqing/eclipse/hs_err_pid3554.log
#
# If you would like to submit a bug report, please include
# instructions 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.
#

=========

This error log looks as mine that I received when I‘ve tried to open the Eclipse Marketplace. The Eclipse simply closed after that. My OS is the Linux Mint Derbian and I‘m working with Eclipse Luna 4.4.1. I found this tip on the Derbian‘s forum and it worked for me. Re: Eclipse Luna Crashed on XFCE

I add the line to eclipse/eclipse.in:

--launcher.GTK_version 2

Hope it works for you too.

then, below my eclipse.ini works.

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
--launcher.GTK_version
2
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m



郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。