Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse 4.13 Crashing on startup with OpenJ9 JVM #7204

Closed
TehAppKiller opened this issue Sep 24, 2019 · 6 comments
Closed

Eclipse 4.13 Crashing on startup with OpenJ9 JVM #7204

TehAppKiller opened this issue Sep 24, 2019 · 6 comments

Comments

@TehAppKiller
Copy link

Java -version output

OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.15.1, JRE 11 Windows 7 amd64-64-Bit 20190717_36 (JIT enabled, AOT enabled)
OpenJ9 - 0f66c64
OMR - ec782f26
JCL - fa49279450 based on jdk-11.0.4+11)

Summary of problem

Hello,

I use OpenJ9 JVM (from AdoptJDK) on my x64 Win7 computer.

Eclipse 4.12 was working with it
but it does not work anymore on Eclipse 4.13.

I already reported a bug on Eclipse bugs tracker:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=551091
yet, as it may be related to openJ9, here is a report too.

I tried:

  • jdk8u202-b08 : Crash
  • jdk-11.0.3+7 : Crash
  • jdk-11.0.4+11 : Crash

while it works with hotspot (jdk-11.0.4+11 provided by AdoptJDK).

Thanks.

Diagnostic files

Core dump: https://we.tl/t-E1wB8S5UoQ

eclipse_openJ9_crash.zip

@pshipton
Copy link
Member

javacore indicates a gpf in the swt library. Pls try running with -Xcheck:jni to see if that catches the problem.

@TehAppKiller
Copy link
Author

javacore indicates a gpf in the swt library. Pls try running with -Xcheck:jni to see if that catches the problem.

Arg added it to eclipse.ini
Same crash ; Not sure what I should send you back...
New jit dump is quite smaller:
jitdump.20190924.160139.5444.0004.dmp.zip

@DanHeidinga
Copy link
Member

Is there any output on stderr? -Xcheck:jni writes its warnings / output to the stderr stream

@TehAppKiller
Copy link
Author

Is there any output on stderr? -Xcheck:jni writes its warnings / output to the stderr stream

Eclipse crashes so I cannot read console.
When launching Eclipse from cmd line, nothing output in this console.
Or maybe is there another way ?

@TehAppKiller
Copy link
Author

TehAppKiller commented Oct 31, 2019

Hi,

The final problem (eclipse crash on startup) seems to have been fixed by Eclipse team (see Eclipse bug tracker: https://bugs.eclipse.org/bugs/show_bug.cgi?id=551091 ).

Now, whether the error fixed should crash or not Eclipse (hotspot does not crash) is not up to me to decide.

Thanks for your help.

Edit:
I tried with Eclipse 4.14 M1 (including Eclipse team fix)
and AdoptOpenJDK jdk-11.0.5+10 w/ openj9-0.17.0

@DanHeidinga
Copy link
Member

Closing as the bug has been fixed by the IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants