[Webkit-unassigned] [Bug 78979] New: SVG assert in SkPathMeasure::buildSegments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 18 16:27:16 PST 2012


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

           Summary: SVG assert in SkPathMeasure::buildSegments
           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=127719)
 --> (https://bugs.webkit.org/attachment.cgi?id=127719&action=review)
Test case

The following will hit an assert in buildSegments:
<svg xmlns="http://www.w3.org/2000/svg" height="100" width="100">
<path style="stroke-dasharray:1" stroke="#000" d="M1,1 l-2.58-2.828-3.82-0.113, 1.9-3.3223-1.08-3.6702, 3.75,0.7744,3.16-2.1551,0.42,3.8008,3.02,2.3384-3.48,1.574-1.29,3.601z"/>
</svg>

Assert details and backtrace:
[2586:2586:18949573090:FATAL:SkPathMeasure.cpp(218)] ../../third_party/skia/src/core/SkPathMeasure.cpp:218: failed assertion "seg->fDistance > distance"

Backtrace:
    base::debug::StackTrace::StackTrace() [0x15af9c6]
    logging::LogMessage::~LogMessage() [0x15daabc]
    SkDebugf_FileLine() [0x2e817bf]
    SkPathMeasure::buildSegments() [0x2df1ece]
    SkPathMeasure::getLength() [0x2df2b08]
    SkPathMeasure::isClosed() [0x2df3306]
    SkDashPathEffect::filterPath() [0x2ed234f]
    SkPaint::getFillPath() [0x2de7862]
    WebCore::Path::strokeBoundingRect() [0x318dc2e]
    WebCore::RenderSVGShape::inflateWithStrokeAndMarkerBounds() [0x22a1967]
        [ ... 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