Open Bug 538815 Opened 15 years ago Updated 2 years ago

"ASSERTION: This is unsafe!" when clicking loading youtube page.

Categories

(Core :: DOM: Events, defect, P5)

x86
Linux
defect

Tracking

()

People

(Reporter: jst, Assigned: smaug)

Details

(Whiteboard: [platform-rel-Youtube])

Just hit this when loading a random video on youtube. This assertion was added by Olli in bug 531176, so assigning to Olli to begin with. #2 0x00007f84ab7290b7 in NS_DebugBreak_P (aSeverity=1, aStr= 0x7f84abac5549 "This is unsafe!", aExpr=0x7f84abac5543 "Error", aFile= 0x7f84abac5340 "../../../../mozilla/content/events/src/nsEventDispatcher.cpp", aLine=485) at ../../../mozilla/xpcom/base/nsDebugImpl.cpp:360 #3 0x00007f84aaabc59f in nsEventDispatcher::Dispatch (aTarget=0x7f8494a2e4c0, aPresContext=0x7f8494b9ac00, aEvent=0x7f84931aea40, aDOMEvent= 0x7f848b922440, aEventStatus=0x7fff5fadba1c, aCallback=0x0, aTargets=0x0) at ../../../../mozilla/content/events/src/nsEventDispatcher.cpp:485 #4 0x00007f84aaabd01e in nsEventDispatcher::DispatchDOMEvent (aTarget= 0x7f8494a2e4c0, aEvent=0x0, aDOMEvent=0x7f848b922440, aPresContext= 0x7f8494b9ac00, aEventStatus=0x7fff5fadba1c) at ../../../../mozilla/content/events/src/nsEventDispatcher.cpp:663 #5 0x00007f84aaa93dda in nsEventListenerManager::DispatchEvent (this= 0x7f8491353ea0, aEvent=0x7f848b922440, _retval=0x7fff5fadbb0c) at ../../../../mozilla/content/events/src/nsEventListenerManager.cpp:1300 #6 0x00007f84aa9f4ef0 in nsDOMEventRTTearoff::DispatchEvent (this= 0x7f848dcab730, aEvt=0x7f848b922440, _retval=0x7fff5fadbb0c) at ../../../../mozilla/content/base/src/nsGenericElement.cpp:1695 #7 0x00007f84aa406394 in nsIDOMEventTarget_DispatchEvent (cx=0x7f8496be6c00, argc=1, vp=0x7f84967d1230) at dom_quickstubs.cpp:10172 #8 0x00007f84a99d6230 in js_Interpret (cx=0x7f8496be6c00) at ../../../mozilla/js/src/jsops.cpp:2263 #9 0x00007f84a99eab1b in js_Invoke (cx=0x7f8496be6c00, argc=1, vp= 0x7f84967d11f0, flags=0) at ../../../mozilla/js/src/jsinterp.cpp:1384 #10 0x00007f84a99eae09 in js_InternalInvoke (cx=0x7f8496be6c00, obj= 0x7f849b306840, fval=140207516051840, flags=0, argc=1, argv= 0x7fff5fadc788, rval=0x7fff5fadc788) at ../../../mozilla/js/src/jsinterp.cpp:1439 #11 0x00007f84a99eaf4e in js_InternalGetOrSet (cx=0x7f8496be6c00, obj= 0x7f849b306840, id=140207804012996, fval=140207516051840, mode= JSACC_WRITE, argc=1, argv=0x7fff5fadc788, rval=0x7fff5fadc788) at ../../../mozilla/js/src/jsinterp.cpp:1476 #12 0x00007f84a9a0ab0f in JSScopeProperty::set (this=0x7f84946bd010, cx= 0x7f8496be6c00, obj=0x7f849b306840, vp=0x7fff5fadc788) at ../../../mozilla/js/src/jsscope.h:853 #13 0x00007f84a9a03c61 in js_NativeSet (cx=0x7f8496be6c00, obj=0x7f849b306840, sprop=0x7f84946bd010, added=false, vp=0x7fff5fadc788) at ../../../mozilla/js/src/jsobj.cpp:4404 #14 0x00007f84a99d33cb in js_Interpret (cx=0x7f8496be6c00) at ../../../mozilla/js/src/jsops.cpp:1763 #15 0x00007f84a99eab1b in js_Invoke (cx=0x7f8496be6c00, argc=6, vp= 0x7f84967d1038, flags=0) at ../../../mozilla/js/src/jsinterp.cpp:1384 #16 0x00007f84aa3ad7a1 in nsXPCWrappedJSClass::CallMethod (this= 0x7f8492ff3100, wrapper=0x7f8492fb3200, methodIndex=4, info= 0x7f8499ad82d0, nativeParams=0x7fff5fadd580) at ../../../../../mozilla/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1696 #17 0x00007f84aa3a485d in nsXPCWrappedJS::CallMethod (this=0x7f8492fb3200, methodIndex=4, info=0x7f8499ad82d0, params=0x7fff5fadd580) at ../../../../../mozilla/js/src/xpconnect/src/xpcwrappedjs.cpp:570 #18 0x00007f84ab734a93 in PrepareAndDispatch (self=0x7f8492fe2840, methodIndex= 4, args=0x7fff5fadd710, gpregs=0x7fff5fadd690, fpregs=0x7fff5fadd6c0) at ../../../../../../../mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:153 #19 0x00007f84ab734b1f in SharedStub () at ../../../../../../../mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp:159 #20 0x00007f84ab2dabac in nsBrowserStatusFilter::MaybeSendProgress (this= 0x7f849465ef70) at ../../../../mozilla/xpfe/browser/src/nsBrowserStatusFilter.cpp:343 #21 0x00007f84ab2da759 in nsBrowserStatusFilter::OnProgressChange (this= 0x7f849465ef70, aWebProgress=0x0, aRequest=0x0, aCurSelfProgress=0, aMaxSelfProgress=0, aCurTotalProgress=6, aMaxTotalProgress=11) at ../../../../mozilla/xpfe/browser/src/nsBrowserStatusFilter.cpp:214 #22 0x00007f84ab2da508 in nsBrowserStatusFilter::OnStateChange (this= 0x7f849465ef70, aWebProgress=0x7f8494665428, aRequest=0x7f848af35560, aStateFlags=65552, aStatus=0) at ../../../../mozilla/xpfe/browser/src/nsBrowserStatusFilter.cpp:152 #23 0x00007f84ab12e3ba in nsDocLoader::FireOnStateChange (this=0x7f8494665400, aProgress=0x7f8494665428, aRequest=0x7f848af35560, aStateFlags=65552, aStatus=0) at ../../../mozilla/uriloader/base/nsDocLoader.cpp:1314 #24 0x00007f84ab12cfbb in nsDocLoader::doStopURLLoad (this=0x7f8494665400, request=0x7f848af35560, aStatus=0) at ../../../mozilla/uriloader/base/nsDocLoader.cpp:891 #25 0x00007f84ab12c811 in nsDocLoader::OnStopRequest (this=0x7f8494665400, aRequest=0x7f848af35560, aCtxt=0x0, aStatus=0) at ../../../mozilla/uriloader/base/nsDocLoader.cpp:686 #26 0x00007f84aa467885 in nsLoadGroup::RemoveRequest (this=0x7f84947b7740, request=0x7f848af35560, ctxt=0x0, aStatus=0) at ../../../../mozilla/netwerk/base/src/nsLoadGroup.cpp:680 #27 0x00007f84aa65c81d in imgRequestProxy::RemoveFromLoadGroup (this= 0x7f848af35560, releaseLoadGroup=1) at ../../../../mozilla/modules/libpr0n/src/imgRequestProxy.cpp:194 #28 0x00007f84aa65ddb7 in imgRequestProxy::OnStopRequest (this=0x7f848af35560, request=0x0, ctxt=0x0, statusCode=5505024, lastPart=1) at ../../../../mozilla/modules/libpr0n/src/imgRequestProxy.cpp:645 #29 0x00007f84aa657623 in imgRequest::NotifyProxyListener (this= 0x7f848b9f5260, proxy=0x7f848af35560) at ../../../../mozilla/modules/libpr0n/src/imgRequest.cpp:310 #30 0x00007f84aa64f5a3 in imgLoader::LoadImage (this=0x7f8496a5f380, aURI= 0x7f848dc07f30, aInitialDocumentURI=0x7f848b5c02f0, aReferrerURI= 0x7f848b5c1b50, aLoadGroup=0x7f84947b7740, aObserver=0x0, aCX= 0x7f848b6c9000, aLoadFlags=0, aCacheKey=0x0, aRequest=0x0, _retval= 0x7f848afa8488) at ../../../../mozilla/modules/libpr0n/src/imgLoader.cpp:1503 #31 0x00007f84aa984e47 in nsContentUtils::LoadImage (aURI=0x7f848dc07f30, aLoadingDocument=0x7f848b6c9000, aLoadingPrincipal=0x7f848ddd2e00, aReferrer=0x7f848b5c1b50, aObserver=0x0, aLoadFlags=0, aRequest= 0x7f848afa8488) at ../../../../mozilla/content/base/src/nsContentUtils.cpp:2477 #32 0x00007f84aa876205 in nsCSSValue::Image::Image (this=0x7f848afa8460, aURI= 0x7f848dc07f30, aString=0x7f848dd5f470, aReferrer=0x7f848b5c1b50, aOriginPrincipal=0x7f848ddd2e00, aDocument=0x7f848b6c9000) at ../../../mozilla/layout/style/nsCSSValue.cpp:561 #33 0x00007f84aa875a9c in nsCSSValue::StartImageLoad (this=0x7f848dd7a4e0, aDocument=0x7f848b6c9000) at ../../../mozilla/layout/style/nsCSSValue.cpp:431 #34 0x00007f84aa818994 in TryToStartImageLoadOnValue (aValue=..., aDocument= 0x7f848b6c9000) at ../../../mozilla/layout/style/nsCSSDataBlock.cpp:181 #35 0x00007f84aa818ac1 in TryToStartImageLoad (aValue=..., aDocument= 0x7f848b6c9000, aProperty=eCSSProperty_background_image) at ../../../mozilla/layout/style/nsCSSDataBlock.cpp:202 #36 0x00007f84aa8190a6 in nsCSSCompressedDataBlock::MapRuleInfoInto (this= 0x7f848dddfc00, aRuleData=0x7fff5fade450) at ../../../mozilla/layout/style/nsCSSDataBlock.cpp:308 #37 0x00007f84aa868dda in CSSStyleRuleImpl::MapRuleInfoInto (this= 0x7f848dd6ce80, aRuleData=0x7fff5fade450) at ../../../mozilla/layout/style/nsCSSStyleRule.cpp:1506 #38 0x00007f84aa89bb08 in nsRuleNode::WalkRuleTree (this=0x7f848b63a400, aSID= eStyleStruct_Background, aContext=0x7f848b63a448, aRuleData= 0x7fff5fade450, aSpecificData=0x7fff5fade4e0) at ../../../mozilla/layout/style/nsRuleNode.cpp:1945 #39 0x00007f84aa89ad50 in nsRuleNode::GetBackgroundData (this=0x7f848b63a400, aContext=0x7f848b63a448) at ../../../mozilla/layout/style/nsRuleNode.cpp:1666 #40 0x00007f84aa8abbbd in nsRuleNode::GetStyleBackground (this=0x7f848b63a400, aContext=0x7f848b63a448, aComputeData=1) at ../../../mozilla/layout/style/nsStyleStructList.h:79 #41 0x00007f84aa8bdaa5 in nsStyleContext::GetStyleBackground (this= 0x7f848b63a448) at ../../../mozilla/layout/style/nsStyleStructList.h:79 #42 0x00007f84aa68621a in nsCSSFrameConstructor::ConstructFramesFromItem (this= 0x7f848debee10, aState=..., aIter=..., aParentFrame=0x7f848b63a6e8, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:5404 #43 0x00007f84aa68f26f in nsCSSFrameConstructor::ConstructFramesFromItemList ( this=0x7f848debee10, aState=..., aItems=..., aParentFrame=0x7f848b63a6e8, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:8986 #44 0x00007f84aa6921e3 in nsCSSFrameConstructor::ConstructInline (this= 0x7f848debee10, aState=..., aItem=..., aParentFrame=0x7f848b924c48, aDisplay=0x7f848b920430, aFrameItems=..., aNewFrame=0x7fff5fade950) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:10251 #45 0x00007f84aa68282b in nsCSSFrameConstructor::ConstructFrameFromItemInternal (this=0x7f848debee10, aItem=..., aState=..., aParentFrame=0x7f848b924c48, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:3708 #46 0x00007f84aa6862ac in nsCSSFrameConstructor::ConstructFramesFromItem (this= 0x7f848debee10, aState=..., aIter=..., aParentFrame=0x7f848b924c48, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:5428 #47 0x00007f84aa68f26f in nsCSSFrameConstructor::ConstructFramesFromItemList ( this=0x7f848debee10, aState=..., aItems=..., aParentFrame=0x7f848b924c48, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:8986 #48 0x00007f84aa68f8d4 in nsCSSFrameConstructor::ProcessChildren (this= 0x7f848debee10, aState=..., aContent=0x7f848af354c0, aStyleContext= 0x7f848b924bb0, aFrame=0x7f848b924c48, aCanHaveGeneratedContent=1, aFrameItems=..., aAllowBlockStyles=1, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:9094 #49 0x00007f84aa691fea in nsCSSFrameConstructor::ConstructBlock (this= 0x7f848debee10, aState=..., aDisplay=0x7f848b621510, aContent= 0x7f848af354c0, aParentFrame=0x7f848b924950, aContentParentFrame= 0x7f848b924950, aStyleContext=0x7f848b924bb0, aNewFrame=0x7fff5fadf0e0, aFrameItems=..., aAbsPosContainer=0, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:10145 #50 0x00007f84aa6841f7 in nsCSSFrameConstructor::ConstructNonScrollableBlock ( this=0x7f848debee10, aState=..., aItem=..., aParentFrame=0x7f848b924950, aDisplay=0x7f848b621510, aFrameItems=..., aNewFrame=0x7fff5fadf0e0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:4507 #51 0x00007f84aa68282b in nsCSSFrameConstructor::ConstructFrameFromItemInternal (this=0x7f848debee10, aItem=..., aState=..., aParentFrame=0x7f848b924950, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:3708 #52 0x00007f84aa6862ac in nsCSSFrameConstructor::ConstructFramesFromItem (this= 0x7f848debee10, aState=..., aIter=..., aParentFrame=0x7f848b924950, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:5428 #53 0x00007f84aa68f26f in nsCSSFrameConstructor::ConstructFramesFromItemList ( this=0x7f848debee10, aState=..., aItems=..., aParentFrame=0x7f848b924950, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:8986 #54 0x00007f84aa68f8d4 in nsCSSFrameConstructor::ProcessChildren (this= 0x7f848debee10, aState=..., aContent=0x7f848af35470, aStyleContext= 0x7f848b924020, aFrame=0x7f848b924950, aCanHaveGeneratedContent=1, aFrameItems=..., aAllowBlockStyles=1, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:9094 #55 0x00007f84aa691fea in nsCSSFrameConstructor::ConstructBlock (this= 0x7f848debee10, aState=..., aDisplay=0x7f848b621510, aContent= 0x7f848af35470, aParentFrame=0x7f848b920ad0, aContentParentFrame= 0x7f848b920ad0, aStyleContext=0x7f848b924020, aNewFrame=0x7fff5fadf870, aFrameItems=..., aAbsPosContainer=0, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:10145 #56 0x00007f84aa6841f7 in nsCSSFrameConstructor::ConstructNonScrollableBlock ( this=0x7f848debee10, aState=..., aItem=..., aParentFrame=0x7f848b920ad0, aDisplay=0x7f848b621510, aFrameItems=..., aNewFrame=0x7fff5fadf870) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:4507 #57 0x00007f84aa68282b in nsCSSFrameConstructor::ConstructFrameFromItemInternal (this=0x7f848debee10, aItem=..., aState=..., aParentFrame=0x7f848b920ad0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:3708 #58 0x00007f84aa6862ac in nsCSSFrameConstructor::ConstructFramesFromItem (this= 0x7f848debee10, aState=..., aIter=..., aParentFrame=0x7f848b920ad0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:5428 #59 0x00007f84aa68f26f in nsCSSFrameConstructor::ConstructFramesFromItemList ( this=0x7f848debee10, aState=..., aItems=..., aParentFrame=0x7f848b920ad0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:8986 #60 0x00007f84aa68f8d4 in nsCSSFrameConstructor::ProcessChildren (this= 0x7f848debee10, aState=..., aContent=0x7f848bb5ab20, aStyleContext= 0x7f848b9206d0, aFrame=0x7f848b920ad0, aCanHaveGeneratedContent=1, aFrameItems=..., aAllowBlockStyles=1, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:9094 #61 0x00007f84aa691fea in nsCSSFrameConstructor::ConstructBlock (this= 0x7f848debee10, aState=..., aDisplay=0x7f848b920720, aContent= 0x7f848bb5ab20, aParentFrame=0x7f848b91eed0, aContentParentFrame= 0x7f848b91eed0, aStyleContext=0x7f848b9206d0, aNewFrame=0x7fff5fae0000, aFrameItems=..., aAbsPosContainer=0, aPendingBinding=0x0) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:10145 #62 0x00007f84aa6841f7 in nsCSSFrameConstructor::ConstructNonScrollableBlock ( this=0x7f848debee10, aState=..., aItem=..., aParentFrame=0x7f848b91eed0, aDisplay=0x7f848b920720, aFrameItems=..., aNewFrame=0x7fff5fae0000) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:4507 #63 0x00007f84aa68282b in nsCSSFrameConstructor::ConstructFrameFromItemInternal (this=0x7f848debee10, aItem=..., aState=..., aParentFrame=0x7f848b91eed0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:3708 #64 0x00007f84aa6862ac in nsCSSFrameConstructor::ConstructFramesFromItem (this= 0x7f848debee10, aState=..., aIter=..., aParentFrame=0x7f848b91eed0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:5428 #65 0x00007f84aa68f26f in nsCSSFrameConstructor::ConstructFramesFromItemList ( this=0x7f848debee10, aState=..., aItems=..., aParentFrame=0x7f848b91eed0, aFrameItems=...) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:8986 #66 0x00007f84aa6889bc in nsCSSFrameConstructor::ContentAppended (this= 0x7f848debee10, aContainer=0x7f848dc8bec0, aNewIndexInContainer=2) at ../../../mozilla/layout/base/nsCSSFrameConstructor.cpp:6360 #67 0x00007f84aa70479a in PresShell::ContentAppended (this=0x7f848dcc8c00, aDocument=0x7f848b6c9000, aContainer=0x7f848dc8bec0, aNewIndexInContainer= 2) at ../../../mozilla/layout/base/nsPresShell.cpp:4958 #68 0x00007f84aaa14317 in nsNodeUtils::ContentAppended (aContainer= 0x7f848dc8bec0, aNewIndexInContainer=2) at ../../../../mozilla/content/base/src/nsNodeUtils.cpp:135 #69 0x00007f84aae324a0 in nsHtml5PendingNotification::Fire (this= 0x7f848af32ae8) at ../../../mozilla/parser/html/nsHtml5PendingNotification.h:60 #70 0x00007f84aae326fd in nsHtml5TreeOpExecutor::FlushPendingAppendNotifications (this=0x7f848b559760) at ../../../mozilla/parser/html/nsHtml5TreeOpExecutor.h:284 #71 0x00007f84aae31e52 in nsHtml5TreeOperation::Perform (this=0x7f8498a3b5a8, aBuilder=0x7f848b559760, aScriptElement=0x7fff5fae0ad8) at ../../../mozilla/parser/html/nsHtml5TreeOperation.cpp:527 #72 0x00007f84aae343c0 in nsHtml5TreeOpExecutor::Flush (this=0x7f848b559760) at ../../../mozilla/parser/html/nsHtml5TreeOpExecutor.cpp:307 #73 0x00007f84aae3a6cc in nsHtml5ExecutorFlusher::Run (this=0x7f848dc8ce40) at ../../../mozilla/parser/html/nsHtml5StreamParser.cpp:130 #74 0x00007f84ab71a26d in nsThread::ProcessNextEvent (this=0x7f84a4c4a1f0, mayWait=0, result=0x7fff5fae0bfc) at ../../../mozilla/xpcom/threads/nsThread.cpp:527 #75 0x00007f84ab6b0e60 in NS_ProcessNextEvent_P (thread=0x7f84a4c4a1f0, mayWait=0) at nsThreadUtils.cpp:250 #76 0x00007f84ab5995ac in mozilla::ipc::MessagePump::Run (this=0x7f849c20f240, aDelegate=0x7f849c2251c0) at ../../../mozilla/ipc/glue/MessagePump.cpp:118 #77 0x00007f84ab632a61 in MessageLoop::RunInternal (this=0x7f849c2251c0) at ../../../mozilla/ipc/chromium/src/base/message_loop.cc:211 #78 0x00007f84ab6329e6 in MessageLoop::RunHandler (this=0x7f849c2251c0) at ../../../mozilla/ipc/chromium/src/base/message_loop.cc:194 #79 0x00007f84ab632977 in MessageLoop::Run (this=0x7f849c2251c0) at ../../../mozilla/ipc/chromium/src/base/message_loop.cc:168 #80 0x00007f84ab45e673 in nsBaseAppShell::Run (this=0x7f8496bb0390) at ../../../../mozilla/widget/src/xpwidgets/nsBaseAppShell.cpp:174 #81 0x00007f84ab1e3935 in nsAppStartup::Run (this=0x7f84a4c5b830) at ../../../../../mozilla/toolkit/components/startup/src/nsAppStartup.cpp:182 #82 0x00007f84aa348551 in XRE_main (argc=3, argv=0x7fff5fae1698, aAppData= 0x7f84a4c270f0) at ../../../mozilla/toolkit/xre/nsAppRunner.cpp:3477 #83 0x0000000000401eef in main (argc=3, argv=0x7fff5fae1698) at ../../../mozilla/browser/app/nsBrowserApp.cpp:158
layout/base/crashtests/735943.html triggers this assertion consistently on Windows 7. https://tbpl.mozilla.org/?usebuildbot=1&tree=Try&rev=824f06cf57f5
... which is filed as bug 735966.
platform-rel: --- → ?
Whiteboard: [platform-rel-Youtube]
platform-rel: ? → ---
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.