<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when appending an SVG &lt;use&gt; element dynamically which has animated SVG &lt;path&gt; element"
   href="https://bugs.webkit.org/show_bug.cgi?id=146690#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when appending an SVG &lt;use&gt; element dynamically which has animated SVG &lt;path&gt; element"
   href="https://bugs.webkit.org/show_bug.cgi?id=146690">bug 146690</a>
              from <span class="vcard"><a class="email" href="mailto:sabouhallawa&#64;apple.com" title="Said Abou-Hallawa &lt;sabouhallawa&#64;apple.com&gt;"> <span class="fn">Said Abou-Hallawa</span></a>
</span></b>
        <pre>I was wring about the above call stack. It is just an assertion call stack. But if we comment all the assertion in SVGAnimatedListPropertyTearOff::animValDidChange() and VGAnimatedPathSegListPropertyTearOff::animValDidChange() we get the following crashing call stack which we should hit in a release build:

#0    0x00000001072a2360 in WebCore::SVGListProperty&lt;WebCore::SVGPathSegList&gt;::values() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/properties/SVGListProperty.h:434
#1    0x00000001072a43bd in WebCore::SVGAnimatedListPropertyTearOff&lt;WebCore::SVGPathSegList&gt;::synchronizeWrappersIfNeeded() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:134
#2    0x00000001072a4715 in WebCore::SVGAnimatedListPropertyTearOff&lt;WebCore::SVGPathSegList&gt;::animValDidChange() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h:153
#3    0x00000001072a40c6 in WebCore::SVGAnimatedPathSegListPropertyTearOff::animValDidChange() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:101
#4    0x00000001072a3e87 in void WebCore::SVGAnimatedTypeAnimator::executeAction&lt;WebCore::SVGAnimatedPathSegListPropertyTearOff&gt;(WebCore::SVGAnimatedTypeAnimator::AnimationAction, WTF::Vector&lt;WebCore::SVGElementAnimatedProperties, 0ul, WTF::CrashOnOverflow, 16ul&gt; const&amp;, unsigned int, WebCore::SVGAnimatedPathSegListPropertyTearOff::ContentType*) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/SVGAnimatedTypeAnimator.h:214
#5    0x00000001072a16c7 in void WebCore::SVGAnimatedTypeAnimator::animValDidChangeForType&lt;WebCore::SVGAnimatedPathSegListPropertyTearOff&gt;(WTF::Vector&lt;WebCore::SVGElementAnimatedProperties, 0ul, WTF::CrashOnOverflow, 16ul&gt; const&amp;) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/SVGAnimatedTypeAnimator.h:100
#6    0x00000001072a0288 in WebCore::SVGAnimatedPathAnimator::animValDidChange(WTF::Vector&lt;WebCore::SVGElementAnimatedProperties, 0ul, WTF::CrashOnOverflow, 16ul&gt; const&amp;) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/SVGAnimatedPath.cpp:85
#7    0x00000001072b828c in WebCore::SVGAnimateElementBase::resetAnimatedType() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/SVGAnimateElementBase.cpp:215
#8    0x000000010739fb9f in WebCore::SVGSMILElement::progress(WebCore::SMILTime, WebCore::SVGSMILElement*, bool) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/animation/SVGSMILElement.cpp:1098
#9    0x00000001071352cb in WebCore::SMILTimeContainer::updateAnimations(WebCore::SMILTime, bool) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/animation/SMILTimeContainer.cpp:288
#10    0x000000010713430b in WebCore::SMILTimeContainer::timerFired() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/svg/animation/SMILTimeContainer.cpp:217
#11    0x0000000107138378 in decltype(*(std::__1::forward&lt;WebCore::SMILTimeContainer*&amp;&gt;(fp0)).*fp(std::__1::forward&lt;&gt;(fp1))) std::__1::__invoke&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&amp;, void&gt;(void (WebCore::SMILTimeContainer::*&amp;&amp;&amp;)(), WebCore::SMILTimeContainer*&amp;&amp;&amp;) [inlined] at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/__functional_base:382
#12    0x00000001071382f2 in std::__1::__bind_return&lt;void (WebCore::SMILTimeContainer::*)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;, std::__1::tuple&lt;&gt;, _is_valid_bind_return&lt;void (WebCore::SMILTimeContainer::*)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__apply_functor&lt;void (WebCore::SMILTimeContainer::*)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;, 0ul, std::__1::tuple&lt;&gt; &gt;(void (WebCore::SMILTimeContainer::*&amp;)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;&amp;, std::__1::__tuple_indices&lt;0ul&gt;, std::__1::tuple&lt;&gt;&amp;&amp;) [inlined] at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/functional:2060
#13    0x00000001071382ca in std::__1::__bind_return&lt;void (WebCore::SMILTimeContainer::*)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;, std::__1::tuple&lt;&gt;, _is_valid_bind_return&lt;void (WebCore::SMILTimeContainer::*)(), std::__1::tuple&lt;WebCore::SMILTimeContainer*&gt;, std::__1::tuple&lt;&gt; &gt;::value&gt;::type std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;::operator()&lt;&gt;() [inlined] at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/functional:2123
#14    0x00000001071382ab in decltype(std::__1::forward&lt;std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;&amp;&gt;(fp)(std::__1::forward&lt;&gt;(fp0))) std::__1::__invoke&lt;std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;&amp;&gt;(std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;&amp;&amp;&amp;) [inlined] at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/__functional_base:415
#15    0x00000001071382a0 in void std::__1::__invoke_void_return_wrapper&lt;void&gt;::__call&lt;std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;&amp;&gt;(std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;&amp;&amp;&amp;) at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/__functional_base:440
#16    0x000000010713824c in std::__1::__function::__func&lt;std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt;, std::__1::allocator&lt;std::__1::__bind&lt;void (WebCore::SMILTimeContainer::*&amp;)(), WebCore::SMILTimeContainer*&gt; &gt;, void ()&gt;::operator()() at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/functional:1407
#17    0x000000010542e24a in std::__1::function&lt;void ()&gt;::operator()() const at /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.11.xctoolchain/usr/bin/../include/c++/v1/functional:1793
#18    0x000000010542e16c in WebCore::Timer::fired() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/platform/Timer.h:133
#19    0x0000000107470aba in WebCore::ThreadTimers::sharedTimerFiredInternal() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/platform/ThreadTimers.cpp:132
#20    0x0000000107470779 in WebCore::ThreadTimers::sharedTimerFired() at /Volumes/Data/WebKit/OpenSource/Source/WebCore/platform/ThreadTimers.cpp:107
#21    0x000000010711f8e2 in WebCore::timerFired(__CFRunLoopTimer*, void*) at /Volumes/Data/WebKit/OpenSource/Source/WebCore/platform/cf/SharedTimerCF.cpp:82</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>