Closed Bug 287008 Opened 20 years ago Closed 19 years ago

###!!! ASSERTION: Don't call me!: 'Error', file r:/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 2986

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: jst)

References

Details

(Keywords: assertion)

Attachments

(1 file)

###!!! ASSERTION: Don't call me!: 'Error', file
r:/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 2986
Break: at file r:/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 2986
0 onFormSelect() ["chrome://navigator/content/pageInfo.js":618]
    formTree = [object XULElement @ 0x85d3178]
    formPreview = [object XULElement @ 0x8602d40]
    clickedRow = 0
    form = [object HTMLFormElement @ 0x83731a0]
    formWrapper = [object Object]
    ft = null
    formfields = [object HTMLCollection @ 0x88d73c0]
    length = 3
    checked = "Checked"
    unchecked = "Unchecked"
    i = 2
    elem = [object HTMLObjectElement @ 0x878d0f0]
    val = ""
    labels = undefined
    llength = undefined
    label = undefined
    whatfor = undefined
    labeltext = undefined
    j = undefined
    col = undefined
    this = [object ChromeWindow @ 0x840ed80]
1 onselect(event = [object Event @ 0x88d0100])
["chrome://navigator/content/pageInfo.xul":1]
    this = [object XULElement @ 0x85d3178]
2 [native frame]
3 ensureSelection(view = [object Object])
["chrome://navigator/content/pageInfo.js":499]
    this = [object ChromeWindow @ 0x840ed80]
4 oncommand(event = [object MouseEvent @ 0x88d0f30])
["chrome://navigator/content/pageInfo.xul":1]
    this = [object XULElement @ 0x84c2120]
5 [native frame]

 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x0205a5f4, const char *
aExpr=0x0205a5ec, const char * aFile=0x0205a5c0, int aLine=0x00000baa)  Line 109	C++
 	gklayout.dll!nsDOMClassInfo::GetProperty(nsIXPConnectWrappedNative *
wrapper=0x0878d0f0, JSContext * cx=0x0840c9f8, JSObject * obj=0x07dd2128, long
id=0x00b60fc4, long * vp=0x0012cbc8, int * _retval=0x0012c184)  Line 2986 + 0x1a	C++
 	gklayout.dll!nsHTMLExternalObjSH::GetProperty(nsIXPConnectWrappedNative *
wrapper=0x0878d0f0, JSContext * cx=0x0840c9f8, JSObject * obj=0x07dd2128, long
id=0x00b60fc4, long * vp=0x0012cbc8, int * _retval=0x0012c184)  Line 7125	C++
>	xpc3250.dll!XPC_WN_Helper_GetProperty(JSContext * cx=0x0840c9f8, JSObject *
obj=0x07dd2128, long idval=0x00b60fc4, long * vp=0x0012cbc8)  Line 835 + 0x2f	C++
 	js3250.dll!js_GetProperty(JSContext * cx=0x0840c9f8, JSObject *
obj=0x07dd2128, long id=0x00b657c8, long * vp=0x0012cbc8)  Line 2717 + 0x13b	C
 	js3250.dll!js_Interpret(JSContext * cx=0x0840c9f8, unsigned char *
pc=0x084972a3, long * result=0x0012cd14)  Line 3393 + 0x62e	C
 	js3250.dll!js_Invoke(JSContext * cx=0x0840c9f8, unsigned int argc=0x00000001,
unsigned int flags=0x00000002)  Line 1313 + 0x13	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x0840c9f8, JSObject *
obj=0x06c4e778, long fval=0x07f34470, unsigned int flags=0x00000000, unsigned
int argc=0x00000001, long * argv=0x0012d00c, long * rval=0x0012d010)  Line
1390 + 0x14	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x0840c9f8, JSObject *
obj=0x06c4e778, long fval=0x07f34470, unsigned int argc=0x00000001, long *
argv=0x0012d00c, long * rval=0x0012d010)  Line 3831 + 0x1f	C
 	gklayout.dll!nsJSContext::CallEventHandler(JSObject * aTarget=0x06c4e778,
JSObject * aHandler=0x07f34470, unsigned int argc=0x00000001, long *
argv=0x0012d00c, long * rval=0x0012d010)  Line 1401 + 0x21	C++
 	gklayout.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * aEvent=0x088d0590) 
