Closed Bug 266408 Opened 20 years ago Closed 20 years ago

###!!! ASSERTION: You are calling CreateInstance "@mozilla.org/intl/stringbundle;1" when a service for this CID already exists! Add it to abusedContracts to track down the service consumer.: 'Error', file r:/

Categories

(Core :: Internationalization, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

(Keywords: assertion)

Attachments

(1 file)

###!!! ASSERTION: You are calling CreateInstance "@mozilla.org/intl/stringbundle;1" when a service for 
this CID already exists! Add it to abusedContracts to track down the service consumer.: 'Error', file r:/
mozilla/xpcom/components/nsComponentManager.cpp, line 1961
Break: at file r:/mozilla/xpcom/components/nsComponentManager.cpp, line 1961
 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x03ffe9d0, const char * 
aExpr=0x00386c74, const char * aFile=0x0038ea1c, int aLine=0x000007a9)  Line 109
	C++
 	xpcom_core.dll!nsComponentManagerImpl::CreateInstanceByContractID(const char * 
aContractID=0x003f7ea0, nsISupports * aDelegate=0x003ff050, const nsID & aIID={...}, void * * 
aResult=0x0038eac4)  Line 1961 + 0x17	C++
 	xpcom_core.dll!nsCreateInstanceByContractID::operator()(const nsID & aIID={...}, void * * 
aInstancePtr=0x0012ce84)  Line 76 + 0x1a	C++
 	i18n.dll!nsCOMPtr<nsIStringBundleService>::assign_from_helper(const nsCOMPtr_helper & 
helper={...}, const nsID & aIID={...})  Line 1051 + 0x10	C++
 	i18n.dll!nsCOMPtr<nsIStringBundleService>::nsCOMPtr<nsIStringBundleService>(const 
nsCOMPtr_helper & helper={...})  Line 590	C++
>	i18n.dll!nsEntityConverter::LoadVersionPropertyFile()  Line 70
	C++
 	i18n.dll!nsEntityConverter::GetVersionBundleInstance(unsigned int versionNumber=0x00000001)  
Line 151	C++
 	i18n.dll!nsEntityConverter::ConvertToEntity(unsigned short character=0xf050, unsigned int 
entityVersion=0x00000010, char * * _retval=0x0038eac4)  Line 191 + 0x9
	C++
 	gklayout.dll!nsHTMLContentSerializer::AppendToString(const nsAString & aStr={...}, nsAString & 
aOutputStr={...}, int aTranslateEntities=0x0012d4b4, int aIncrColumn=0x00000000)  Line 970 + 0x1e
	C++
 	gklayout.dll!nsXMLContentSerializer::SerializeAttr(const nsAString & aPrefix={...}, const nsAString & 
aName={...}, const nsAString & aValue={...}, nsAString & aStr={...}, int aDoEscapeEntities=0x00000001)  
Line 471	C++
 	gklayout.dll!nsHTMLContentSerializer::SerializeAttributes(nsIContent * aContent=0x003ff050, 
nsIAtom * aTagName=0x00000010, nsAString & aStr={...})  Line 576
	C++
 	gklayout.dll!nsHTMLContentSerializer::AppendElementStart(nsIDOMElement * 
aElement=0x003ff050, int aHasChildren=0x00000010, nsAString & aStr={...})  Line 750
	C++
 	gklayout.dll!nsDocumentEncoder::SerializeNodeStart(nsIDOMNode * aNode=0x03ca9fec, int 
aStartOffset=0x03ca9fec, int aEndOffset=0x00000001, nsAString & aStr={...})  Line 294
	C++
 	gklayout.dll!nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * aNode=0x03ca9fec, 
