[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 14:30:00 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41175
--- Comment #14 from Cosmin Truta <ctruta at chromium.org> 2010-07-13 14:30:00 PST ---
If I just do the chromium fix, there's another crash in Skia, which, remember, doesn't do zero-sized regions. I wouldn't mind seeing Skia augmented with this capability, though.
The ImageBufferSkia workaround consists of not drawing zero-sized regions at all. This is in the constructor WebCore::ImageBuffer::ImageBuffer(), which you can see in the stack trace below. More precisely, this is happening while calling drawARGB(), which is exactly the thing that I'm avoiding in my solution.
[16945:16945:527293672669:FATAL:third_party/skia/src/core/SkDraw.cpp(265)] third_party/skia/src/core/SkDraw.cpp:265: failed assertion "pixels"
Backtrace:
StackTrace::StackTrace() [0x8bf2e6]
logging::LogMessage::~LogMessage() [0x86354b]
SkDebugf_FileLine() [0x7f2dd1]
CallBitmapXferProc() [0x7a3d83]
SkDraw::drawPaint() [0x7a3f8d]
SkDevice::drawPaint() [0x7a3303]
SkCanvas::drawPaint() [0x79e262]
SkCanvas::drawARGB() [0x79f444]
WebCore::ImageBuffer::ImageBuffer() [0x10478dd]
WebCore::ImageBuffer::create() [0x10503fe]
WebCore::RenderSVGResourceFilter::applyResource() [0x14d5aba]
WebCore::SVGRenderSupport::prepareToRenderSVGContent() [0x14f262d]
WebCore::RenderSVGContainer::paint() [0x1566708]
[...snip...]
--
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