Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP Hang with Java 8 u152
RCP Hang with Java 8 u152 [message #1775805] Mon, 06 November 2017 17:05 Go to next message
J Clausius is currently offline J ClausiusFriend
Messages: 6
Registered: November 2017
Junior Member
Hi there,

I have an RCP app which was compiled in Luna, and targeting Java 1.7. This app has also tested fine with Java 8 on OS X, Windows and Linux up to and including Java 8u151.

However, a customer has now reported on Mac OSX that once they updated to Oracle's Java 8 update 152, the RCP app will start up, display the dialog to log in, but then hangs. The cursor flashes on the dialog, but all keyboard and mouse events have no effect, and neither do the Mac's menus for the RCP app. A Force Quit is the only action you can take.

I have confirmed this *is* the case on the Mac... Oracle's Java 8u151 works, but Java 8u152 does indeed seem to hang in some sort of run-away event loop.

Has anyone seen this type of behavior? Any ideas where to start looking for a problem?

TIA
Jeff C
Re: RCP Hang with Java 8 u152 [message #1776080 is a reply to message #1775805] Fri, 10 November 2017 14:29 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

How long did you leave it?

The usual approach is to use `jstack` and get a stack trace. There are some other techniques outlined at:

https://wiki.eclipse.org/How_to_report_a_deadlock


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: RCP Hang with Java 8 u152 [message #1780533 is a reply to message #1775805] Tue, 23 January 2018 18:28 Go to previous messageGo to next message
keith knight is currently offline keith knightFriend
Messages: 1
Registered: January 2018
Junior Member
Has anything been discovered to resolve this problem? It still exists in 8u162 and I haven't been able to find any deadlocks in Eclipse RCP while profiling an app.
Re: RCP Hang with Java 8 u152 [message #1780621 is a reply to message #1780533] Wed, 24 January 2018 21:03 Go to previous messageGo to next message
Jorge Daniel D\\\'Alessandro is currently offline Jorge Daniel D\\\'AlessandroFriend
Messages: 1
Registered: January 2018
Junior Member
Hello, I also have this issue.

My product uses Eclipse 4.6.x and hangs upon opening when launched with Java 8 u152+ on MacOS 10.13.3 (same behavior happens both with u161 and u162).

It seems to be a problem with the JVM and event processing since the main thread is hang on: OS.objc_msgSend_bool(long, long, long, long).

Any ideas?
Re: RCP Hang with Java 8 u152 [message #1780718 is a reply to message #1780621] Fri, 26 January 2018 09:30 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 432
Registered: July 2009
Senior Member

Hi,

Did you try searching bugzilla? Please do and file an issue if you cannot find this exact issue. Please post the bugnumber back here.

Best regards,

Wim

https://bugs.eclipse.org/bugs/show_bug.cgi?id=469745

Cheers,

Wim
Re: RCP Hang with Java 8 u152 [message #1780746 is a reply to message #1780718] Fri, 26 January 2018 15:02 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

And please try with Oxygen (4.7) too.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:P2 site
Next Topic:"Show List" button for parts stack
Goto Forum:
  


Current Time: Mon Sep 24 09:22:14 GMT 2018

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

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

Back to the top