crash caused by SVG text element with matrix transform
Reported by
pa...@inutilfutil.com,
Aug 8 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Steps to reproduce the problem: 1. Go to https://jsfiddle.net/7542rpa6/ 2. Chrome tab takes up all CPU for a while 3. Tab crashes What is the expected behavior? Page doesn't crash, SVG file is shown What went wrong? I'm using a matrix transform to create "3D" effects with SVG images. Sometimes, when the 3d orientation yields a very skewed matrix, chrome crashes. I may be wrong, but as far as I can tell the problem only affects text elements, and the code gets stuck inside FreeType library (in FT_Outline_Render) This is one example SVG element that crashes the page: <svg viewBox="0 0 800 800" height="800" width="800" xmlns="http://www.w3.org/2000/svg" style="font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;font-size:12px;"> <text transform="matrix(0.0001,-0.25,0,1,597.7063184567365,154.06755614742025)"> <tspan>Foobar</tspan> </text> </svg> For context, I'm working on a 3D chart demo based on Highcharts: http://jsfiddle.net/rb31w59p/. Just set the value of Beta to 90.01 and it will crash. Crashed report ID: ba72effc84000000 How much crashed? Just one tab Is it a problem with a plugin? No Did this work before? N/A Chrome version: 59.0.3071.115 Channel: stable OS Version: Ubuntu 17.04 Flash Version:
,
Aug 11 2017
,
Aug 11 2017
The latest version indeed fixes this issue. Thanks!
,
Aug 14 2017
As per comment #3, closing this issue as it no-longer exists. Please feel free to raise a new issue , if any issues faced in latest chrome channels. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by ranjitkan@chromium.org
, Aug 11 2017