Bug 122095

Summary: ASSERTION FAILED: command->spanElement()->inDocument() in WebCore::CompositeEditCommand::replaceElementWithSpanPreservingChildrenAndAttributes
Product: WebKit Reporter: Renata Hodovan <rhodovan.u-szeged>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, bfulgham, eric, justin.garcia, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 116980    
Attachments:
Description Flags
Test case none

Renata Hodovan
Reported 2013-09-30 02:36:42 PDT
The test: <html> <span> <em class="foo"> <iframe onload=" document.designMode=&apos;on&apos;; document.execCommand(&apos;selectall&apos;); document.execCommand(&apos;italic&apos;); document.execCommand(&apos;inserthtml&apos;, false); "></iframe> </em> </span> The belonging backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff56134c6 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:342 342 *(int *)(uintptr_t)0xbbadbeef = 0; (gdb) bt #0 0x00007ffff56134c6 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:342 #1 0x00007ffff419e769 in WebCore::CompositeEditCommand::replaceElementWithSpanPreservingChildrenAndAttributes (this=0x8ea380, node=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:449 #2 0x00007ffff4191bee in WebCore::ApplyStyleCommand::replaceWithSpanOrRemoveIfWithoutAttributes (this=0x8ea380, elem=@0x7fffffff96a8: 0x776d10) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:916 #3 0x00007ffff4191d76 in WebCore::ApplyStyleCommand::removeImplicitlyStyledElement (this=0x8ea380, style=0x8e95d0, element=0x776d10, mode=WebCore::ApplyStyleCommand::RemoveIfNeeded, extractedStyle=0x8bae60) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:932 #4 0x00007ffff4191afe in WebCore::ApplyStyleCommand::removeInlineStyleFromElement (this=0x8ea380, style=0x8e95d0, element=..., mode=WebCore::ApplyStyleCommand::RemoveIfNeeded, extractedStyle=0x8bae60) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:897 #5 0x00007ffff4192749 in WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode (this=0x8ea380, style=0x8e95d0, targetNode=0x8d4b20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:1053 #6 0x00007ffff4192d97 in WebCore::ApplyStyleCommand::removeInlineStyle (this=0x8ea380, style=0x8e95d0, start=..., end=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:1106 #7 0x00007ffff418fd3c in WebCore::ApplyStyleCommand::applyInlineStyle (this=0x8ea380, style=0x8e95d0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:632 #8 0x00007ffff418d12b in WebCore::ApplyStyleCommand::doApply (this=0x8ea380) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/ApplyStyleCommand.cpp:225 #9 0x00007ffff419d1d4 in WebCore::CompositeEditCommand::apply (this=0x8ea380) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:213 #10 0x00007ffff419cfd4 in WebCore::applyCommand (command=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:172 #11 0x00007ffff41c049e in WebCore::Editor::applyStyle (this=0x794b80, style=0x8f4470, editingAction=WebCore::EditActionUnspecified) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/Editor.cpp:762 #12 0x00007ffff41ce7bc in WebCore::applyCommandToFrame (frame=..., source=WebCore::CommandFromDOM, action=WebCore::EditActionItalics, style=0x8f4470) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:112 #13 0x00007ffff41cee59 in WebCore::executeToggleStyle (frame=..., source=WebCore::CommandFromDOM, action=WebCore::EditActionItalics, propertyID=WebCore::CSSPropertyFontStyle, offValue=0x7ffff59bca5c "normal", onValue=0x7ffff59bca63 "italic") at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:173 #14 0x00007ffff41d27e0 in WebCore::executeToggleItalic (frame=..., source=WebCore::CommandFromDOM) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:1115 #15 0x00007ffff41d3c71 in WebCore::Editor::Command::execute (this=0x7fffffff9eb0, parameter=..., triggeringEvent=0x0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:1717 #16 0x00007ffff409e848 in WebCore::Document::execCommand (this=0x89d870, commandName=..., userInterface=false, value=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:4174 #17 0x00007ffff4dcfe99 in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0x7fff95fc0f50) at generated/JSDocument.cpp:2763 #18 0x00007fff9ffff0e5 in ?? () #19 0x00007fffffffa060 in ?? () #20 0x00007ffff674749c in llint_op_call () from /home/reni/Data/REPOS/webkit_sec/WebKitBuild/Debug/lib/libQt5WebKit.so.5 #21 0x00007fff95fc0f98 in ?? () #22 0x0000000000761f28 in ?? () #23 0x00007fffffffa020 in ?? () #24 0x00007ffff541de2f in JSC::JSStack::installTrapsAfterFrame (this=0x0, frame=0x0) at /home/reni/Data/REPOS/webkit_sec/Source/JavaScriptCore/interpreter/JSStackInlines.h:214 #25 0x00007ffff54311e2 in JSC::JITCode::execute (this=0x8d9ab0, stack=0x761f28, callFrame=0x7fff95fc0f98, vm=0x80f5c0) at /home/reni/Data/REPOS/webkit_sec/Source/JavaScriptCore/jit/JITCode.cpp:46 #26 0x00007ffff541ac42 in JSC::Interpreter::executeCall (this=0x761f10, callFrame=0x7fff9c17f9b0, function=0x7fff9c0de4b0, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/reni/Data/REPOS/webkit_sec/Source/JavaScriptCore/interpreter/Interpreter.cpp:963 #27 0x00007ffff5507035 in JSC::call (exec=0x7fff9c17f9b0, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/reni/Data/REPOS/webkit_sec/Source/JavaScriptCore/runtime/CallData.cpp:39 #28 0x00007ffff3e1ccf2 in WebCore::JSMainThreadExecState::call (exec=0x7fff9c17f9b0, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/bindings/js/JSMainThreadExecState.h:53 ---Type <return> to continue, or q <return> to quit--- #29 0x00007ffff3e48e37 in WebCore::JSEventListener::handleEvent (this=0x8bc8f0, scriptExecutionContext=0x89d920, event=0x8dfe20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/bindings/js/JSEventListener.cpp:133 #30 0x00007ffff410c31a in WebCore::EventTarget::fireEventListeners (this=0x8d4b20, event=0x8dfe20, d=0x8e72e0, entry=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventTarget.cpp:277 #31 0x00007ffff410c02d in WebCore::EventTarget::fireEventListeners (this=0x8d4b20, event=0x8dfe20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventTarget.cpp:233 #32 0x00007ffff41389b1 in WebCore::Node::handleLocalEvents (this=0x8d4b20, event=0x8dfe20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Node.cpp:2067 #33 0x00007ffff40fe5a8 in WebCore::EventContext::handleLocalEvents (this=0x8d6a20, event=0x8dfe20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventContext.cpp:58 #34 0x00007ffff410049f in WebCore::EventDispatcher::dispatchEventAtTarget (this=0x7fffffffa6f0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventDispatcher.cpp:160 #35 0x00007ffff410015c in WebCore::EventDispatcher::dispatch (this=0x7fffffffa6f0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventDispatcher.cpp:117 #36 0x00007ffff40fef69 in WebCore::EventDispatchMediator::dispatchEvent (this=0x8fa050, dispatcher=0x7fffffffa6f0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventDispatchMediator.cpp:54 #37 0x00007ffff40ff748 in WebCore::EventDispatcher::dispatchEvent (node=0x8d4b20, mediator=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/EventDispatcher.cpp:51 #38 0x00007ffff4138bc6 in WebCore::Node::dispatchEvent (this=0x8d4b20, event=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Node.cpp:2088 #39 0x00007ffff452f025 in WebCore::DOMWindow::dispatchLoadEvent (this=0x8b77d0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/page/DOMWindow.cpp:1691 #40 0x00007ffff409cdf1 in WebCore::Document::dispatchWindowLoadEvent (this=0x8fb710) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:3647 #41 0x00007ffff4098412 in WebCore::Document::implicitClose (this=0x8fb710) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:2440 #42 0x00007ffff44a9053 in WebCore::FrameLoader::checkCallImplicitClose (this=0x8bf400) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:850 #43 0x00007ffff44a8de7 in WebCore::FrameLoader::checkCompleted (this=0x8bf400) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:793 #44 0x00007ffff44a8b42 in WebCore::FrameLoader::finishedParsing (this=0x8bf400) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:726 #45 0x00007ffff409f62b in WebCore::Document::finishedParsing (this=0x8fb710) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:4439 #46 0x00007ffff42fcd9b in WebCore::HTMLConstructionSite::finishedParsing (this=0x8e32e8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLConstructionSite.cpp:352 #47 0x00007ffff43338f3 in WebCore::HTMLTreeBuilder::finished (this=0x8e32d0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:2908 #48 0x00007ffff43046ec in WebCore::HTMLDocumentParser::end (this=0x8f8fa0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:758 #49 0x00007ffff43047d7 in WebCore::HTMLDocumentParser::attemptToRunDeferredScriptsAndEnd (this=0x8f8fa0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:769 #50 0x00007ffff430341f in WebCore::HTMLDocumentParser::prepareToStopParsing (this=0x8f8fa0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:212 #51 0x00007ffff430481c in WebCore::HTMLDocumentParser::attemptToEnd (this=0x8f8fa0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:781 #52 0x00007ffff43048d5 in WebCore::HTMLDocumentParser::finish (this=0x8f8fa0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:830 #53 0x00007ffff44a0792 in WebCore::DocumentWriter::end (this=0x8f6dc0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentWriter.cpp:245 #54 0x00007ffff4492d46 in WebCore::DocumentLoader::finishedLoading (this=0x8f6d20, finishTime=3483.5659158590001) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:408 #55 0x00007ffff44967e5 in WebCore::DocumentLoader::maybeLoadEmpty (this=0x8f6d20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:1347 #56 0x00007ffff44968f8 in WebCore::DocumentLoader::startLoadingMainResource (this=0x8f6d20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:1359 #57 0x00007ffff44af122 in WebCore::FrameLoader::continueLoadAfterWillSubmitForm (this=0x8bf400) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:2230 ---Type <return> to continue, or q <return> to quit--- #58 0x00007ffff44b1ddc in WebCore::FrameLoader::continueLoadAfterNavigationPolicy (this=0x8bf400, formState=..., shouldContinue=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:2884 #59 0x00007ffff44b1275 in WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy (argument=0x8bf400, request=..., formState=..., shouldContinue=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:2714 #60 0x00007ffff44ca498 in WebCore::PolicyCallback::call (this=0x7fffffffb520, shouldContinue=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/PolicyCallback.cpp:103 #61 0x00007ffff44cb5c5 in WebCore::PolicyChecker::continueAfterNavigationPolicy (this=0x8bd530, policy=WebCore::PolicyUse) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/PolicyChecker.cpp:180 #62 0x00007ffff3a5c3f3 in WebCore::FrameLoaderClientQt::callPolicyFunction (this=0x8cda60, function= (void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7ffff44cb37a <WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=WebCore::PolicyUse) at /home/reni/Data/REPOS/webkit_sec/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:246 #63 0x00007ffff3a622b0 in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction (this=0x8cda60, function= (void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7ffff44cb37a <WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=..., request=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:1287 #64 0x00007ffff44caec6 in WebCore::PolicyChecker::checkNavigationPolicy (this=0x8bd530, request=..., loader=0x8f6d20, formState=..., function=0x7ffff44b1226 <WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>, argument=0x8bf400) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/PolicyChecker.cpp:99 #65 0x00007ffff44abd03 in WebCore::FrameLoader::loadWithDocumentLoader (this=0x8bf400, loader=0x8f6d20, type=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, prpFormState=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:1423 #66 0x00007ffff44ab5e3 in WebCore::FrameLoader::loadWithNavigationAction (this=0x8bf400, request=..., action=..., lockHistory=false, type=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, formState=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:1327 #67 0x00007ffff44aac6f in WebCore::FrameLoader::loadURL (this=0x8bf400, newURL=..., referrer=..., frameName=..., lockHistory=false, newLoadType=WebCore::FrameLoadTypeRedirectWithLockedBackForwardList, event=..., prpFormState=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:1262 #68 0x00007ffff44a9315 in WebCore::FrameLoader::loadURLIntoChildFrame (this=0x770dc0, url=..., referer=..., childFrame=0x8bf370) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/FrameLoader.cpp:878 #69 0x00007ffff3a626fe in WebCore::FrameLoaderClientQt::createFrame (this=0x7ade50, url=..., name=..., ownerElement=0x8d4b20, referrer=..., allowsScrolling=true, marginWidth=-1, marginHeight=-1) at /home/reni/Data/REPOS/webkit_sec/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:1332 #70 0x00007ffff44db07c in WebCore::SubframeLoader::loadSubframe (this=0x771170, ownerElement=0x8d4b20, url=..., name=..., referrer=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubframeLoader.cpp:361 #71 0x00007ffff44dae11 in WebCore::SubframeLoader::loadOrRedirectSubframe (this=0x771170, ownerElement=0x8d4b20, url=..., frameName=..., lockHistory=true, lockBackForwardList=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubframeLoader.cpp:335 #72 0x00007ffff44d9ac7 in WebCore::SubframeLoader::requestFrame (this=0x771170, ownerElement=0x8d4b20, urlString=..., frameName=..., lockHistory=true, lockBackForwardList=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubframeLoader.cpp:89 #73 0x00007ffff4291708 in WebCore::HTMLFrameElementBase::openURL (this=0x8d4b20, lockHistory=true, lockBackForwardList=true) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/HTMLFrameElementBase.cpp:89 #74 0x00007ffff4291b7c in WebCore::HTMLFrameElementBase::setNameAndOpenURL (this=0x8d4b20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/HTMLFrameElementBase.cpp:142 #75 0x00007ffff4291c47 in WebCore::HTMLFrameElementBase::didNotifySubtreeInsertions (this=0x8d4b20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/HTMLFrameElementBase.cpp:173 #76 0x00007ffff4082402 in WebCore::ChildNodeInsertionNotifier::notify (this=0x7fffffffc9b0, node=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/ContainerNodeAlgorithms.h:234 #77 0x00007ffff40853f5 in WebCore::ContainerNode::parserAppendChild (this=0x776d10, newChild=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/ContainerNode.cpp:764 #78 0x00007ffff42fb94a in WebCore::executeTask (task=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLConstructionSite.cpp:97 #79 0x00007ffff42fbd6f in WebCore::HTMLConstructionSite::executeQueuedTasks (this=0x79ce28) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLConstructionSite.cpp:150 #80 0x00007ffff4327382 in WebCore::HTMLTreeBuilder::constructTree (this=0x79ce10, token=0x7fffffffcb20) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:368 #81 0x00007ffff43040de in WebCore::HTMLDocumentParser::constructTreeFromHTMLToken (this=0x76d8f0, rawToken=...) ---Type <return> to continue, or q <return> to quit--- at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:595 #82 0x00007ffff4303d49 in WebCore::HTMLDocumentParser::pumpTokenizer (this=0x76d8f0, mode=WebCore::HTMLDocumentParser::AllowYield) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:552 #83 0x00007ffff4303539 in WebCore::HTMLDocumentParser::pumpTokenizerIfPossible (this=0x76d8f0, mode=WebCore::HTMLDocumentParser::AllowYield) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:236 #84 0x00007ffff430461f in WebCore::HTMLDocumentParser::append (this=0x76d8f0, inputSource=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/html/parser/HTMLDocumentParser.cpp:742 #85 0x00007ffff408be6a in WebCore::DecodedDataDocumentParser::flush (this=0x76d8f0, writer=0x6d7bd0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/DecodedDataDocumentParser.cpp:60 #86 0x00007ffff44a075f in WebCore::DocumentWriter::end (this=0x6d7bd0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentWriter.cpp:242 #87 0x00007ffff4492d46 in WebCore::DocumentLoader::finishedLoading (this=0x6d7b30, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:408 #88 0x00007ffff4492ab4 in WebCore::DocumentLoader::notifyFinished (this=0x6d7b30, resource=0x77e250) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/DocumentLoader.cpp:345 #89 0x00007ffff4479bcc in WebCore::CachedResource::checkNotify (this=0x77e250) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:369 #90 0x00007ffff4479ca6 in WebCore::CachedResource::finishLoading (this=0x77e250) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedResource.cpp:385 #91 0x00007ffff4476360 in WebCore::CachedRawResource::finishLoading (this=0x77e250, data=0x781b10) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/cache/CachedRawResource.cpp:94 #92 0x00007ffff44dcc2d in WebCore::SubresourceLoader::didFinishLoading (this=0x7823e0, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/SubresourceLoader.cpp:283 #93 0x00007ffff44d34e7 in WebCore::ResourceLoader::didFinishLoading (this=0x7823e0, finishTime=0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/loader/ResourceLoader.cpp:489 #94 0x00007ffff49954b5 in WebCore::QNetworkReplyHandler::finish (this=0x7863a0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:516 #95 0x00007ffff49940dd in WebCore::QNetworkReplyHandlerCallQueue::flush (this=0x7863d8) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:250 #96 0x00007ffff4993ddb in WebCore::QNetworkReplyHandlerCallQueue::push (this=0x7863d8, method= (void (WebCore::QNetworkReplyHandler::*)(WebCore::QNetworkReplyHandler * const)) 0x7ffff49952fa <WebCore::QNetworkReplyHandler::finish()>) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:216 #97 0x00007ffff4994da8 in WebCore::QNetworkReplyWrapper::didReceiveFinished (this=0x7bd2d0) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:409 #98 0x00007ffff4997728 in WebCore::QNetworkReplyWrapper::qt_static_metacall (_o=0x7bd2d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffd240) at .moc/release-shared/moc_QNetworkReplyHandler.cpp:175 #99 0x00007ffff1d9ed71 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #100 0x00007ffff1da033e in QObject::event(QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #101 0x00007ffff2c6ea24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Widgets.so.5 #102 0x00007ffff2c71eb6 in QApplication::notify(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Widgets.so.5 #103 0x00007ffff1d778f4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #104 0x00007ffff1d7a1a9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #105 0x00007ffff1dc19c3 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #106 0x00007fffeeb88d53 in g_main_dispatch (context=0x656e00) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539 #107 g_main_context_dispatch (context=0x656e00) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075 #108 0x00007fffeeb890a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x656e00, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146 #109 g_main_context_iterate (context=0x656e00, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083 #110 0x00007fffeeb89164 in g_main_context_iteration (context=0x656e00, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207 #111 0x00007ffff1dc1e04 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #112 0x00007ffff1d7668b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 ---Type <return> to continue, or q <return> to quit--- #113 0x00007ffff1d7a6de in QCoreApplication::exec() () from /usr/local/Trolltech/Qt5/Qt-5.1.1/lib/libQt5Core.so.5 #114 0x0000000000420da0 in launcherMain (app=...) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:50 #115 0x0000000000422880 in main (argc=2, argv=0x7fffffffdf18) at /home/reni/Data/REPOS/webkit_sec/Tools/QtTestBrowser/qttestbrowser.cpp:319
Attachments
Test case (280 bytes, text/html)
2013-09-30 02:37 PDT, Renata Hodovan
no flags
Renata Hodovan
Comment 1 2013-09-30 02:37:46 PDT
Created attachment 212967 [details] Test case
Brent Fulgham
Comment 2 2016-08-03 13:07:10 PDT
This is still reproducible in r204037.
Radar WebKit Bug Importer
Comment 3 2016-08-03 13:09:30 PDT
Ahmad Saleem
Comment 4 2023-01-20 10:46:06 PST
I am not able to reproduce this assert failed using attached test on MiniBrowser WK2 Debug build based of 259136@main.
Brent Fulgham
Comment 5 2024-01-22 15:14:37 PST
Closing based on Ahmad's testing.
Note You need to log in before you can comment on or make changes to this bug.