Closed Bug 287002 Opened 20 years ago Closed 6 years ago

###!!! ASSERTION: no document: 'doc', file r:/mozilla/content/xul/content/src/nsXULElement.cpp, line 2382

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
All
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: timeless, Assigned: rginda)

References

Details

(Keywords: assertion)

closing the last source tab in venkman

###!!! ASSERTION: no document: 'doc', file
r:/mozilla/content/xul/content/src/nsXULElement.cpp, line 2382
Break: at file r:/mozilla/content/xul/content/src/nsXULElement.cpp, line 2382
0 [native frame]
1 goUpdateCommand(command = "cmd_undo")
["chrome://global/content/globalOverlay.js":50]
    controller = undefined
    enabled = undefined
    this = [object ChromeWindow @ 0x7767968]
2 goUpdateGlobalEditMenuItems()
["chrome://communicator/content/utilityOverlay.js":382]
    this = [object ChromeWindow @ 0x7767968]
3 oncommandupdate(event = [object Event @ 0x8459728])
["chrome://venkman/content/venkman.xul":1]
    this = [object XULElement @ 0x7a6ac20]
4 [native frame]

 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x0204c24c, const char *
aExpr=0x0204c248, const char * aFile=0x0204c214, int aLine=2382)  Line 109	C++
 	gklayout.dll!nsXULElement::GetControllers(nsIControllers * *
aResult=0x0012d17c)  Line 2382 + 0x20	C++
 	gklayout.dll!nsFocusController::GetControllers(nsIControllers * *
aResult=0x0012d17c)  Line 210 + 0x1e	C++
 	gklayout.dll!nsFocusController::GetControllerForCommand(const char *
aCommand=0x0444b808, nsIController * * _retval=0x0012d2f8)  Line 399 + 0x24	C++
 	gklayout.dll!nsXULCommandDispatcher::GetControllerForCommand(const char *
aCommand=0x0444b808, nsIController * * _retval=0x0012d2f8)  Line 433	C++
 	xpcom_core.dll!XPTC_InvokeByIndex(nsISupports * that=0x0763c1b0, unsigned int
methodIndex=10, unsigned int paramCount=2, nsXPTCVariant * params=0x0012d2e8)
 Line 102	C++
>	xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...},
XPCWrappedNative::CallMode mode=CALL_METHOD)  Line 2068 + 0x1e	C++
 	xpc3250.dll!XPC_WN_CallMethod(JSContext * cx=0x076933c0, JSObject *
obj=0x00c4e6f8, unsigned int argc=1, long * argv=0x044031d8, long *
vp=0x0012d5bc)  Line 1311 + 0xb	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x076933c0, unsigned int argc=1, unsigned
int flags=0)  Line 1293 + 0x20	C
 	js3250.dll!js_Interpret(JSContext * cx=0x076933c0, unsigned char *
pc=0x077668e9, long * result=0x0012e130)  Line 3566 + 0xf	C
 	js3250.dll!js_Invoke(JSContext * cx=0x076933c0, unsigned int argc=1, unsigned
int flags=2)  Line 1313 + 0x13	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x076933c0, JSObject *
obj=0x07b13f98, long fval=129828208, unsigned int flags=0, unsigned int argc=1,
long * argv=0x0012e428, long * rval=0x0012e42c)  Line 1390 + 0x14	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x076933c0, JSObject *
obj=0x07b13f98, long fval=129828208, unsigned int argc=1, long *
argv=0x0012e428, long * rval=0x0012e42c)  Line 3831 + 0x1f	C
 	gklayout.dll!nsJSContext::CallEventHandler(JSObject * aTarget=0x07b13f98,
JSObject * aHandler=0x07bd0570, unsigned int argc=1, long * argv=0x0012e428,
long * rval=0x0012e42c)  Line 1401 + 0x21	C++
 	gklayout.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * aEvent=0x0b6256f8) 
