JDK-8161137 : Assertion fails with https://html-online.com/editor/
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-07-11
  • Updated: 2016-07-13
  • Resolved: 2016-07-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.
8u112Fixed 9Fixed
1) Run HelloWebView.java with https://html-online.com/editor/ in debug mode.
Assertion failure will occur, with below logs.
D:\wincode\rt\modules\web\src\main\native\Source\WebCore\platform\graphics\WidthIterator.cpp(102) : WebCore::applyFontTransforms
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (os_windows_x86.cpp:144), pid=8844, tid=7180
#  guarantee(result == EXCEPTION_CONTINUE_EXECUTION) failed: Unexpected result from topLevelExceptionFilter
# JRE version: Java(TM) SE Runtime Environment (9.0+109) (build 9-ea+109-2016-03-09-175201.javare.4620)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+109-2016-03-09-175201.javare.4620, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
# An error report file with more information is saved as:
# D:\wincode\rt\apps\toys\Hello\src\main\java\hello\hs_err_pid8844.log
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
ASSERTION FAILED: typesettingFeatures & (Kerning | Ligatures)

Changeset: 0baa20e35be2 Author: asrivastava Date: 2016-07-13 16:18 +0530 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/0baa20e35be2


lgtm +1


Please review the changeset : http://cr.openjdk.java.net/~asrivastava/8161137/webrev.00/ Took reference from Webkit patch 189557. https://trac.webkit.org/changeset/189557 Tested on Win 64 no, assertion failure with https://html-online.com/editor/. Also compiled the code on Linux64 and Mac.

Debugging to find the root cause