[Webkit-unassigned] [Bug 54462] New: XSLT with output method HTML and images crashes in debug mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 08:06:41 PST 2011


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

           Summary: XSLT with output method HTML and images crashes in
                    debug mode
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vsevik at chromium.org


If 

1) XML file links to XSLT
2) XSLT has output method set to html
3) Resulting HTML has images

then

Webkit crashes on assertion in debug mode (DocumentParser:56).

ASSERTION FAILED: m_state == ParsingState
.../webkit/Source/WebCore/dom/DocumentParser.cpp(56) : virtual void WebCore::DocumentParser::prepareToStopParsing()
 -> WebCore::DocumentParser::prepareToStopParsing()
 -> WebCore::HTMLDocumentParser::prepareToStopParsing()
 -> WebCore::HTMLDocumentParser::attemptToEnd()
 -> WebCore::HTMLDocumentParser::finish()
 -> WebCore::Document::finishParsing()
 -> WebCore::DocumentWriter::endIfNotLoadingMainResource()
 -> WebCore::Document::explicitClose()
 -> WebCore::Document::setContent(WTF::String const&)
 -> WebCore::XSLTProcessor::createDocumentFromSource(WTF::String const&, WTF::String const&, WTF::String const&, WebCore::Node*, WebCore::Frame*)
 -> WebCore::Document::applyXSLTransform(WebCore::ProcessingInstruction*)
 -> WebCore::Document::recalcStyleSelector()
 -> WebCore::Document::styleSelectorChanged(WebCore::StyleSelectorUpdateFlag)
 -> WebCore::Document::removePendingSheet()
 -> WebCore::ProcessingInstruction::sheetLoaded()
 -> WebCore::XSLStyleSheet::checkLoaded()
 -> WebCore::ProcessingInstruction::parseStyleSheet(WTF::String const&)
 -> WebCore::ProcessingInstruction::setXSLStyleSheet(WTF::String const&, WebCore::KURL const&, WTF::String const&)
 -> WebCore::CachedXSLStyleSheet::checkNotify()
 -> WebCore::CachedXSLStyleSheet::data(WTF::PassRefPtr<WebCore::SharedBuffer>, bool)
 -> WebCore::CachedResourceRequest::didFinishLoading(WebCore::SubresourceLoader*)
 -> WebCore::SubresourceLoader::didFinishLoading(double)
 -> WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, double)
 -> -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]
 -> _NSURLConnectionDidFinishLoading
 -> URLConnectionClient::_clientDidFinishLoading(URLConnectionClient::ClientConnectionEventQueue*)
 -> URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long)
 -> URLConnectionClient::processEvents()
 -> MultiplexerSource::perform()
 -> __CFRunLoopDoSources0
 -> __CFRunLoopRun
 -> CFRunLoopRunSpecific

-- 
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