Line 205 + 0x2d	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x08475838, nsIDOMEvent * aDOMEvent=0x088d0590,
nsIDOMEventTarget * aCurrentTarget=0x088d0678, unsigned int aSubType=0x00000008,
unsigned int aPhaseFlags=0x00000007)  Line 1557 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x0841a9b8, nsEvent * aEvent=0x0012d5a8, nsIDOMEvent * *
aDOMEvent=0x0012d554, nsIDOMEventTarget * aCurrentTarget=0x088d0678, unsigned
int aFlags=0x00000007, nsEventStatus * aEventStatus=0x0012d5a4)  Line 1656	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsPresContext *
aPresContext=0x0841a9b8, nsEvent * aEvent=0x0012d5a8, nsIDOMEvent * *
aDOMEvent=0x0012d554, unsigned int aFlags=0x00000007, nsEventStatus *
aEventStatus=0x0012d5a4)  Line 2046	C++
 	gklayout.dll!nsTreeSelection::FireOnSelectHandler()  Line 760	C++
 	gklayout.dll!nsTreeSelection::Select(int aIndex=0x00000000)  Line 377	C++
 	xpcom_core.dll!XPTC_InvokeByIndex(nsISupports * that=0x085867a0, unsigned int
methodIndex=0x00000008, unsigned int paramCount=0x00000001, nsXPTCVariant *
params=0x0012d750)  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=0x0840c9f8, JSObject *
obj=0x07d43d60, unsigned int argc=0x00000001, long * argv=0x088c845c, long *
vp=0x0012da24)  Line 1311 + 0xb	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x0840c9f8, unsigned int argc=0x00000001,
unsigned int flags=0x00000000)  Line 1293 + 0x20	C
 	js3250.dll!js_Interpret(JSContext * cx=0x0840c9f8, unsigned char *
pc=0x08470ea2, long * result=0x0012e598)  Line 3566 + 0xf	C
 	js3250.dll!js_Invoke(JSContext * cx=0x0840c9f8, unsigned int argc=0x00000001,
unsigned int flags=0x00000002)  Line 1313 + 0x13	C
 	js3250.dll!js_InternalInvoke(JSContext * cx=0x0840c9f8, JSObject *
obj=0x06c4dda8, long fval=0x07f34448, unsigned int flags=0x00000000, unsigned
int argc=0x00000001, long * argv=0x0012e890, long * rval=0x0012e894)  Line
1390 + 0x14	C
 	js3250.dll!JS_CallFunctionValue(JSContext * cx=0x0840c9f8, JSObject *
obj=0x06c4dda8, long fval=0x07f34448, unsigned int argc=0x00000001, long *
argv=0x0012e890, long * rval=0x0012e894)  Line 3831 + 0x1f	C
 	gklayout.dll!nsJSContext::CallEventHandler(JSObject * aTarget=0x06c4dda8,
JSObject * aHandler=0x07f34448, unsigned int argc=0x00000001, long *
argv=0x0012e890, long * rval=0x0012e894)  Line 1401 + 0x21	C++
 	gklayout.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * aEvent=0x088cf398) 
Line 205 + 0x2d	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x0846af80, nsIDOMEvent * aDOMEvent=0x088cf398,
nsIDOMEventTarget * aCurrentTarget=0x088c7198, unsigned int aSubType=0x00000008,
unsigned int aPhaseFlags=0x00000007)  Line 1557 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x0841a9b8, nsEvent * aEvent=0x0012ee24, nsIDOMEvent * *
aDOMEvent=0x0012edd8, nsIDOMEventTarget * aCurrentTarget=0x088c7198, unsigned
int aFlags=0x00000007, nsEventStatus * aEventStatus=0x0012ee20)  Line 1656	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsPresContext *
aPresContext=0x0841a9b8, nsEvent * aEvent=0x0012ee24, nsIDOMEvent * *
aDOMEvent=0x0012edd8, unsigned int aFlags=0x00000007, nsEventStatus *
aEventStatus=0x0012ee20)  Line 2046	C++
 	gklayout.dll!PresShell::HandleDOMEventWithTarget(nsIContent *
aTargetContent=0x0846ae18, nsEvent * aEvent=0x0012ee24, nsEventStatus *
aStatus=0x0012ee20)  Line 6152	C++
 	gklayout.dll!nsButtonBoxFrame::MouseClicked(nsPresContext *
aPresContext=0x0841a9b8, nsGUIEvent * aEvent=0x0012f08c)  Line 177	C++
 	gklayout.dll!nsButtonBoxFrame::HandleEvent(nsPresContext *
aPresContext=0x0841a9b8, nsGUIEvent * aEvent=0x0012f08c, nsEventStatus *
aEventStatus=0x0012f550)  Line 149	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012f08c,
nsIView * aView=0x00000000, unsigned int aFlags=0x00000001, nsEventStatus *
aStatus=0x0012f550)  Line 6115 + 0x27	C++
 	gklayout.dll!PresShell::HandleEventWithTarget(nsEvent * aEvent=0x0012f08c,
nsIFrame * aFrame=0x084c51dc, nsIContent * aContent=0x0846ae18, unsigned int
aFlags=0x00000001, nsEventStatus * aStatus=0x0012f550)  Line 5961 + 0x16	C++
 	gklayout.dll!nsEventStateManager::CheckForAndDispatchClick(nsPresContext *
aPresContext=0x0841a9b8, nsMouseEvent * aEvent=0x0012f7a8, nsEventStatus *
aStatus=0x0012f550)  Line 2960 + 0x42	C++
 	gklayout.dll!nsEventStateManager::PostHandleEvent(nsPresContext *
aPresContext=0x0841a9b8, nsEvent * aEvent=0x0012f7a8, nsIFrame *
aTargetFrame=0x084c51dc, nsEventStatus * aStatus=0x0012f550, nsIView *
aView=0x0841bc98)  Line 1946 + 0x17	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012f7a8,
nsIView * aView=0x0841bc98, unsigned int aFlags=0x00000001, nsEventStatus *
aStatus=0x0012f550)  Line 6125 + 0x34	C++
 	gklayout.dll!PresShell::HandleEvent(nsIView * aView=0x0841bc98, nsGUIEvent *
aEvent=0x0012f7a8, nsEventStatus * aEventStatus=0x0012f550, int
aForceHandle=0x00000001, int & aHandled=0x00000001)  Line 5900 + 0x19	C++
 	gklayout.dll!nsViewManager::HandleEvent(nsView * aView=0x0841bc98, nsGUIEvent
* aEvent=0x0012f7a8, int aCaptured=0x00000001)  Line 2497	C++
 	gklayout.dll!nsViewManager::DispatchEvent(nsGUIEvent * aEvent=0x0012f7a8,
nsEventStatus * aStatus=0x0012f684)  Line 2217 + 0x14	C++
 	gklayout.dll!HandleEvent(nsGUIEvent * aEvent=0x0012f7a8)  Line 174	C++
 	gkwidget.dll!nsWindow::DispatchEvent(nsGUIEvent * event=0x0012f7a8,
nsEventStatus & aStatus=nsEventStatus_eIgnore)  Line 1150 + 0xa	C++
 	gkwidget.dll!nsWindow::DispatchWindowEvent(nsGUIEvent * event=0x0012f7a8) 
Line 1171	C++
 	gkwidget.dll!nsWindow::DispatchMouseEvent(unsigned int aEventType=0x0000012d,
unsigned int wParam=0x00000000, nsPoint * aPoint=0x00000000)  Line 5762 + 0x15	C++
 	gkwidget.dll!ChildWindow::DispatchMouseEvent(unsigned int
aEventType=0x0000012d, unsigned int wParam=0x00000000, nsPoint *
aPoint=0x00000000)  Line 6018	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=0x00000202, unsigned
int wParam=0x00000000, long lParam=0x00110044, long * aRetValue=0x0012fc7c) 
Line 4419 + 0x1c	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x000410f4, unsigned int
msg=0x00000202, unsigned int wParam=0x00000000, long lParam=0x00110044)  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=0x00000001, char * * argv=0x00347930, nsISupports *
nativeApp=0x00c06230)  Line 1325 + 0x20	C++
 	mozilla.exe!main(int argc=0x00000001, char * * argv=0x00347930)  Line 1831 +
0x25	C++
 	mozilla.exe!mainCRTStartup()  Line 398 + 0x11	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23	

see also bug 287007, perhaps this is a bug in the <object> impl?
###!!! ASSERTION: Don't call me!: 'Error', file
r:/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 2986
Break: at file r:/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 2986
0 getContentTypeFromImgRequest(item = [object HTMLObjectElement @ 0x878d0f0])
["chrome://navigator/content/pageInfo.js":942]
    httpRequest = undefined
    imageItem = [object HTMLObjectElement @ 0x878d0f0]
    imageRequest = undefined
    this = [object ChromeWindow @ 0x840ed80]
1 makePreview(row = 41) ["chrome://navigator/content/pageInfo.js":846]
    imageTree = [object XULElement @ 0x861c800]
    item = [object HTMLObjectElement @ 0x878d0f0]
    col = [object TreeColumn @ 0x88f10b0]
    url = ""
    isBG = false
    sourceText = "Not cached"
    expirationText = undefined
    sizeText = undefined
    pageSize = 0
    kbSize = 0
    expirationTime = 0
    expirationDate = null
    cacheKey = ""
    cacheEntryDescriptor = undefined
    mimeType = ""
    imageContainer = undefined
    oldImage = undefined
    regex = undefined
    isProtocolAllowed = undefined
    newImage = undefined
    physWidth = undefined
    physHeight = undefined
    width = undefined
    height = undefined
    imageSize = undefined
    physRow = undefined
    this = [object ChromeWindow @ 0x840ed80]
2 onImageSelect() ["chrome://navigator/content/pageInfo.js":735]
    tree = [object XULElement @ 0x861c800]
    saveAsButton = [object XULElement @ 0x86612e0]
    this = [object ChromeWindow @ 0x840ed80]
3 onselect(event = [object Event @ 0x8a23770])
["chrome://navigator/content/pageInfo.xul":1]
    this = [object XULElement @ 0x861c800]
4 [native frame]
*** Bug 287007 has been marked as a duplicate of this bug. ***
Attached patch Fix.Splinter Review
Calling nsElementSH::GetProperty() from here does nothing other than assert and
return NS_OK, just return NS_OK instead. (PS: this is a cut n' paste error from
nsHTMLExternalObjSH::SetProperty()).
Attachment #191294 - Flags: superreview?(peterv)
Attachment #191294 - Flags: review?(peterv)
Assignee: db48x → general
Component: Page Info → DOM: HTML
Product: Mozilla Application Suite → Core
QA Contact: ian
Version: unspecified → Trunk
Assignee: general → jst
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
*** Bug 287007 has been marked as a duplicate of this bug. ***
Attachment #191294 - Flags: superreview?(peterv)
Attachment #191294 - Flags: superreview+
Attachment #191294 - Flags: review?(peterv)
Attachment #191294 - Flags: review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: