Bug 544310 - [Mac] Java crash during Eclipse startup in Display.finishLaunching
Summary: [Mac] Java crash during Eclipse startup in Display.finishLaunching
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.9   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: potential symptom of bug 534923
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-02-10 09:40 EST by Gunnar Wagenknecht CLA
Modified: 2020-06-16 03:14 EDT (History)
1 user (show)

See Also:


Attachments
hs_pid log from affected machine (52.84 KB, text/plain)
2019-02-10 09:40 EST, Gunnar Wagenknecht CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Wagenknecht CLA 2019-02-10 09:40:29 EST
Created attachment 277533 [details]
hs_pid log from affected machine

Macbook Pro with Touch Bar, Mojave
Eclipse 4.9

Starting Eclipse immediately fails with "Eclipse quit unexpectedly"

Stack: [0x00007ffee60cf000,0x00007ffee68cf000],  sp=0x00007ffee68c2d30,  free space=8143k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libobjc.A.dylib+0x149db]  -[NSObject superclass]+0x10
C  [libswt-pi-cocoa-4763.jnilib+0x1214d]  Java_org_eclipse_swt_internal_cocoa_OS_objc_1msgSend__JJ+0x2d
j  org.eclipse.swt.internal.cocoa.OS.objc_msgSend(JJ)J+0
j  org.eclipse.swt.widgets.Display.finishLaunching(JJ)V+32
j  org.eclipse.swt.widgets.Display.applicationProc(JJ)J+79
v  ~StubRoutines::call_stub
V  [libjvm.dylib+0x2ef6ce]  JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6ae
V  [libjvm.dylib+0x326565]  jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x1bf
V  [libjvm.dylib+0x31e769]  jni_CallStaticLongMethodV+0x10c
C  [libswt-cocoa-4763.jnilib+0x29ac]  callback+0x56c
C  [libswt-cocoa-4763.jnilib+0x52d3]  fn0_2+0x23
C  [libswt-pi-cocoa-4763.jnilib+0x1214d]  Java_org_eclipse_swt_internal_cocoa_OS_objc_1msgSend__JJ+0x2d
j  org.eclipse.swt.internal.cocoa.OS.objc_msgSend(JJ)J+0
j  org.eclipse.swt.internal.cocoa.NSApplication.finishLaunching()V+7
j  org.eclipse.swt.widgets.Display.init()V+113
j  org.eclipse.swt.graphics.Device.<init>(Lorg/eclipse/swt/graphics/DeviceData;)V+168
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;+9
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;+105
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+132
Comment 1 Gunnar Wagenknecht CLA 2019-02-10 09:47:27 EST
Till, adding you directly to this one. Maybe you have an idea what could be going on. This is a relative new device provisioned to the affected user. I cannot reproduce it on my machine but will continue investigating.
Comment 2 Till Brychcy CLA 2019-02-10 10:57:49 EST
(In reply to Gunnar Wagenknecht from comment #1)
> Till, adding you directly to this one. Maybe you have an idea what could be
> going on. This is a relative new device provisioned to the affected user. I
> cannot reproduce it on my machine but will continue investigating.

The stack trace is different, but seeing that this is a mac with touch bar, 
can you try with 4.10 or later (maybe the fix for bug 538377 helps)?
Comment 3 Lakshmi P Shanmugam CLA 2019-02-27 07:28:11 EST
Can you also try with 4.11 M3, may be fix for Bug 534923 helps?
Comment 4 Lakshmi P Shanmugam CLA 2020-06-16 03:14:06 EDT
(In reply to Lakshmi Shanmugam from comment #3)
> Can you also try with 4.11 M3, may be fix for Bug 534923 helps?

Is this still a problem with 4.15 or 4.16?