Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse has fatal error on start
Eclipse has fatal error on start [message #1629595] Sun, 22 February 2015 20:02 Go to next message
Karl Meissner is currently offline Karl MeissnerFriend
Messages: 3
Registered: February 2015
Junior Member
Sorry but I am very new to Linux and Eclipse. I have having trouble getting the app to run after I downloaded it.


I have a recent clean install of Debian x64.

I upgraded my java jra to Oracle java 7 using app gets.

karl@zippo:~$ which java
/usr/bin/java
karl@zippo:~$ java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)

I down loaded expanded the latest version of eclipse from the main web site
eclipse-cpp-luna-SR1a-linux-gtk-x86_64.tar.gz

I added this line to eclipse.ini

...
-vm
/usr/bin/java
..

when I double click on the Eclipse application, I see the logo briefly and then it disappears. I find this in the log file



#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5cc37bf73f, pid=4658, tid=140036798584576
#
# JRE version: Java(TM) SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04 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:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x00000000021ef000): JavaThread "main" [_thread_in_native, id=4659, stack(0x00007f5cdb929000,0x00007f5cdba2a000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000114

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x00007f5cdba29700, RDX=0x0000000000000000
RSP=0x00007f5cdba277d0, RBP=0x00000000029253b0, RSI=0x00007f5cc37bf2e0, RDI=0x00000000029253b0
R8 =0x00007f5cd0160b00, R9 =0x0000000000000020, R10=0x0000000000000000, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x00007f5cdba279b8, R14=0x0000000002811360, R15=0x00000000021ef000
RIP=0x00007f5cc37bf73f, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f5cdba277d0)
0x00007f5cdba277d0: 0000000000000000 0000000000000000
0x00007f5cdba277e0: 0000000000000000 00007f5ccaeda7d9
0x00007f5cdba277f0: 00007f5cc3776b60 00007f5cd077aee0
0x00007f5cdba27800: 0000000000000000 00000000ffffffff
0x00007f5cdba27810: 00000000028114c0 0000000000000005
0x00007f5cdba27820: 00000000006386f8 0000000000000000
0x00007f5cdba27830: 0000000002811360 00000000021ef000
0x00007f5cdba27840: 00007f5cc3c26000 00007f5cdb8309f2
0x00007f5cdba27850: 0000000000000005 0000000000000000
0x00007f5cdba27860: 00000000021ef000 00007f5cc3776b60
0x00007f5cdba27870: 00000000028114c0 00000000021ef1e8
0x00007f5cdba27880: 0000000000000000 0000000000000000
0x00007f5cdba27890: 00007f5cdba279b8 0000000000000000
0x00007f5cdba278a0: 0000000000000000 0000000000000000
0x00007f5cdba278b0: 00007f5cdba279b8 0000000002811360
0x00007f5cdba278c0: 00000000021ef000 00007f5cc378e60d
0x00007f5cdba278d0: 00000000021ef1e8 0000000000000000
0x00007f5cdba278e0: 0000000000000000 00007f5cc3d62624
0x00007f5cdba278f0: 00000000000001e8 00007f5cc42b88f5
0x00007f5cdba27900: 00000000d0efb8f8 00000000d0efb8f8
0x00007f5cdba27910: 00007f5cdba27990 0000000000000000
0x00007f5cdba27920: 00000000d0efb8f8 00007f5cdba279b8
0x00007f5cdba27930: 00000000021ef000 00007f5cd5ce37f8
0x00007f5cdba27940: 00000000021ef000 00000000fd6464d0
0x00007f5cdba27950: 00007f5cdba27950 00000000d0efb8f8
0x00007f5cdba27960: 00007f5cdba279b8 00000000d0f4d3b8
0x00007f5cdba27970: 0000000000000000 00000000d0efb8f8
0x00007f5cdba27980: 0000000000000000 00007f5cdba279b0
0x00007f5cdba27990: 00007f5cdba27a00 00007f5cd5cd7350
0x00007f5cdba279a0: 00000000fd6442a8 00007f5cd5cdfcc0
0x00007f5cdba279b0: 0000000000000000 00000000fd682bb8
0x00007f5cdba279c0: 00007f5cdba279c0 00000000d0efb9d1

Instructions: (pc=0x00007f5cc37bf73f)
0x00007f5cc37bf71f: 06 00 00 e8 c9 fe ff ff 31 f6 48 89 c7 31 c0 e8
0x00007f5cc37bf72f: 4d d0 fc ff 48 8d 35 a6 fb ff ff 31 d2 48 89 ef
0x00007f5cc37bf73f: c7 80 14 01 00 00 01 00 00 00 48 89 a8 d8 00 00
0x00007f5cc37bf74f: 00 48 89 c3 e8 f8 d4 fc ff 48 8d 35 c1 f4 25 00

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x00007f5cdba29700 is pointing into the stack for thread: 0x00000000021ef000
RDX=0x0000000000000000 is an unknown value
RSP=0x00007f5cdba277d0 is pointing into the stack for thread: 0x00000000021ef000
RBP=0x00000000029253b0 is an unknown value
RSI=0x00007f5cc37bf2e0: <offset 0x512e0> in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 at 0x00007f5cc376e000
RDI=0x00000000029253b0 is an unknown value
R8 =0x00007f5cd0160b00 is an unknown value
R9 =0x0000000000000020 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00007f5cdba279b8 is pointing into the stack for thread: 0x00000000021ef000
R14=0x0000000002811360 is an unknown value
R15=0x00000000021ef000 is a thread


Stack: [0x00007f5cdb929000,0x00007f5cdba2a000], sp=0x00007f5cdba277d0, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libgdk-x11-2.0.so.0+0x5173f] gdk_display_open+0x3f

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.gtk.OS._gtk_init_check([J[J)Z+0
j org.eclipse.swt.internal.gtk.OS.gtk_init_check([J[J)Z+9
j org.eclipse.swt.widgets.Display.createDisplay(Lorg/eclipse/swt/graphics/DeviceData;)V+44
j org.eclipse.swt.widgets.Display.create(Lorg/eclipse/swt/graphics/DeviceData;)V+18
j org.eclipse.swt.graphics.Device.<init>(Lorg/eclipse/swt/graphics/DeviceData;)V+163
j org.eclipse.swt.widgets.Display.<init>(Lorg/eclipse/swt/graphics/DeviceData;)V+2
j org.eclipse.swt.widgets.Display.<init>()V+2
j org.eclipse.ui.internal.Workbench.createDisplay()Lorg/eclipse/swt/widgets/Display;+81
j org.eclipse.ui.PlatformUI.createDisplay()Lorg/eclipse/swt/widgets/Display;+0
j org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay()Lorg/eclipse/swt/widgets/Display;+0
j org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+1
j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+85
j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+82
j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+109
j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+160
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x00007f5cd04e6800 JavaThread "EMF Reference Cleaner" daemon [_thread_blocked, id=4682, stack(0x00007f5cc47c0000,0x00007f5cc48c1000)]
0x00007f5cd0a59800 JavaThread "Worker-JM" [_thread_blocked, id=4680, stack(0x00007f5cc4ada000,0x00007f5cc4bdb000)]
0x0000000002f3d000 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=4679, stack(0x00007f5cc48c1000,0x00007f5cc49c2000)]
0x0000000002919000 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=4677, stack(0x00007f5cc49c2000,0x00007f5cc4ac3000)]
0x00007f5cd039a000 JavaThread "Refresh Thread: Equinox Container: e023cc6d-cbba-0014-1661-9384330eb3f4" daemon [_thread_blocked, id=4675, stack(0x00007f5cc4df0000,0x00007f5cc4ef1000)]
0x00007f5cd0389800 JavaThread "Start Level: Equinox Container: e023cc6d-cbba-0014-1661-9384330eb3f4" daemon [_thread_blocked, id=4674, stack(0x00007f5cc4ef1000,0x00007f5cc4ff2000)]
0x00007f5cd0387000 JavaThread "Framework Event Dispatcher: Equinox Container: e023cc6d-cbba-0014-1661-9384330eb3f4" daemon [_thread_blocked, id=4673, stack(0x00007f5cc4ff2000,0x00007f5cc50f3000)]
0x00007f5cd0443000 JavaThread "Active Thread: Equinox Container: e023cc6d-cbba-0014-1661-9384330eb3f4" [_thread_blocked, id=4672, stack(0x00007f5cc50f3000,0x00007f5cc51f4000)]
0x00007f5cd002a000 JavaThread "Service Thread" daemon [_thread_blocked, id=4670, stack(0x00007f5cce184000,0x00007f5cce285000)]
0x00007f5cd0027800 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=4669, stack(0x00007f5cce285000,0x00007f5cce386000)]
0x00007f5cd0024800 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=4668, stack(0x00007f5cce386000,0x00007f5cce487000)]
0x00007f5cd0022800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4667, stack(0x00007f5cce487000,0x00007f5cce588000)]
0x00007f5cd0001000 JavaThread "Finalizer" daemon [_thread_blocked, id=4666, stack(0x00007f5cce6ff000,0x00007f5cce800000)]
0x000000000231a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4665, stack(0x00007f5cd40b5000,0x00007f5cd41b6000)]
=>0x00000000021ef000 JavaThread "main" [_thread_in_native, id=4659, stack(0x00007f5cdb929000,0x00007f5cdba2a000)]