Line 205 + 0x2d	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x076ed768, nsIDOMEvent * aDOMEvent=0x0b6256f8,
nsIDOMEventTarget * aCurrentTarget=0x0cde3a88, unsigned int aSubType=32,
unsigned int aPhaseFlags=7)  Line 1557 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x076d2308, nsEvent * aEvent=0x0012e9d0, nsIDOMEvent * *
aDOMEvent=0x0012e970, nsIDOMEventTarget * aCurrentTarget=0x0cde3a88, unsigned
int aFlags=7, nsEventStatus * aEventStatus=0x0012e9cc)  Line 1656	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsPresContext *
aPresContext=0x076d2308, nsEvent * aEvent=0x0012e9d0, nsIDOMEvent * *
aDOMEvent=0x0012e970, unsigned int aFlags=7, nsEventStatus *
aEventStatus=0x0012e9cc)  Line 2046	C++
 	gklayout.dll!nsXULCommandDispatcher::UpdateCommands(const nsAString &
aEventName={...})  Line 384	C++
 	gklayout.dll!nsGlobalWindow::UpdateCommands(const nsAString & anAction={...})
 Line 3728	C++
 	gklayout.dll!nsFocusController::UpdateCommands(const nsAString &
aEventName={...})  Line 183	C++
 	gklayout.dll!nsFocusController::SetSuppressFocus(int aSuppressFocus=0, const
char * aReason=0x0202c974)  Line 494 + 0x1c	C++
 	gklayout.dll!nsEventStateManager::PreHandleEvent(nsPresContext *
aPresContext=0x076d2308, nsEvent * aEvent=0x0012f184, nsIFrame *
aTargetFrame=0x07a742b0, nsEventStatus * aStatus=0x0012ef8c, nsIView *
aView=0x07771270)  Line 906	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012f184,
nsIView * aView=0x07771270, unsigned int aFlags=1, nsEventStatus *
aStatus=0x0012ef8c)  Line 6047 + 0x34	C++
 	gklayout.dll!PresShell::HandleEvent(nsIView * aView=0x07771270, nsGUIEvent *
aEvent=0x0012f184, nsEventStatus * aEventStatus=0x0012ef8c, int aForceHandle=1,
int & aHandled=1)  Line 5900 + 0x19	C++
 	gklayout.dll!nsViewManager::HandleEvent(nsView * aView=0x07771270, nsGUIEvent
* aEvent=0x0012f184, int aCaptured=0)  Line 2450	C++
 	gklayout.dll!nsViewManager::DispatchEvent(nsGUIEvent * aEvent=0x0012f184,
nsEventStatus * aStatus=0x0012f0cc)  Line 2217 + 0x14	C++
 	gklayout.dll!HandleEvent(nsGUIEvent * aEvent=0x0012f184)  Line 174	C++
 	gkwidget.dll!nsWindow::DispatchEvent(nsGUIEvent * event=0x0012f184,
nsEventStatus & aStatus=nsEventStatus_eIgnore)  Line 1150 + 0xa	C++
 	gkwidget.dll!nsWindow::DispatchWindowEvent(nsGUIEvent * event=0x0012f184) 
Line 1171	C++
 	gkwidget.dll!nsWindow::DispatchFocus(unsigned int aEventType=108, int
isMozWindowTakingFocus=0)  Line 5957 + 0xf	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=8, unsigned int
wParam=0, long lParam=0, long * aRetValue=0x0012f604)  Line 4605 + 0x17	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x00050efe, unsigned int
msg=8, unsigned int wParam=0, long lParam=0)  Line 1442 + 0x1b	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchClientMessage@20()  + 0x4d	
 	user32.dll!___fnDWORD@4()  + 0x24	
 	ntdll.dll!_KiUserCallbackDispatcher@12()  + 0x13	
 	user32.dll!_NtUserPeekMessage@20()  + 0xc	
 	user32.dll!_PeekMessageA@20()  + 0xfb	
 	xpcom_core.dll!_pl_AcknowledgeNativeNotify(PLEventQueue * self=0x00be3478) 
Line 1352	C
 	xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x00be3478)  Line
643 + 0x9	C
 	xpcom_core.dll!nsEventQueueImpl::ProcessPendingEvents()  Line 413 + 0xc	C++
 	gkwidget.dll!nsWindow::DispatchPendingEvents()  Line 4110	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=257, unsigned int
wParam=18, long lParam=-1070071807, long * aRetValue=0x0012fc7c)  Line 4307	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x00050efe, unsigned int
msg=257, unsigned int wParam=18, long lParam=-1070071807)  Line 1442 + 0x1b	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageW@4()  + 0xf	
 	gkwidget.dll!nsAppShell::Run()  Line 135	C++
 	appcomps.dll!nsAppStartup::Run()  Line 208	C++
 	mozilla.exe!main1(int argc=1, char * * argv=0x00347930, nsISupports *
nativeApp=0x00c06230)  Line 1325 + 0x20	C++
 	mozilla.exe!main(int argc=1, char * * argv=0x00347930)  Line 1831 + 0x25	C++
 	mozilla.exe!mainCRTStartup()  Line 398 + 0x11	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050804 Firefox/1.0+

Status: UNCONFIRMED -> NEW

###!!! ASSERTION: no document: 'doc', file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2543
Break: at file
/home/djc/mozilla-stuff/mozilla/sources/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2543

Usually occurs when I middle-click-close a tab.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
*** Bug 300946 has been marked as a duplicate of this bug. ***
Bug 326875 has a testcase.  Marking this as depending on bug 326875.
Depends on: 326875
who shouldn't be doing this?
I have no idea what's the deal, since focus code is on the stack.
QA Contact: caillon → venkman
Component is obsolete so resolving bugs as INCOMPLETE
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.