JDK-8328684 : HellowWebView demo crashes when a webpage is scrolled
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: jfx21,jfx22,jfx23
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-03-21
  • Updated: 2025-09-08
  • Resolved: 2025-08-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx17.0.17Fixed
Related Reports
Relates :  
Description
Steps to reproduce -
1) Launch the HelloWebView demo - by default it loads the webpage https://www.oracle.com/java/
2) Wait for the page to be loaded and then start scrolling down

A crash is seen within a few scrolls.

Observed on- macOS 14.3.1 on Intel based macBook with JDK 21.
Also, crashes on Windows too.

Note : Crash is not seen if we specify -Dcom.sun.webkit.useHTTP2Loader=false while launching the HelloWebView demo.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx17u/pull/239 Date: 2025-09-06 08:21:53 +0000
06-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx21u/pull/102 Date: 2025-09-05 20:00:14 +0000
05-09-2025

[jfx25u-fix-request] Approval Request from Hima Bindu Meda This is a clean backport to jfx25u. This is needed in order to maintain same webkit code across all repos
13-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx25u/pull/5 Date: 2025-08-13 06:25:57 +0000
13-08-2025

Changeset: 4a8f3abc Branch: master Author: Hima Bindu Meda <hmeda@openjdk.org> Date: 2025-08-13 04:16:05 +0000 URL: https://git.openjdk.org/jfx/commit/4a8f3abc8ee665d1702df8d0bd63e9f663207ff1
13-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1865 Date: 2025-08-06 17:51:44 +0000
07-08-2025

This crashes on JavaFX 21 GA (WebKit 615.1) and 22 GA (WebKit 616.1) as well. So it seems likely that some recent change in the web site has provoked this. All of my tests were done with JDK 21.0.2, and while I suspect the version of JDK doesn't matter, I will repeat the test with an earlier JDK (e.g., 21 or 20.0.2) just to rule that out. UPDATE: I tested with two earlier JDKs (JDK 19.0.2 and 17.0.1) and the crash is still happening. So it does seem that some recent change in the web site content is now provoking this bug.
21-03-2024