Summary: | ASSERTION FAILED: typesettingFeatures & (Kerning | Ligatures) in WebCore::applyFontTransforms | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||||||
Component: | WebCore Misc. | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | agomez, cgarcia, clopez, mcatanzaro, mmaxfield | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | PC | ||||||||||
OS: | Linux | ||||||||||
Attachments: |
|
This also happens on https://www.scaleway.com/pricing/ (Uploaded copy of the site, just in case it changes to http://people.igalia.com/clopez/wkbug/146194/ ) Unfortunately http://people.igalia.com/clopez/wkbug/146194/ doesn't cause an assert in a debug build on Yosemite as of r189543 :( I'm also not getting an assert on http://www.vox.com/ :( From inspection, it must be that the following is true glyphBuffer && glyphBuffer->size() == lastGlyphCount + 1 && isSoftBankEmoji(previousCharacter) but there are no m_typesettingFeatures. This is a case where the assert is wrong. Created attachment 260871 [details]
Patch
Comment on attachment 260871 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260871&action=review > Source/WebCore/ChangeLog:10 > + No new tests because there is no behavior change. This isn't quite true. I should still create a test. Created attachment 260874 [details]
Patch
Comment on attachment 260874 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260874&action=review > Source/WebCore/platform/graphics/WidthIterator.cpp:105 > + if (glyphBuffer && glyphBuffer->size() == lastGlyphCount + 1 && isSoftBankEmoji(previousCharacter)) Could you put () around lastGlyphCount + 1? Committed r189557: <http://trac.webkit.org/changeset/189557> *** Bug 150638 has been marked as a duplicate of this bug. *** |
Created attachment 255326 [details] backtrace ASSERTION FAILED: typesettingFeatures & (Kerning | Ligatures) In WebCore::applyFontTransforms, at ../../Source/WebCore/platform/graphics/WidthIterator.cpp:102, loading www.vox.com on a debug build of master, GTK port. Seems to happen 100%. Backtrace attached.