Other Threads:
0x0000000002315800 VMThread [stack: 0x00007f5cd41b6000,0x00007f5cd42b7000] [id=4664]
0x00007f5cd0035000 WatcherThread [stack: 0x00007f5cce083000,0x00007f5cce184000] [id=4671]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 148992K, used 140905K [0x00000000f5500000, 0x00000000fff00000, 0x0000000100000000)
eden space 137728K, 99% used [0x00000000f5500000,0x00000000fdb440a0,0x00000000fdb80000)
from space 11264K, 30% used [0x00000000fdb80000,0x00000000fded6360,0x00000000fe680000)
to space 10752K, 0% used [0x00000000ff480000,0x00000000ff480000,0x00000000fff00000)
ParOldGen total 53248K, used 27407K [0x00000000e0000000, 0x00000000e3400000, 0x00000000f5500000)
object space 53248K, 51% used [0x00000000e0000000,0x00000000e1ac3c20,0x00000000e3400000)
PSPermGen total 21504K, used 15816K [0x00000000d0000000, 0x00000000d1500000, 0x00000000e0000000)
object space 21504K, 73% used [0x00000000d0000000,0x00000000d0f72200,0x00000000d1500000)

Card table byte_map: [0x00007f5cd5b50000,0x00007f5cd5cd1000] byte_map_base: 0x00007f5cd54d0000

Polling page: 0x00007f5cdba3f000

Code Cache [0x00007f5cd5cd1000, 0x00007f5cd5f41000, 0x00007f5cd8cd1000)
total_blobs=981 nmethods=559 adapters=376 free_code_cache=46952Kb largest_free_block=48058432

Compilation events (10 events):
Event: 8.025 Thread 0x00007f5cd0027800 nmethod 583 0x00007f5cd5ee4b50 code [0x00007f5cd5ee4cc0, 0x00007f5cd5ee5108]
Event: 8.025 Thread 0x00007f5cd0027800 585 ! java.util.zip.InflaterInputStream::read (138 bytes)
Event: 8.025 Thread 0x00007f5cd0024800 nmethod 581 0x00007f5cd5eecb50 code [0x00007f5cd5eecd80, 0x00007f5cd5eee938]
Event: 8.035 Thread 0x00007f5cd0027800 nmethod 585 0x00007f5cd5ee8150 code [0x00007f5cd5ee8320, 0x00007f5cd5ee8d68]
Event: 8.039 Thread 0x00007f5cd0024800 586 java.util.zip.ZipFile::access$000 (5 bytes)
Event: 8.040 Thread 0x00007f5cd0024800 nmethod 586 0x00007f5cd5ee5310 code [0x00007f5cd5ee5440, 0x00007f5cd5ee5498]
Event: 8.055 Thread 0x00007f5cd0027800 587 ! org.eclipse.osgi.internal.loader.classpath.ClasspathManager::findLocalClass (210 bytes)
Event: 8.068 Thread 0x00007f5cd0024800 588 org.eclipse.osgi.internal.loader.BundleLoader::addExportedProvidersFor (172 bytes)
Event: 8.108 Thread 0x00007f5cd0027800 nmethod 587 0x00007f5cd5eefa50 code [0x00007f5cd5eefda0, 0x00007f5cd5ef1500]
Event: 8.108 Thread 0x00007f5cd0027800 589 ! org.eclipse.osgi.internal.loader.BundleLoader::getModuleClassLoader (155 bytes)
....
-----------<snip>---------------


