Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Eclipse Luna Crashed on XFCE

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
cesarvasc
Posts: 12
Joined: 2013-05-12 01:05

Eclipse Luna Crashed on XFCE

#1 Post by cesarvasc »

I've installed the new Eclipse Luna on my Debian Wheezy (with XFCE). When I try to run, the Eclipse crashes just after the splash screen runs.
Well, I've tried to run on other JVM (1.7 update 60), but I got the very same problem.

Here's the log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f17eb06873f, pid=19045, tid=139741378922240
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode linux-amd64 compressed oops)
# 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
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Is this a problem with the Eclipse or even its compatibility with my XFCE?

Cesar

4fff618
Posts: 1
Joined: 2014-07-05 21:52

Re: Eclipse Luna Crashed on XFCE

#2 Post by 4fff618 »

Similar problems for KDE, read this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736

Try this, first do:

Code: Select all

  export SWT_GTK3=0
and then start eclispe.

If it works, a permanent option:
You can add the following lines to eclipse.ini to make it permanent

Code: Select all

--launcher.GTK_version
2
This will force eclipse to use GTK 2 always

This is my eclipse.ini:

Code: Select all

-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.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.GTK_version
2
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
i hope it helps!

cesarvasc
Posts: 12
Joined: 2013-05-12 01:05

Re: Eclipse Luna Crashed on XFCE

#3 Post by cesarvasc »

Dear 4fff618,

you are the best! It worked perfectly.
I've replaced my eclipse.ini with yours, and all went very well.
Thank you, my friend.
Cesar

Post Reply