[Webkit-unassigned] [Bug 79004] New: SVG assert during SkScalerContext_FreeType::generateFontMetrics()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 19 17:13:44 PST 2012


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

           Summary: SVG assert during
                    SkScalerContext_FreeType::generateFontMetrics()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pdr at google.com
                CC: zimmermann at kde.org


Created an attachment (id=127746)
 --> (https://bugs.webkit.org/attachment.cgi?id=127746&action=review)
Test case

The following will hit an assert during generateFontMetrics:
<svg xmlns="http://www.w3.org/2000/svg" width="100px" height="100px">
  <text style="font-size:32546px;" y="1" x="1">N</text>
</svg>

Assert details and backtrace:
[19177:19177:107659911367:FATAL:Sk64.h(38)] ../../third_party/skia/include/core/Sk64.h:38: failed assertion "this->is32()"
Backtrace:
    base::debug::StackTrace::StackTrace() [0x15af9c6]
    logging::LogMessage::~LogMessage() [0x15daabc]
    SkDebugf_FileLine() [0x2e817bf]
    Sk64::get32() [0x2b0b13f]
    SkMulDiv() [0x2dda7c7]
    SkScalerContext_FreeType::generateFontMetrics() [0x2e7e157]
    SkScalerContext::getFontMetrics() [0x2e0a091]
    SkGlyphCache::SkGlyphCache() [0x2dd739f]
    SkGlyphCache::VisitCache() [0x2dd853a]
    FontMetricsDescProc() [0x2de5901]
    SkPaint::descriptorProc() [0x2de6bea]
    SkPaint::getFontMetrics() [0x2de5a0f]
    WebCore::SimpleFontData::platformInit() [0x3190b07]
    WebCore::SimpleFontData::SimpleFontData() [0x3123c4e]
    WebCore::FontCache::getCachedFontData() [0x30e326b]
    WebCore::FontCache::getCachedFontData() [0x30e30dd]
    WebCore::fontDataForGenericFamily() [0x2031bb2]
    WebCore::CSSFontSelector::getFontData() [0x2031ffe]
    WebCore::FontCache::getFontData() [0x30e3ca2]
    WebCore::FontFallbackList::fontDataAt() [0x30efedf]
    WebCore::FontFallbackList::primaryFontData() [0x13faf6a]
    WebCore::FontFallbackList::primarySimpleFontData() [0x13faf16]
    WebCore::Font::primaryFont() [0x13fb03a]
    WebCore::textRunNeedsRenderingContext() [0x22b6c48]
    WebCore::SVGTextMetrics::constructTextRun() [0x22b6521]
    WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer() [0x22b7503]
    WebCore::SVGTextMetricsBuilder::measureTextRenderer() [0x22b76d6]
    WebCore::SVGTextMetricsBuilder::walkTree() [0x22b7ade]
    WebCore::SVGTextMetricsBuilder::measureTextRenderer() [0x22b7be6]
    WebCore::SVGTextLayoutAttributesBuilder::rebuildMetricsForWholeTree() [0x22af9f3]
    WebCore::RenderSVGText::rebuildLayoutAttributes() [0x22a45de]
    WebCore::RenderSVGText::layout() [0x22a3669]
    WebCore::SVGRenderSupport::layoutChildren() [0x21b985e]
    WebCore::RenderSVGRoot::layout() [0x21b6735]
        [ ... 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