-
Notifications
You must be signed in to change notification settings - Fork 146
Java applications using JavaFX WebView eventually freeze #645
Comments
@jmborer have you been able to solve or mitigate this issue? |
Hello,
Unfortunately, no. We had to use another solution. Even inactive pages with blank content lead to freezes. It was just a matter of time. The other dumps were not really interesting.
We use Win10. We had the issues with all Java 8 JVMs from Oracle and zulu (current to n-3).
We have switched to JxBrowser which is a better replacement even though you will need a license.
Hope it helps
Jm
… Le 11 mars 2021 à 18:39, Marcel Lanz ***@***.***> a écrit :
@jmborer have you been able to solve or mitigate this issue?
A customer of mine has a similar issue, actually, they use a webview and when I analyze the process dump file, I get to the very same thread and stacks as yours. Happens in Oracle JRE 1.8 241 for us; and might in others too. I should get at least two more windows process dump files next week. Beside that, would you share more information about the environment where that happens?�
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It seems to me a similar problem was posted in the new JavaFX repository https://github.com/openjdk/jfx |
Thanks JM |
@marcellanz Sorry I was in mind this one 8260257. |
We are running into a very nasty issue: Java application either Swing or pure JavaFX that use the WebView eventually freeze. This happens randomly, but this occurs always. Impossible to leave an application with WebView running during a long time.
It occurs with Java 8 on Win10 (we cannot use the other versions or platforms):
To reproduce, compile the app below, browse pages, switch between applications and leave it running in the background. It will eventually freeze (can be a few minutes, or hours or days), but it will freeze. No memory issue AFAIK.
Once frozen, we forced a win dump with WinDbg and inspected the dump:
Once the crash loaded, we looked for locks. It seems there was one in thread 2d14. We dumped the stack trace for it. It seems blocked somewhere in the jfxwebkit!WTF layers.
Without the Webview our applications with JavaFX run for ages without any issue.
The text was updated successfully, but these errors were encountered: