Closed Bug 281567 Opened 20 years ago Closed 6 years ago

[@ nsChromeTreeOwner::SetEnabled]

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: crash)

Crash Data

>	appshell.dll!nsChromeTreeOwner::SetEnabled(int aEnable=1)  Line 424 + 0xb	C++
 	xpcom_core.dll!XPTC_InvokeByIndex(nsISupports * that=0x0012f378, unsigned int
methodIndex=11153501, unsigned int paramCount=174668452, nsXPTCVariant *
params=0x00000014)  Line 102	C++
 	xpc3250.dll!AutoJSSuspendRequest::SuspendRequest()  Line 2968 + 0x9	C++
 	xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...},
XPCWrappedNative::CallMode mode=CALL_SETTER)  Line 2034 + 0x16	C++
 	xpc3250.dll!XPC_WN_GetterSetter(JSContext * cx=0x0b8271b8, JSObject *
obj=0x024d7b10, unsigned int argc=1, long * argv=0x09b14b08, long *
vp=0x0012f454)  Line 1312	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x0c052c00, unsigned int argc=11442679,
unsigned int flags=16258916)  Line 1293 + 0x11	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x0c968974, JSObject *
obj=0x024d7b10, long fval=38632232, unsigned int flags=0, unsigned int argc=1,
long * argv=0x0012f6e4, long * rval=0x0012f6e4)  Line 1390 + 0xe	C
 	js3250.dll!js_InternalGetOrSet(JSContext * cx=0x0b8271b8, JSObject *
obj=0x024d7b10, long id=10124088, long fval=38632232, JSAccessMode
mode=JSACC_WRITE, unsigned int argc=1, long * argv=0x0012f6e4, long *
rval=0x0012f6e4)  Line 1433 + 0x15	C
 	js3250.dll!js_SetProperty(JSContext * cx=0x0b8271b8, JSObject *
obj=0x024d7b10, long id=10124088, long * vp=0x0012f6e4)  Line 2856 + 0x21	C
 	js3250.dll!js_Interpret(JSContext * cx=0x00ae99f7, long * result=0x00f81764) 
Line 2665	C
 	js3250.dll!js_Invoke(JSContext * cx=0x0c052c00, unsigned int argc=11442679,
unsigned int flags=16258916)  Line 1313 + 0xa	C
 	xpc3250.dll!nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS *
wrapper=0x0a6964c0, unsigned short methodIndex=11264, const nsXPTMethodInfo *
info=0x00ae99f7, nsXPTCMiniVariant * nativeParams=0x00f81764)  Line 1339 + 0x10	C++
 	xpc3250.dll!nsXPCWrappedJS::CallMethod(unsigned short methodIndex=3, const
nsXPTMethodInfo * info=0x09a12648, nsXPTCMiniVariant * params=0x0012f934) 
Line 450	C++
 	xpcom_core.dll!PrepareAndDispatch(nsXPTCStubBase * self=0x09842070, unsigned
int methodIndex=3, unsigned int * args=0x0012f9f0, unsigned int *
stackBytesToPop=0x0012f9e0)  Line 117 + 0x12	C++
 	xpcom_core.dll!SharedStub()  Line 147	C++
 	jsd3250.dll!jsds_ExecutionHookProc(JSDContext * jsdc=0x00a0ee88,
JSDThreadState * jsdthreadstate=0x0cc0c078, unsigned int type=4, void *
callerdata=0x00000000, long * rval=0x0012fba8)  Line 682	C++
 	jsd3250.dll!jsd_CallExecutionHook(JSDContext * jsdc=0x00a0ee88, JSContext *
cx=0x0b8271b8, unsigned int type=5, unsigned int (JSDContext *, JSDThreadState
*, unsigned int, void *, long *)* hook=0x00e07d6b, void * hookData=0x00000000,
long * rval=0x0012fba8)  Line 178	C
 	jsd3250.dll!jsd_ThrowHandler(JSContext * cx=0x0b8271b8, JSScript *
script=0x09979418, unsigned char * pc=0x09979700, long * rval=0x0012fba8, void *
closure=0x0bd69d10)  Line 149 + 0x12	C
 	js3250.dll!js_Interpret(JSContext * cx=0x00ae99f7, long * result=0x00f81764) 
Line 5299 + 0x19	C
 	js3250.dll!js_Invoke(JSContext * cx=0x0c052c00, unsigned int argc=11442679,
unsigned int flags=16258916)  Line 1313 + 0xa	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x0b8271e4, JSObject *
obj=0x0b4ea940, long fval=212982736, unsigned int flags=0, unsigned int argc=1,
long * argv=0x0bc55ae0, long * rval=0x0012fddc)  Line 1390 + 0xe	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x0b8271b8, JSObject *
obj=0x0b4ea940, long fval=212982736, unsigned int argc=1, long *
argv=0x0bc55ae0, long * rval=0x0012fddc)  Line 3767 + 0x1a	C
 	gklayout.dll!NSGetModule()  + 0x1369bf	
 	gklayout.dll!NSGetModule()  + 0x13369c	
 	gklayout.dll!NSGetModule()  + 0x133824	
 	gkwidget.dll!nsAppShell::Run()  Line 142	C++
 	appcomps.dll!nsAppStartup::Run()  Line 216	C++
 	mozilla.exe!00402c04() 	
 	mozilla.exe!00402d07() 	
 	mozilla.exe!00402d3d() 	
 	mozilla.exe!0040740d() 	
 	SHLWAPI.DLL!_RegOpenKeyExWrapW@20()  + 0x27	

javascript stack trace (only the most important frame):
+	filename	0x09f3c82d "chrome://venkman/content/venkman-debugger.js"	const char *
	lineno	248	unsigned int

247 function jsdExecutionHook (frame, type, rv)
248 {
330         console.targetWindow.enabled = targetWasEnabled;

You might ask, how did mXULWindow become null.

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpfe/appshell/src/nsChromeTreeOwner.cpp&rev=1.47&mark=542,545,547#540
542 // nsChromeTreeOwner: Accessors
545 void nsChromeTreeOwner::XULWindow(nsXULWindow* aXULWindow)
547    mXULWindow = aXULWindow;

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/xpfe/appshell/src/nsXULWindow.cpp&rev=1.151&mark=458,537#526
458 NS_IMETHODIMP nsXULWindow::Destroy()
537       mChromeTreeOwner->XULWindow(nsnull);

And what was i doing to cause the window to be destroyed?

with the condemed window as my evaluation object (because i was stopped for an
exception/error in that window), i evaluated:
window.close()

and then i pressed continue.
oh right, i suppose the actual crashing bits should be mentioned :),

NS_IMETHODIMP nsChromeTreeOwner::SetEnabled(PRBool aEnable)
{
   return mXULWindow->SetEnabled(aEnable);

	aEnable	1	int
+	mXULWindow	0x00000000 {mRefCnt={mValue=??? } mChromeTreeOwner=???
mContentTreeOwner=??? ...}	nsXULWindow *
FWIW, no crash-status hits for signature contains nsChromeTreeOwner::SetEnabled in past 30 days.
QA Contact: jrgmorrison → xptoolkit.widgets
Crash Signature: [@ nsChromeTreeOwner::SetEnabled]
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.