Closed Bug 294422 Opened 20 years ago Closed 7 years ago

###!!! ASSERTION: bad constant name: '0', file r:/mozilla/js/src/xpconnect/src/xpcwrappednativeinfo.cpp, line 416

Categories

(Core :: XPConnect, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: timeless, Unassigned)

Details

(Keywords: assertion)

steps:
JS_RUNTIME_SIZE=15
run winembed
visit http://google.com/search?q=95050

JavaScript error: , line 0:
###!!! ASSERTION: bad constant name: '0', file
r:/mozilla/js/src/xpconnect/src/xpcwrappednativeinfo.cpp, line 416
Break: at file r:/mozilla/js/src/xpconnect/src/xpcwrappednativeinfo.cpp, line 416

-	constant	0x01622c48	const nsXPTConstant *
\-	XPTConstDescriptor	{name=0x01622f68 "KEYUP" type={prefix={flags=0x02 '␂' }
argnum=0x00 argnum2=0x00 ...} value={i8=0x00 ui8=0x00 i16=0x0200 ...} }
XPTConstDescriptor
 |+	name	0x01622f68 "KEYUP"	char *
 |+	type	{prefix={flags=0x02 '␂' } argnum=0x00 argnum2=0x00 ...}	XPTTypeDescriptor
 \+	value	{i8=0x00 ui8=0x00 i16=0x0200 ...}	XPTConstValue

seems like a perfectly good constant name to me :) [of course, we ran out of
memory which is why internstring failed...]

 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x00bbe420, const char *
aExpr=0x00bbe41c, const char * aFile=0x00bbe3e0, int aLine=0x000001a0)  Line 109	C++
 	xpc3250.dll!XPCNativeInterface::NewInstance(XPCCallContext & ccx={...},
nsIInterfaceInfo * aInfo=0x016ca088)  Line 416 + 0x23	C++
 	xpc3250.dll!XPCNativeInterface::GetNewOrUsed(XPCCallContext & ccx={...}, const
nsID * iid=0x017d27d8)  Line 206 + 0x12	C++
 	xpc3250.dll!XPCNativeSet::GetNewOrUsed(XPCCallContext & ccx={...},
nsIClassInfo * classInfo=0x030fd07c)  Line 610 + 0xd	C++
 	xpc3250.dll!XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext & ccx={...},
XPCWrappedNativeScope * Scope=0x01607210, nsIClassInfo * ClassInfo=0x030fd07c,
const XPCNativeScriptableCreateInfo * ScriptableCreateInfo=0x0012eee4, int
ForceNoSharing=0x00000000)  Line 216 + 0xd	C++
 	xpc3250.dll!XPCWrappedNative::GetNewOrUsed(XPCCallContext & ccx={...},
nsISupports * Object=0x016aa920, XPCWrappedNativeScope * Scope=0x01607210,
XPCNativeInterface * Interface=0x017b0f58, XPCWrappedNative * *
resultWrapper=0x0012ef14)  Line 359 + 0x1c	C++
 	xpc3250.dll!XPCConvert::NativeInterface2JSObject(XPCCallContext & ccx={...},
nsIXPConnectJSObjectHolder * * dest=0x0012f1b8, nsISupports * src=0x016aa920,
const nsID * iid=0x01e536e8, JSObject * scope=0x01611740, unsigned int *
pErr=0x0012ef58)  Line 1060 + 0x1e	C++
 	xpc3250.dll!nsXPConnect::WrapNative(JSContext * aJSContext=0x015ffb08,
JSObject * aScope=0x01611740, nsISupports * aCOMObj=0x016aa920, const nsID &
aIID={...}, nsIXPConnectJSObjectHolder * * _retval=0x0012f1b8)  Line 567 + 0x1d	C++
 	gklayout.dll!nsJSEventListener::HandleEvent(nsIDOMEvent * aEvent=0x016aa920) 
