Bug 91191

Summary: ASSERT in SVGElement::localAttributeToPropertyMap
Product: WebKit Reporter: Philip Rogers <pdr>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: sabouhallawa, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Description Philip Rogers 2012-07-12 22:03:08 PDT
Created attachment 152154 [details]
Testcase

The following will assert:
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<svg xmlns="http://www.w3.org/2000/svg">
  <altGlyphItem>
    <animate/>
  </altGlyphItem>
</svg>
</body>
</html>

Trace:
SHOULD NEVER BE REACHED
../../third_party/WebKit/Source/WebCore/svg/SVGElement.cpp(554) : virtual WebCore::SVGAttributeToPropertyMap &WebCore::SVGElement::localAttributeToPropertyMap()
1   0x79ad82 WebCore::SVGElement::localAttributeToPropertyMap()
2   0x79985c WebCore::SVGElement::animatedPropertyTypeForAttribute(WebCore::QualifiedName const&, WTF::Vector<WebCore::AnimatedPropertyType, 0ul>&)
3   0x74c5c4 WebCore::SVGAnimateElement::determineAnimatedPropertyType(WebCore::SVGElement*) const
4   0x74ec99 WebCore::SVGAnimateElement::targetElementWillChange(WebCore::SVGElement*, WebCore::SVGElement*)
5   0x8d881d WebCore::SVGSMILElement::targetElement()
6   0x8cb4a8 WebCore::SMILTimeContainer::updateAnimations(WebCore::SMILTime, bool)
7   0x8cb2af WebCore::SMILTimeContainer::begin()
8   0x76ce79 WebCore::SVGDocumentExtensions::startAnimations()
9   0x5b8b904 WebCore::Document::implicitClose()
10  0x1326f82 WebCore::FrameLoader::checkCallImplicitClose()
11  0x1326b2e WebCore::FrameLoader::checkCompleted()
12  0x13256a3 WebCore::FrameLoader::finishedParsing()
13  0x5b9a3a3 WebCore::Document::finishedParsing()
14  0x2e69a3e WebCore::HTMLTreeBuilder::finished()
15  0x2e30371 WebCore::HTMLDocumentParser::end()
16  0x2e2f11f WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd()
17  0x2e2ee5b WebCore::HTMLDocumentParser::prepareToStopParsing()
18  0x2e303f5 WebCore::HTMLDocumentParser::attemptToEnd()
19  0x2e30479 WebCore::HTMLDocumentParser::finish()
20  0x1310555 WebCore::DocumentWriter::end()
21  0x12f4f4c WebCore::DocumentLoader::finishedLoading()
22  0x134ff2b WebCore::MainResourceLoader::didFinishLoading(double)
Comment 1 Said Abou-Hallawa 2019-05-06 15:20:26 PDT
This code path does not exist anymore. It was changed by https://bugs.webkit.org/show_bug.cgi?id=191237.

*** This bug has been marked as a duplicate of bug 191237 ***