Open Bug 286378 Opened 19 years ago Updated 2 years ago

failure to retrieve string should not trump setting an exception

Categories

(Core :: Security: CAPS, defect, P5)

x86
Windows XP
defect

Tracking

()

People

(Reporter: timeless, Assigned: dveditz)

Details

winembed

url: http://landfill.mozilla.org/ryl/random.html
random site: http://www.bragg.army.mil/

WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv2)) failed, file
r:/mozilla/caps/src/nsScriptSecurityManager.cpp, line 807
###!!! ASSERTION: Overwriting an existing document channel!: '(loadFlags &
nsIChannel::LOAD_REPLACE) || !(mDocumentRequest.get())', file
r:/mozilla/uriloader/base/nsDocLoader.cpp, line 485
Break: at file r:/mozilla/uriloader/base/nsDocLoader.cpp, line 485
0 [native frame]
1 onload(event = [object Event @ 0x42b0c68]) ["http://www.bragg.army.mil/":0]
    this = [object Window @ 0x357ad50]
2 [native frame]

 	ntdll.dll!_DbgBreakPoint@0() 	
 	xpcom_core.dll!nsDebugImpl::Break(const char * aFile=0x02818664, int
aLine=0x000001e5)  Line 385	C++
 	xpcom_core.dll!nsDebugImpl::Assertion(const char * aStr=0x028186d4, const char
* aExpr=0x02818690, const char * aFile=0x02818664, int aLine=0x000001e5)  Line
301	C++
 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x028186d4, const char *
aExpr=0x02818690, const char * aFile=0x02818664, int aLine=0x000001e5)  Line 109	C++
 	docshell.dll!nsDocLoader::OnStartRequest(nsIRequest * request=0x043dee48,
nsISupports * aCtxt=0x00000000)  Line 485 + 0x34	C++
 	necko.dll!nsLoadGroup::AddRequest(nsIRequest * request=0x043dee48, nsISupports
* ctxt=0x00000000)  Line 647 + 0x1f	C++
 	necko.dll!nsHttpChannel::AsyncOpen(nsIStreamListener * listener=0x0184bc98,
nsISupports * context=0x00000000)  Line 3147	C++
 	docshell.dll!nsDocumentOpenInfo::Open(nsIChannel * aChannel=0x043dee48)  Line
224 + 0x12	C++
 	docshell.dll!nsURILoader::OpenURI(nsIChannel * channel=0x043dee48, int
aIsContentPreferred=0x00000000, nsIInterfaceRequestor *
aWindowContext=0x0436fdf8)  Line 878 + 0x13	C++
 	docshell.dll!nsDocShell::DoChannelLoad(nsIChannel * aChannel=0x043dee48,
nsIURILoader * aURILoader=0x01718a58)  Line 6015 + 0x3f	C++
 	docshell.dll!nsDocShell::DoURILoad(nsIURI * aURI=0x041e6988, nsIURI *
aReferrerURI=0x041c7a28, int aSendReferrer=0x00000001, nsISupports *
aOwner=0x051164f0, const char * aTypeHint=0x00000000, nsIInputStream *
aPostData=0x00000000, nsIInputStream * aHeadersData=0x00000000, int
aFirstParty=0x00000001, nsIDocShell * * aDocShell=0x00000000, nsIRequest * *
aRequest=0x0012da48)  Line 5867 + 0x23	C++
 	docshell.dll!nsDocShell::InternalLoad(nsIURI * aURI=0x041e6988, nsIURI *
aReferrer=0x041c7a28, nsISupports * aOwner=0x051164f0, unsigned int
aFlags=0x00000000, const unsigned short * aWindowTarget=0x0455b2b8, const char *
aTypeHint=0x00000000, nsIInputStream * aPostData=0x00000000, nsIInputStream *
aHeadersData=0x00000000, unsigned int aLoadType=0x08000001, nsISHEntry *
aSHEntry=0x00000000, int aFirstParty=0x00000001, nsIDocShell * *
aDocShell=0x00000000, nsIRequest * * aRequest=0x00000000)  Line 5641 + 0x61	C++
 	docshell.dll!nsDocShell::LoadURI(nsIURI * aURI=0x041e6988, nsIDocShellLoadInfo
* aLoadInfo=0x045034e8, unsigned int aLoadFlags=0x00000000, int
aFirstParty=0x00000001)  Line 780 + 0x54	C++
 	gklayout.dll!nsLocation::SetURI(nsIURI * aURI=0x041e6988, int
aReplace=0x00000000)  Line 334 + 0x23	C++
 	gklayout.dll!nsLocation::SetHrefWithBase(const nsAString & aHref={...}, nsIURI
* aBase=0x041c7a28, int aReplace=0x00000000)  Line 610 + 0x3d	C++
 	gklayout.dll!nsLocation::SetHrefWithContext(JSContext * cx=0x03572ff0, const
nsAString & aHref={...}, int aReplace=0x00000000)  Line 552 + 0x19	C++
 	gklayout.dll!nsLocation::SetHref(const nsAString & aHref={...})  Line 521 +
0x15	C++
 	xpcom_core.dll!XPTC_InvokeByIndex(nsISupports * that=0x04829030, unsigned int
methodIndex=0x0000000a, unsigned int paramCount=0x00000001, nsXPTCVariant *
params=0x0012df20)  Line 102	C++
>	xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...},
XPCWrappedNative::CallMode mode=CALL_SETTER)  Line 2070 + 0x1e	C++
 	xpc3250.dll!XPCWrappedNative::SetAttribute(XPCCallContext & ccx={...})  Line
1890 + 0xe	C++
 	xpc3250.dll!XPC_WN_GetterSetter(JSContext * cx=0x03572ff0, JSObject *
obj=0x00b92008, unsigned int argc=0x00000001, long * argv=0x041f4284, long *
vp=0x0012e208)  Line 1335 + 0x9	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x03572ff0, unsigned int argc=0x00000001,
unsigned int flags=0x00000002)  Line 1293 + 0x20	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x03572ff0, JSObject *
obj=0x00b92008, long fval=0x00b92300, unsigned int flags=0x00000000, unsigned
int argc=0x00000001, long * argv=0x0012ede8, long * rval=0x0012ede8)  Line
1390 + 0x14	C
 	js3250.dll!js_InternalGetOrSet(JSContext * cx=0x03572ff0, JSObject *
obj=0x00b92008, long id=0x017a3c48, long fval=0x00b92300, JSAccessMode
mode=JSACC_WRITE, unsigned int argc=0x00000001, long * argv=0x0012ede8, long *
rval=0x0012ede8)  Line 1433 + 0x1f	C
 	js3250.dll!js_SetProperty(JSContext * cx=0x03572ff0, JSObject *
obj=0x00b92008, long id=0x017a3c48, long * vp=0x0012ede8)  Line 2861 + 0x32	C
 	js3250.dll!js_Interpret(JSContext * cx=0x03572ff0, unsigned char *
pc=0x034e72c9, long * result=0x0012ef34)  Line 3404 + 0x60b	C
 	js3250.dll!js_Invoke(JSContext * cx=0x03572ff0, unsigned int argc=0x00000001,
unsigned int flags=0x00000002)  Line 1313 + 0x13	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x03572ff0, JSObject *
obj=0x043e8250, long fval=0x044b0f60, unsigned int flags=0x00000000, unsigned
int argc=0x00000001, long * argv=0x0012f22c, long * rval=0x0012f230)  Line
1390 + 0x14	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x03572ff0, JSObject *
obj=0x043e8250, long fval=0x044b0f60, unsigned int argc=0x00000001, long *
argv=0x0012f22c, long * rval=0x0012f230)  Line 3831 + 0x1f	C
 	gklayout.dll!nsJSContext::CallEventHandler(JSObject * aTarget=0x043e8250,
JSObject * aHandler=0x044b0f60, unsigned int argc=0x00000001, long *
argv=0x0012f22c, long * rval=0x0012f230)  Line 1401 + 0x21	C++
 	gklayout.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * aEvent=0x01882d88) 
Line 205 + 0x2d	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x033f0b68, nsIDOMEvent * aDOMEvent=0x01882d88,
nsIDOMEventTarget * aCurrentTarget=0x01859ae4, unsigned int aSubType=0x00000001,
unsigned int aPhaseFlags=0x00000007)  Line 1533 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x034a8c78, nsEvent * aEvent=0x0012f570, nsIDOMEvent * *
aDOMEvent=0x0012f478, nsIDOMEventTarget * aCurrentTarget=0x01859ae4, unsigned
int aFlags=0x00000007, nsEventStatus * aEventStatus=0x0012f56c)  Line 1632	C++
 	gklayout.dll!nsGlobalWindow::HandleDOMEvent(nsPresContext *
aPresContext=0x034a8c78, nsEvent * aEvent=0x0012f570, nsIDOMEvent * *
aDOMEvent=0x0012f478, unsigned int aFlags=0x00000007, nsEventStatus *
aEventStatus=0x0012f56c)  Line 914	C++
 	gklayout.dll!DocumentViewerImpl::LoadComplete(unsigned int aStatus=0x00000000)
 Line 883 + 0x23	C++
 	docshell.dll!nsDocShell::EndPageLoad(nsIWebProgress * aProgress=0x034d0dec,
nsIChannel * aChannel=0x042bd258, unsigned int aStatus=0x00000000)  Line 4578	C++
 	docshell.dll!nsWebShell::EndPageLoad(nsIWebProgress * aProgress=0x034d0dec,
nsIChannel * channel=0x042bd258, unsigned int aStatus=0x00000000)  Line 660	C++
 	docshell.dll!nsDocShell::OnStateChange(nsIWebProgress * aProgress=0x034d0dec,
nsIRequest * aRequest=0x042bd258, unsigned int aStateFlags=0x00020010, unsigned
int aStatus=0x00000000)  Line 4504	C++
 	docshell.dll!nsDocLoader::FireOnStateChange(nsIWebProgress *
aProgress=0x034d0dec, nsIRequest * aRequest=0x042bd258, int
aStateFlags=0x00020010, unsigned int aStatus=0x00000000)  Line 1195	C++
 	docshell.dll!nsDocLoader::doStopDocumentLoad(nsIRequest * request=0x042bd258,
unsigned int aStatus=0x00000000)  Line 832	C++
 	docshell.dll!nsDocLoader::DocLoaderIsEmpty()  Line 729	C++
 	docshell.dll!nsDocLoader::OnStopRequest(nsIRequest * aRequest=0x043bea08,
nsISupports * aCtxt=0x00000000, unsigned int aStatus=0x00000000)  Line 653	C++
 	necko.dll!nsLoadGroup::RemoveRequest(nsIRequest * request=0x043bea08,
nsISupports * ctxt=0x00000000, unsigned int aStatus=0x00000000)  Line 732 + 0x2c	C++
 	gklayout.dll!HandleImagePLEvent(PLEvent * aEvent=0x043bea1c)  Line 639	C++
 	xpcom_core.dll!PL_HandleEvent(PLEvent * self=0x043bea1c)  Line 698 + 0xa	C
 	xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x00b37770)  Line
633 + 0x9	C
 	xpcom_core.dll!_md_TimerProc(HWND__ * hwnd=0x0014068a, unsigned int
uMsg=0x00000113, unsigned int idEvent=0x00000000, unsigned long
dwTime=0x172e3691)  Line 1034 + 0x9	C
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProc@24()  + 0xa1	
 	user32.dll!_DispatchMessageWorker@8()  + 0xcc6	
 	user32.dll!_DispatchMessageA@4()  + 0xf	
 	winEmbed.exe!AppCallbacks::RunEventLoop(int & aRunCondition=0x00000001) 
Line 1198	C++
 	winEmbed.exe!main(int argc=0x00000001, char * * argv=0x003d81b0)  Line 188 +
0x9	C++
 	winEmbed.exe!mainCRTStartup()  Line 398 + 0x11	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23
I have no idea what this means
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
QA Contact: caps
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.