Line 189 + 0x39	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x031435e0, nsIDOMEvent * aDOMEvent=0x016aa920,
nsIDOMEventTarget * aCurrentTarget=0x015feb6c, unsigned int aSubType=0x00000001,
unsigned int aPhaseFlags=0x00000007)  Line 1557 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x0314eb88, nsEvent * aEvent=0x0012f4fc, nsIDOMEvent * *
aDOMEvent=0x0012f410, nsIDOMEventTarget * aCurrentTarget=0x015feb6c, unsigned
int aFlags=0x00000007, nsEventStatus * aEventStatus=0x0012f4f8)  Line 1656	C++
 	gklayout.dll!nsGlobalWindow::HandleDOMEvent(nsPresContext *
aPresContext=0x0314eb88, nsEvent * aEvent=0x0012f4fc, nsIDOMEvent * *
aDOMEvent=0x0012f410, unsigned int aFlags=0x00000007, nsEventStatus *
aEventStatus=0x0012f4f8)  Line 918	C++
 	gklayout.dll!DocumentViewerImpl::LoadComplete(unsigned int aStatus=0x00000000)
 Line 987 + 0x23	C++
 	docshell.dll!nsDocShell::EndPageLoad(nsIWebProgress * aProgress=0x00b1ac4c,
nsIChannel * aChannel=0x031550d0, unsigned int aStatus=0x00000000)  Line 4573	C++
 	docshell.dll!nsWebShell::EndPageLoad(nsIWebProgress * aProgress=0x00b1ac4c,
nsIChannel * channel=0x031550d0, unsigned int aStatus=0x00000000)  Line 665	C++
 	docshell.dll!nsDocShell::OnStateChange(nsIWebProgress * aProgress=0x00b1ac4c,
nsIRequest * aRequest=0x031550d0, unsigned int aStateFlags=0x00020010, unsigned
int aStatus=0x00000000)  Line 4499	C++
 	docshell.dll!nsDocLoader::FireOnStateChange(nsIWebProgress *
aProgress=0x00b1ac4c, nsIRequest * aRequest=0x031550d0, int
aStateFlags=0x00020010, unsigned int aStatus=0x00000000)  Line 1195	C++
 	docshell.dll!nsDocLoader::doStopDocumentLoad(nsIRequest * request=0x031550d0,
unsigned int aStatus=0x00000000)  Line 832	C++
 	docshell.dll!nsDocLoader::DocLoaderIsEmpty()  Line 729	C++
 	docshell.dll!nsDocLoader::OnStopRequest(nsIRequest * aRequest=0x016eec78,
nsISupports * aCtxt=0x00000000, unsigned int aStatus=0x00000000)  Line 653	C++
 	necko.dll!nsLoadGroup::RemoveRequest(nsIRequest * request=0x016eec78,
nsISupports * ctxt=0x00000000, unsigned int aStatus=0x00000000)  Line 732 + 0x2c	C++
 	gklayout.dll!HandleImagePLEvent(PLEvent * aEvent=0x016eec8c)  Line 651	C++
 	xpcom_core.dll!PL_HandleEvent(PLEvent * self=0x016eec8c)  Line 698 + 0xa	C
 	xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x00ad8d58)  Line
633 + 0x9	C
 	xpcom_core.dll!_md_EventReceiverProc(HWND__ * hwnd=0x00280072, unsigned int
uMsg=0x0000c118, unsigned int wParam=0x00000000, long lParam=0x00ad8d58)  Line
1435 + 0x9	C
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageA@4()  + 0xf	
 	winEmbed.exe!AppCallbacks::RunEventLoop(int & aRunCondition=0x00000001) 
Line 1198	C++
 	winEmbed.exe!main(int argc=0x00000001, char * * argv=0x003d7b80)  Line 188 +
0x9	C++
 	winEmbed.exe!mainCRTStartup()  Line 398 + 0x11	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.