nsAString & aStr={...})  Line 355 + 0x13	C++
 	gklayout.dll!nsDocumentEncoder::SerializeRangeNodes(nsIDOMRange * aRange=0x035ffdc0, 
nsIDOMNode * aNode=0x03ca9fec, nsAString & aString={...}, int aDepth=0x00000001)  Line 662 + 
0xb	C++
 	gklayout.dll!nsDocumentEncoder::SerializeRangeNodes(nsIDOMRange * aRange=0x035ffdc0, 
nsIDOMNode * aNode=0x03b99bdc, nsAString & aString={...}, int aDepth=0x00000000)  Line 739 + 
0x15	C++
 	gklayout.dll!nsDocumentEncoder::SerializeRangeToString(nsIDOMRange * aRange=0x035ffdc0, 
nsAString & aOutputString={...})  Line 864 + 0x12	C++
 	gklayout.dll!nsDocumentEncoder::EncodeToString(nsAString & aOutputString={...})  Line 916
	C++
 	gklayout.dll!nsHTMLCopyEncoder::EncodeToStringWithContext(nsAString & aEncodedString={...}, 
nsAString & aContextString={...}, nsAString & aInfoString={...})  Line 1204 + 0xd
	C++
 	gklayout.dll!nsTransferableFactory::SerializeNodeOrSelection(nsTransferableFactory::
serializationMode inMode=0x80000000, unsigned int inFlags=0x0012ce04, nsIDOMWindow * 
inWindow=0x0036ac18, nsIDOMNode * inNode=0x003f7ea0, nsAString & outResultString={...}, 
nsAString & outContext={...}, nsAString & outInfo={...})  Line 1539 + 0x17
	C++
 	gklayout.dll!nsTransferableFactory::Produce(nsITransferable * * outTrans=0x0038eac4)  Line 1160 
+ 0x1e	C++
 	gklayout.dll!nsTransferableFactory::CreateFromEvent(nsIDOMEvent * inMouseEvent=0x017c27e8, 
nsIFlavorDataProvider * inFlavorDataProvider=0x034a12c0, nsITransferable * * outTrans=0x0012dc9c)  
Line 837 + 0xb	C++
 	gklayout.dll!nsContentAreaDragDrop::CreateTransferable(nsIDOMEvent * 
inMouseEvent=0x017c27e8, nsITransferable * * outTrans=0x0012dc9c)  Line 577 + 0x19
	C++
 	gklayout.dll!nsContentAreaDragDrop::DragGesture(nsIDOMEvent * inMouseEvent=0x017c27e8)  
Line 649 + 0x17	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext * aPresContext=0x034a12b8, 
nsEvent * aEvent=0x0012f63c, nsIDOMEvent * * aDOMEvent=0x0012f608, nsIDOMEventTarget * 
aCurrentTarget=0x03116208, unsigned int aFlags=0x00000002, nsEventStatus * 
aEventStatus=0x0012f68c)  Line 1607 + 0x2c	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, nsEvent 
* aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int aFlags=0x00000010, 
nsEventStatus * aEventStatus=0x0038eac4)  Line 2820	C++
 	gklayout.dll!nsXULElement::HandleChromeEvent(nsPresContext * aPresContext=0x030d9c58, 
nsEvent * aEvent=0x0012f63c, nsIDOMEvent * * aDOMEvent=0x0012f608, unsigned int 
aFlags=0x00000002, nsEventStatus * aEventStatus=0x0012f68c)  Line 3945 + 0x1a
	C++
 	gklayout.dll!GlobalWindowImpl::HandleDOMEvent(nsPresContext * aPresContext=0x030d9c58, 
nsEvent * aEvent=0x0012f63c, nsIDOMEvent * * aDOMEvent=0x0012f608, unsigned int 
aFlags=0x00000002, nsEventStatus * aEventStatus=0x0012f68c)  Line 934
	C++
 	gklayout.dll!nsDocument::HandleDOMEvent(nsPresContext * aPresContext=0x030d9c58, nsEvent * 
aEvent=0x0012f63c, nsIDOMEvent * * aDOMEvent=0x0012f608, unsigned int aFlags=0x00000002, 
nsEventStatus * aEventStatus=0x0012f68c)  Line 3838	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2033 + 0x1c
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericHTMLElement::HandleDOMEventForAnchors(nsPresContext * 
aPresContext=0x0036ac18, nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, 
unsigned int aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 1384
	C++
 	gklayout.dll!nsGenericElement::HandleDOMEvent(nsPresContext * aPresContext=0x0036ac18, 
nsEvent * aEvent=0x003f7ea0, nsIDOMEvent * * aDOMEvent=0x003ff050, unsigned int 
aFlags=0x00000010, nsEventStatus * aEventStatus=0x0038eac4)  Line 2026
	C++
 	gklayout.dll!nsGenericDOMDataNode::HandleDOMEvent(nsPresContext * 
aPresContext=0x030d9c58, nsEvent * aEvent=0x0012f63c, nsIDOMEvent * * aDOMEvent=0x0012f608, 
unsigned int aFlags=0x00000000, nsEventStatus * aEventStatus=0x0012f68c)  Line 757 + 0x1d
	C++
 	gklayout.dll!nsEventStateManager::GenerateDragGesture(nsPresContext * 
aPresContext=0x030d9c58, nsGUIEvent * aEvent=0x03b29488)  Line 1515
	C++
 	gklayout.dll!nsEventStateManager::PreHandleEvent(nsPresContext * aPresContext=0x030d9c58, 
nsEvent * aEvent=0x0012f984, nsIFrame * aTargetFrame=0x02d38f0c, nsEventStatus * 
aStatus=0x0012f864, nsIView * aView=0x03227688)  Line 481
	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012f984, nsIView * 
aView=0x03227688, unsigned int aFlags=0x00000001, nsEventStatus * aStatus=0x0012f864)  Line 
5956	C++
 	gklayout.dll!PresShell::HandleEvent(nsIView * aView=0x03227688, nsGUIEvent * 
aEvent=0x0012f984, nsEventStatus * aEventStatus=0x0012f864, int aForceHandle=0x00000000, int & 
aHandled=0x01d55810)  Line 5814 + 0x11	C++
 	gklayout.dll!nsViewManager::HandleEvent(nsView * aView=0x003ff050, nsGUIEvent * 
aEvent=0x00000010, int aCaptured=0x0038eac4)  Line 2333
	C++
 	gklayout.dll!nsViewManager::DispatchEvent(nsGUIEvent * aEvent=0x3d888889, nsEventStatus * 
aStatus=0x0012f8d8)  Line 2059 + 0x14	C++
 	gklayout.dll!HandleEvent(nsGUIEvent * aEvent=0x0012f984)  Line 166
	C++
 	gkwidget.dll!nsWindow::DispatchEvent(nsGUIEvent * event=0x0012f984, nsEventStatus & 
aStatus=nsEventStatus_eIgnore)  Line 1074 + 0x3	C++
 	gkwidget.dll!nsWindow::DispatchWindowEvent(nsGUIEvent * event=0x00000000)  Line 1095
	C++
 	gkwidget.dll!nsWindow::DispatchMouseEvent(unsigned int aEventType=0x003ff050, unsigned int 
wParam=0x00000010, nsPoint * aPoint=0x0038eac4)  Line 5333
	C++
 	gkwidget.dll!ChildWindow::DispatchMouseEvent(unsigned int aEventType=0x0000012c, unsigned 
int wParam=0x00000000, nsPoint * aPoint=0x00000000)  Line 5584 + 0x13
	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=0x00000200, unsigned int 
wParam=0x00000000, long lParam=0x02120260, long * aRetValue=0x0012fce8)  Line 4023
	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x001126e6, unsigned int 
msg=0x00000200, unsigned int wParam=0x00000000, long lParam=0x038b264c)  Line 1355 + 0x10
	C++
 	user32.dll!77d43a50() 	
 	user32.dll!77d43b1f() 	
 	user32.dll!GetMessageW()  + 0x125	
 	user32.dll!DispatchMessageW()  + 0xb	
 	appshell.dll!nsAppShellService::Run()  Line 484	C++
 	mozilla.exe!main1(int argc=0x003ff050, char * * argv=0x00000010, nsISupports * 
nativeApp=0x0038eac4)  Line 1336	C++
 	mozilla.exe!main(int argc=0x00000001, char * * argv=0x003f7c10)  Line 1827 + 0x16
	C++
 	mozilla.exe!mainCRTStartup()  Line 400 + 0x11	C
 	kernel32.dll!TermsrvAppInstallMode()  + 0x269
Attachment #163661 - Flags: superreview?(bzbarsky)
Attachment #163661 - Flags: review?(smontagu)
Attachment #163661 - Flags: review?(smontagu) → review+
Comment on attachment 163661 [details] [diff] [review]
getService like all the other children (including the other callsite in this file!!)

sr=me
Attachment #163661 - Flags: superreview?(bzbarsky) → superreview+
mozilla/intl/unicharutil/src/nsEntityConverter.cpp 	1.31
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: