-
Bug
-
Resolution: Fixed
-
P2
-
8u161, 10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8198593 | 10u-cpu | Guru Hb | P2 | Resolved | Fixed | master |
JDK-8200634 | 10.0.2 | Guru Hb | P2 | Closed | Fixed | b01 |
JDK-8198594 | 8u192 | Guru Hb | P2 | Resolved | Fixed | b01 |
JDK-8200636 | 8u181 | Guru Hb | P2 | Closed | Fixed | b01 |
JDK-8202147 | 8u172 | Guru Hb | P2 | Closed | Fixed | b32 |
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
and
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.15063]
A DESCRIPTION OF THE PROBLEM :
The JavaFX WebView is very unstable since the latest JRE updates. It's very annoying that the crashes can be reproduced at both java version 8u161 and 8u162.
I thought the idea behind the different versions was that the odd version gets important security fixes and the even version gets a patch-set update....
Our Swing application opens a WebView in a separat JFrame by using the JFXPane. We noticed that the applicatoin crashes if a user switches to another application e.g. Outlook and than back to the WebView by clicking e.g. on a HTML TextField.
The mentioend java frames at the hs_log_pid log files were different at the most crashes:
We tried to write a test program which reproduces the same JVM crash but the crashes were very random.
But in the end we found another way to crash the WebView -> just open http://www.wikipedia.org
REGRESSION. Last worked in version 8u152
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just open http://www.wikipedia.org
ERROR MESSAGES/STACK TRACES THAT OCCUR :
A number of crash files are available at:
https://drive.google.com/open?id=1c-d8spA2Q9GCll9KX9ErREU4Nck1VB5L
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package jfxtest;
import javax.swing.JButton;
import javax.swing.JFrame;
import javafx.application.Platform;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
public class JFXTest
{
public static void main(String[] args)
{
Platform.setImplicitExit(false);
JFrame frame = new JFrame("JFXTest");
frame.setSize(800, 600);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JButton openNewFrameButton = new JButton("Open a new JFrame");
openNewFrameButton.addActionListener(l ->
{
JFrame newFrame = new JFrame("New Frame");
JFXPanel jfxPanel = new JFXPanel();
Platform.runLater(() ->
{
WebView webView = new WebView();
webView.getEngine().load("http://www.wikipedia.org");
Scene scene = new Scene(webView);
jfxPanel.setScene(scene);
});
newFrame.add(jfxPanel);
newFrame.setSize(800, 600);
newFrame.setVisible(true);
newFrame.toFront();
});
frame.add(openNewFrameButton);
frame.setVisible(true);
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8198593 Intermittent crash when using WebView from JFXPanel application
- Resolved
-
JDK-8198594 Intermittent crash when using WebView from JFXPanel application
- Resolved
-
JDK-8200634 Intermittent crash when using WebView from JFXPanel application
- Closed
-
JDK-8200636 Intermittent crash when using WebView from JFXPanel application
- Closed
-
JDK-8202147 Intermittent crash when using WebView from JFXPanel application
- Closed
- duplicates
-
JDK-8205669 JVM Crash after keeping html page open on a JavaFX WebView coomponent
- Closed
- relates to
-
JDK-8196374 windows x86 webview-icu isAlphaNumericString crash
- Resolved
-
JDK-8322703 Intermittent crash in WebView in a JFXPanel from IME calls on macOS
- Resolved
-
JDK-8184016 Text in native popup is not always updated with Sogou IME
- Resolved
-
JDK-8221261 Deadlock on macOS in JFXPanel app when handling IME calls
- Resolved
-
JDK-8199609 Application crash in jfxwebkit.dll when visiting specific website
- Closed