Skip to main content



      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 12:05 Go to next message
Eclipse UserFriend
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 09:29 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: RCP Hang with Java 8 u152 [message #1780533 is a reply to message #1775805] Tue, 23 January 2018 13:28 Go to previous messageGo to next message
Eclipse UserFriend
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 16:03 Go to previous messageGo to next message
Eclipse UserFriend
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 04:30 Go to previous messageGo to next message
Eclipse UserFriend
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 10:02 Go to previous message
Eclipse UserFriend
And please try with Oxygen (4.7) too.
Previous Topic:P2 site
Next Topic:"Show List" button for parts stack
Goto Forum:
  


Current Time: Sat Jun 21 02:10:22 EDT 2025

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

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

Back to the top