Closed Bug 895345 Opened 11 years ago Closed 2 years ago

Null prescontext at nsDOMWindowUtils::GetIsTestControllingRefreshes

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86_64
Windows 7
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mayhemer, Unassigned)

Details

(Whiteboard: qa-not-actionable)

Attachments

(1 file)

m-c @ 582ffcd0459a + the provided patch.

$mach mochitest-plain dom/tests/mochitest/ajax/offline/test_bug445544.html

nsDOMWindowUtils's GetPresContext returned nullptr.


 	xul.dll!nsRefPtr<nsRefreshDriver>::get()  Line 1009 + 0x3 bytes	C++
 	xul.dll!nsRefPtr<nsRefreshDriver>::operator nsRefreshDriver *()  Line 1023	C++
 	xul.dll!nsPresContext::RefreshDriver()  Line 249 + 0x12 bytes	C++
>	xul.dll!nsDOMWindowUtils::GetIsTestControllingRefreshes(bool * aResult=0x004bc008)  Line 2443 + 0xf bytes	C++
 	xul.dll!NS_InvokeByIndex(nsISupports * that=0x0c33bb18, unsigned int methodIndex=80, unsigned int paramCount=1, nsXPTCVariant * params=0x004bc008)  Line 71	C++
 	xul.dll!CallMethodHelper::Invoke()  Line 2795 + 0x1c bytes	C++
 	xul.dll!CallMethodHelper::Call()  Line 2133 + 0x8 bytes	C++
 	xul.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...}, XPCWrappedNative::CallMode mode=CALL_GETTER)  Line 2099 + 0x16 bytes	C++
 	xul.dll!XPCWrappedNative::GetAttribute(XPCCallContext & ccx={...})  Line 2417 + 0xe bytes	C++
 	xul.dll!XPC_WN_GetterSetter(JSContext * cx=0x0c3092d0, unsigned int argc=0, JS::Value * vp=0x004bc630)  Line 1350 + 0xc bytes	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0c3092d0, int (JSContext *, unsigned int, JS::Value *)* native=0x5465fd20, const JS::CallArgs & args={...})  Line 225 + 0x19 bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 477 + 0x16 bytes	C++
 	mozjs.dll!js_fun_apply(JSContext * cx=0x0c3092d0, unsigned int argc=2, JS::Value * vp=0x004bc960)  Line 986 + 0x4e bytes	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0c3092d0, int (JSContext *, unsigned int, JS::Value *)* native=0x59c33290, const JS::CallArgs & args={...})  Line 225 + 0x19 bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 477 + 0x16 bytes	C++
 	mozjs.dll!js_fun_call(JSContext * cx=0x0c3092d0, unsigned int argc=2, JS::Value * vp=0x03d6c968)  Line 833 + 0x4e bytes	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0c3092d0, int (JSContext *, unsigned int, JS::Value *)* native=0x59c32f90, const JS::CallArgs & args={...})  Line 225 + 0x19 bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 477 + 0x16 bytes	C++
 	mozjs.dll!Interpret(JSContext * cx=0x0c3092d0, js::InvokeState state={...})  Line 2498 + 0x2a bytes	C++
 	mozjs.dll!js::RunScript(JSContext * cx=0x0c3092d0, js::RunState & state={...})  Line 434 + 0xd bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 496 + 0xd bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=0, JS::Value * argv=0x004bdcb8, JS::MutableHandle<JS::Value> rval={...})  Line 527 + 0x4e bytes	C++
 	mozjs.dll!ScriptedIndirectProxyHandler::call(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, const JS::CallArgs & args={...})  Line 1007 + 0x47 bytes	C++
 	mozjs.dll!js::Proxy::call(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, const JS::CallArgs & args={...})  Line 2631 + 0x19 bytes	C++
 	mozjs.dll!proxy_Call(JSContext * cx=0x0c3092d0, unsigned int argc=0, JS::Value * vp=0x004bdca8)  Line 3203 + 0x1b bytes	C++
 	mozjs.dll!js::CallJSNative(JSContext * cx=0x0c3092d0, int (JSContext *, unsigned int, JS::Value *)* native=0x59ce1f50, const JS::CallArgs & args={...})  Line 225 + 0x19 bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 470 + 0x14 bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=0, JS::Value * argv=0x00000000, JS::MutableHandle<JS::Value> rval={...})  Line 527 + 0x4e bytes	C++
 	mozjs.dll!js::InvokeGetterOrSetter(JSContext * cx=0x0c3092d0, JSObject * obj=0x0cf75d90, JS::Value fval={...}, unsigned int argc=0, JS::Value * argv=0x00000000, JS::MutableHandle<JS::Value> rval={...})  Line 598 + 0x2f bytes	C++
 	mozjs.dll!js::BaseProxyHandler::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 133 + 0x36 bytes	C++
 	mozjs.dll!ScriptedIndirectProxyHandler::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 951 + 0x1f bytes	C++
 	mozjs.dll!js::Proxy::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 2492 + 0x21 bytes	C++
 	mozjs.dll!proxy_GetGeneric(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> obj={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 2831 + 0x19 bytes	C++
 	mozjs.dll!JSObject::getGeneric(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> obj={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 814 + 0x17 bytes	C++
 	mozjs.dll!js::DirectProxyHandler::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 572 + 0x23 bytes	C++
 	mozjs.dll!js::CrossCompartmentWrapper::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> wrapper={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 308 + 0x30 bytes	C++
 	mozjs.dll!js::Proxy::get(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> proxy={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 2492 + 0x21 bytes	C++
 	mozjs.dll!proxy_GetGeneric(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> obj={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 2831 + 0x19 bytes	C++
 	mozjs.dll!JSObject::getGeneric(JSContext * cx=0x0c3092d0, JS::Handle<JSObject *> obj={...}, JS::Handle<JSObject *> receiver={...}, JS::Handle<jsid> id={...}, JS::MutableHandle<JS::Value> vp={...})  Line 814 + 0x17 bytes	C++
 	mozjs.dll!GetPropertyOperation(JSContext * cx=0x0c3092d0, js::StackFrame * fp=0x03d6c820, JS::Handle<JSScript *> script={...}, unsigned char * pc=0x03026796, JS::MutableHandle<JS::Value> lval={...}, JS::MutableHandle<JS::Value> vp={...})  Line 277 + 0x37 bytes	C++
 	mozjs.dll!Interpret(JSContext * cx=0x0c3092d0, js::RunState & state={...})  Line 2337 + 0x35 bytes	C++
 	mozjs.dll!js::RunScript(JSContext * cx=0x0c3092d0, js::RunState & state={...})  Line 434 + 0xd bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, JS::CallArgs args={...}, js::MaybeConstruct construct=NO_CONSTRUCT)  Line 496 + 0xd bytes	C++
 	mozjs.dll!js::Invoke(JSContext * cx=0x0c3092d0, const JS::Value & thisv={...}, const JS::Value & fval={...}, unsigned int argc=0, JS::Value * argv=0x004bf368, JS::MutableHandle<JS::Value> rval={...})  Line 527 + 0x4e bytes	C++
 	mozjs.dll!JS_CallFunctionValue(JSContext * cx=0x0c3092d0, JSObject * objArg=0x03c27250, JS::Value fval={...}, unsigned int argc=0, JS::Value * argv=0x004bf368, JS::Value * rval=0x004bf310)  Line 5756 + 0x3e bytes	C++
 	xul.dll!nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS * wrapper=0x0f294ce8, unsigned short methodIndex=3, const XPTMethodDescriptor * info_=0x01e05df8, nsXPTCMiniVariant * nativeParams=0x004bf444)  Line 1437 + 0x45 bytes	C++
 	xul.dll!nsXPCWrappedJS::CallMethod(unsigned short methodIndex=3, const XPTMethodDescriptor * info=0x01e05df8, nsXPTCMiniVariant * params=0x004bf444)  Line 591	C++
 	xul.dll!PrepareAndDispatch(nsXPTCStubBase * self=0x0f1214e8, unsigned int methodIndex=3, unsigned int * args=0x004bf50c, unsigned int * stackBytesToPop=0x004bf4fc)  Line 85 + 0x21 bytes	C++
 	xul.dll!SharedStub()  Line 113	C++
 	xul.dll!nsThread::ProcessNextEvent(bool mayWait=false, bool * result=0x004bf5af)  Line 621 + 0x19 bytes	C++
 	xul.dll!NS_ProcessNextEvent(nsIThread * thread=0x01d73470, bool mayWait=false)  Line 238 + 0x17 bytes	C++
 	xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate * aDelegate=0x01d73360)  Line 81 + 0xe bytes	C++
 	xul.dll!MessageLoop::RunInternal()  Line 220	C++
 	xul.dll!MessageLoop::RunHandler()  Line 213	C++
 	xul.dll!MessageLoop::Run()  Line 187	C++
 	xul.dll!nsBaseAppShell::Run()  Line 165	C++
 	xul.dll!nsAppShell::Run()  Line 113 + 0x9 bytes	C++
 	xul.dll!nsAppStartup::Run()  Line 269 + 0x1c bytes	C++
 	xul.dll!XREMain::XRE_mainRun()  Line 3853 + 0x22 bytes	C++
 	xul.dll!XREMain::XRE_main(int argc=5, char * * argv=0x01d59240, const nsXREAppData * aAppData=0x004bfacc)  Line 3921 + 0x8 bytes	C++
 	xul.dll!XRE_main(int argc=5, char * * argv=0x01d59240, const nsXREAppData * aAppData=0x004bfacc, unsigned int aFlags=0)  Line 4123 + 0x17 bytes	C++
 	firefox.exe!do_main(int argc=5, char * * argv=0x01d59240, nsIFile * xreDirectory=0x01d6a0b8)  Line 272 + 0x19 bytes	C++
 	firefox.exe!NS_internal_main(int argc=5, char * * argv=0x01d59240)  Line 632 + 0x11 bytes	C++
 	firefox.exe!wmain(int argc=5, wchar_t * * argv=0x01e51c40)  Line 105 + 0xd bytes	C++
 	firefox.exe!__tmainCRTStartup()  Line 552 + 0x19 bytes	C
 	firefox.exe!wmainCRTStartup()  Line 371	C
 	kernel32.dll!74ff33aa() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
 	ntdll.dll!76fa9ef2() 	
 	ntdll.dll!76fa9ec5()
Severity: normal → critical
Summary: Null presscontext at nsDOMWindowUtils::GetIsTestControllingRefreshes → Null prescontext at nsDOMWindowUtils::GetIsTestControllingRefreshes
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Whiteboard: qa-not-actionable

According to comment 0

$mach mochitest-plain dom/tests/mochitest/ajax/offline/test_bug445544.html

However, this test case was removed. So close this as incomplete. If this issue is still reproducible, STR would be very helpful.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: