[Webkit-unassigned] [Bug 12065] New: Removing an animation target during animation crashes WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 1 21:12:03 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12065

           Summary: Removing an animation target during animation crashes
                    WebKit
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P1
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org


Removing an animation target during animation crashes WebKit

SVGAnimationElement does not hold its target in a RefPtr.  Thus if you remove
the target during animation, WebKit will crash.

A simple fix is to remove the m_targetElement cache.  The only problem then
becomes un-applying any animations once it's no longer the target of
animations.  Perhaps SVGElement should override setId to clear any animVals on
the object.  Not sure.  That can be tracked with a separate bug after the crash
has been fixed.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list