[Webkit-unassigned] [Bug 141646] Assert should not reached failure in WebCore::lastHyphenLocation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 4 17:01:15 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=141646

Brent Fulgham <bfulgham at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com,
                   |                            |koivisto at iki.fi

--- Comment #2 from Brent Fulgham <bfulgham at webkit.org> ---
We seem to enter an endless loop in WebCore::maxWordFragmentWidth, in the following code:

    while ((hyphenLocation = lastHyphenLocation(word, hyphenLocation, style.locale())) >= minimumPrefixLength)
        hyphenLocations.append(hyphenLocation);

The 'lastHyphenLocation' keeps returning 0, which is >= minimumPrefixLength (which is also zero), and we never get out of the loop.

This problem seems like it's been around for a few years.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160805/e88da1df/attachment-0001.html>


More information about the webkit-unassigned mailing list