[Webkit-unassigned] [Bug 226474] New: [GTK] fast/text/letter-spacing-produces-nan-width-crash-log.txt crashes with an assertion
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 31 12:52:23 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=226474
Bug ID: 226474
Summary: [GTK]
fast/text/letter-spacing-produces-nan-width-crash-log.
txt crashes with an assertion
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: agoldmints at igalia.com
CC: bfulgham at webkit.org, dpino at igalia.com,
lmoura at igalia.com, simon.fraser at apple.com,
zalan at apple.com
Created attachment 430210
--> https://bugs.webkit.org/attachment.cgi?id=430210&action=review
Backtrace
Running the test in a debug build of the GTK minibrowser, there is an assertion tripped:
STDERR: ASSERTION FAILED: measuredWidth >= 0
STDERR: ../../Source/WebCore/rendering/ComplexLineLayout.cpp(536) : void WebCore::setLogicalWidthForTextRun(WebCore::RootInlineBox*, WebCore::BidiRun*, WebCore::RenderText&, float, const WebCore::LineInfo&, WebCore::GlyphOverflowAndFallbackFontsMap&, WebCore::VerticalPositionCache&, WebCore::WordMeasurements&)
This test was added in bug221628 and intentionally creates a NaN by combining a very large zoom with a letter-spacing of zero. The bugfix fixed this issue for other platforms by replacing a NaN with 0 in certain places but this is apparently not sufficient for GTK.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210531/a556f9cc/attachment.htm>
More information about the webkit-unassigned
mailing list