[Webkit-unassigned] [Bug 183323] Crash when using different font-feature-settings on a couple of spans. Crashing on exception: -[__NSCFNumber compare:]: nil argument

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 8 01:11:37 PST 2018


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

--- Comment #8 from Nitesh <niteshchordiya at gmail.com> ---
(In reply to Alexey Proskuryakov from comment #5)
> Is there a font that reproduces this that's available for free (ideally
> installed in macOS by default)?
> 
> Sounds like reproducing this will be a challenge, so could you please attach
> a complete crash log file? The part that you posted is helpful, but not
> sufficient.

Thanks for your response. 
One such free and open source font is Fira Sans (SIL Open Font License).  I have attached the same. Please install the 'FiraSans-Regular.otf' font from with zip file and try following sample (Also attached).

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
    Safari Crash Bug
</title>
<meta http-equiv="Content-Type" content="text/html;CHARSET=utf-8"/>
<style type="text/css">
<!--
    .text-openType-Case {
        font-family:'Fira Sans';
        font-feature-settings:"case";
    }
    .text-openType-Numr {
        font-family:'Fira Sans';
        font-feature-settings:"numr";
    }
 -->
</style>
</head>
<body>
<p>
    <span class="text-openType-Case">A</span>
    <span class="text-openType-Numr">1</span>
</p>
</body>
</html>

Also note that I observed Safari crashes if the font is installed on system and It does not crash if I use the same font using font-face rule and the font is not installed on system.

-- 
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/20180308/6176841c/attachment-0001.html>


More information about the webkit-unassigned mailing list