[Webkit-unassigned] [Bug 92758] New: [Chromium] Skia assert triggered by custom filter unmultiplied results

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 31 08:19:29 PDT 2012


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

           Summary: [Chromium] Skia assert triggered by custom filter
                    unmultiplied results
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fmalita at chromium.org
                CC: achicu at adobe.com


Enabling color space conversion (https://bugs.webkit.org/show_bug.cgi?id=6033) exposes what appears to be a problem with alpha channel handling in custom filters: Skia uses pre-multiplied buffers internally, but applying custom filters seems to always generate unmultiplied values. This triggers the following assert for css3/filters/custom/effect-custom-parameters.html:

crash log for DumpRenderTree (pid 11776):
STDOUT: <empty>
STDERR: [11776:11776:1562692191948:FATAL:SkColor.h(34)] ../../third_party/skia/include/core/SkColor.h:34: failed assertion "a <= 255 && r <= 255 && g <= 255 && b <= 255"
STDERR: 
STDERR: Backtrace:
STDERR:     base::debug::StackTrace::StackTrace() [0x7fa9573b1eb6]
STDERR:     logging::LogMessage::~LogMessage() [0x7fa9573e5a3f]
STDERR:     SkDebugf_FileLine() [0x7fa957b45df7]
STDERR:     SkColorSetARGBInline() [0x7fa9527673ce]
STDERR:     WebCore::SkPMColorToColor() [0x7fa9527675b0]
STDERR:     WebCore::ImageBuffer::platformTransformColorSpace() [0x7fa95275ae70]
STDERR:     WebCore::ImageBuffer::transformColorSpace() [0x7fa9526fb620]
STDERR:     WebCore::FilterEffectRenderer::apply() [0x7fa951eed886]
STDERR:     WebCore::FilterEffectRendererHelper::applyFilterEffect() [0x7fa951eede78]

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