[Webkit-unassigned] [Bug 41175] Some SVGs with empty <g> elements crash Chromium on Linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 27 09:46:23 PDT 2010


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





--- Comment #37 from Cosmin Truta <ctruta at chromium.org>  2010-07-27 09:46:22 PST ---
(In reply to comment #36)
> I dislike just fixing it on skia. It should be fixed globaly. It the <g> is empty, it's strokeRect should be empty too and filtering should stop.
> So a check check should be added if the bufferRect is empty as well and return earlier: http://trac.webkit.org/browser/trunk/WebCore/rendering/RenderSVGResourceFilter.cpp#L205

Dirk, doing that was my first impulse, at the very beginning. But after reading that filtering empty <g> isn't necessarily expected to produce an empty output, I backed down. I was only imagining that, because I haven't actually found a good SVG counterexample.

But I did try your suggestion now, and it does indeed work incorrectly. It is regressing svg/batik/filters/filterRegions.svg, even though that test doesn't even have <g> elements. I will attach the expected and actual rendered output images.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list