what do I need to get to get Eclipse to run?






Re: Eclipse has fatal error on start [message #1629603 is a reply to message #1629595] Sun, 22 February 2015 20:06 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4492
Registered: July 2009
Senior Member

Where, in eclipse.ini, did you add it? Perhaps post the entire thing here?

Also, is /usr/bin/java a compiled binary or a shell script on your system?


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse has fatal error on start [message #1629699 is a reply to message #1629603] Sun, 22 February 2015 21:20 Go to previous messageGo to next message
Karl Meissner is currently offline Karl MeissnerFriend
Messages: 3
Registered: February 2015
Junior Member
I put it at the bottom
....
-vm
/usr/bin/java


/usre/bin/java is a binary


I did try switching from the Oracle JVM to using OpenJDK 7 but that did not help.

Finally I did find this bug report
bugs.eclipse.org/bugs/show_bug.cgi?id=419729

The suggested work around to force an older version of GTK worked for me on my Debian (wheezy) system.

export SWT_GTK3=0
and then launching Eclipse from the command shell.

Seems like some sort of issue between Eclipse and GTK which affect Debian and Ubantu is still in the latest Eclipse code. That is sad since this bug report is two years old and 100% consistently reproducible.

This blew two days for me, but at least I can run Eclipse now.

Karl
Re: Eclipse has fatal error on start [message #1630971 is a reply to message #1629699] Mon, 23 February 2015 14:05 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 02/22/2015 02:20 PM, Karl Meissner wrote:
> I put it at the bottom
> ...
> -vm
> /usr/bin/java
>
>
> /usre/bin/java is a binary
>
>
> I did try switching from the Oracle JVM to using OpenJDK 7 but that did
> not help.
> Finally I did find this bug report
> bugs.eclipse.org/bugs/show_bug.cgi?id=419729
>
> The suggested work around to force an older version of GTK worked for me
> on my Debian (wheezy) system.
> export SWT_GTK3=0
> and then launching Eclipse from the command shell.
> Seems like some sort of issue between Eclipse and GTK which affect
> Debian and Ubantu is still in the latest Eclipse code. That is sad
> since this bug report is two years old and 100% consistently reproducible.
> This blew two days for me, but at least I can run Eclipse now.
> Karl
Please look at the posts at the top of this forum.

Your JRE specification must be put BEFORE the -vmargs specification and
its arguments.
Re: Eclipse has fatal error on start [message #1631269 is a reply to message #1630971] Mon, 23 February 2015 17:47 Go to previous messageGo to next message
Karl Meissner is currently offline Karl MeissnerFriend
Messages: 3
Registered: February 2015
Junior Member
yeah I tried launching with that ordering but Eclipse crashed anyway
Re: Eclipse has fatal error on start [message #1632038 is a reply to message #1631269] Tue, 24 February 2015 04:02 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 02/23/2015 10:47 AM, Karl Meissner wrote:
> yeah I tried launching with that ordering but Eclipse crashed anyway

So, have you checked out the post at the top of the forum?

Another comprehensive post that may help is here:

http://www.javahotchocolate.com/notes/eclipse-jdk-tomcat.html
Previous Topic:Pydev auto complete
Next Topic:Starting Eclipse off the right way
Goto Forum:
  


Current Time: Wed Sep 25 18:56:07 GMT 2024

Powered by FUDForum. Page generated in 0.08739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top