[Webkit-unassigned] [Bug 181316] New: SVGAnimatedListPropertyTearOff::synchronizeWrappersIfNeeded() should do nothing if the property is not animating

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 4 20:36:44 PST 2018


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

            Bug ID: 181316
           Summary: SVGAnimatedListPropertyTearOff::synchronizeWrappersIfN
                    eeded() should do nothing if the property is not
                    animating
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

If SVGAnimatedListPropertyTearOff is not animating this means its m_animatedProperty is null. In this case SVGAnimatedListPropertyTearOff::synchronizeWrappersIfNeeded() should do nothing. Otherwise a crash will happen.

SVGAnimatedListPropertyTearOff::synchronizeWrappersIfNeeded() can now be called from SVGAnimatedTypeAnimator::resetFromBaseValue() and a very intermittent crash with the following call stack was recorded:

WebCore::SVGListProperty<WebCore::SVGTransformListValues>::values()
WebCore::SVGAnimatedListPropertyTearOff<WebCore::SVGTransformListValues>::synchronizeWrappersIfNeeded()
WebCore::SVGAnimatedTypeAnimator::resetFromBaseValue<WebCore::SVGAnimatedTransformListPropertyTearOff>()
WebCore::SVGAnimatedTransformListAnimator::resetAnimValToBaseVal()
WebCore::SVGAnimateElementBase::resetAnimatedType()

The crash was happening because SVGAnimatedListPropertyTearOff::m_animatedProperty is null.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180105/ad8e60de/attachment-0001.html>


More information about the webkit-unassigned mailing list