[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 13 09:04:21 PDT 2010


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





--- Comment #12 from Brett Wilson (Google) <brettw at chromium.org>  2010-07-13 09:04:20 PST ---
I don't understand what this has to do with the call to m_data.m_canvas.drawARGB that you're changing. The crash is an assert happening somewhere else. This draw call looks to me like it works fine. Why isn't the solution to fix getImageData. In fact, it looks like the function would work perfectly if we just removed the assert (normally we don't check the pixel format since we never use any other pixel format).

>From what I can see, Skia is perfectly happy with empty bitmaps, doesn't crash, and handles them in a consistent way. The problem is in our code that reads pixels out. It's possible the best solution to ensure we don't have empty bitmaps since our code might not handle this in too many cases, but it seems like that's a slightly different question than you're trying to solve here. I could be missing a Skia failure, though.

-- 
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