###!!! ASSERTION: How did we get destroyed when there are loading data?: '(!mLoadingDatas.IsInitialized()) || mLoadingDatas.Count() == 0', file r:/mozilla/layout/style/nsCSSLoader.cpp, line 244

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
P5
minor
14 years ago
11 years ago

People

(Reporter: timeless, Unassigned)

Tracking

({assertion})

Trunk
x86
Windows XP
assertion
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
###!!! ASSERTION: How did we get destroyed when there are loading data?:
'(!mLoadingDatas.IsInitialized()) || mLoadingDatas.Count() == 0', file
r:/mozilla/layout/style/nsCSSLoader.cpp, line 244

	(((*(nsTHashtable<nsBaseHashtableET<nsURIHashKey,SheetLoadData *>
>*)(&(*(nsBaseHashtable<nsURIHashKey,SheetLoadData *,SheetLoadData
*>*)(&(*this).mLoadingDatas))))).mTable).entryCount	0x00000001	unsigned int

>	xpcom_core.dll!nsDebugImpl::Assertion(const char * aStr=0x025aca88, const char
* aExpr=0x025aca48, const char * aFile=0x025aca20, int aLine=0x000000f4)  Line
301	C++
 	xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x025aca88, const char *
aExpr=0x025aca48, const char * aFile=0x025aca20, int aLine=0x000000f4)  Line 109	C++
 	gklayout.dll!CSSLoaderImpl::~CSSLoaderImpl()  Line 244 + 0x38	C++
 	gklayout.dll!CSSLoaderImpl::`scalar deleting destructor'()  + 0xf	C++
 	gklayout.dll!CSSLoaderImpl::Release()  Line 249 + 0xd3	C++
 	gklayout.dll!nsCOMPtr<nsICSSLoader>::~nsCOMPtr<nsICSSLoader>()  Line 584	C++
 	gklayout.dll!nsDocument::~nsDocument()  Line 604 + 0x54	C++
 	gklayout.dll!nsXMLDocument::~nsXMLDocument()  Line 197 + 0x24	C++
 	gklayout.dll!nsXMLDocument::`scalar deleting destructor'()  + 0xf	C++
 	gklayout.dll!nsDocument::Release()  Line 659 + 0xe8	C++
 	gklayout.dll!nsXMLDocument::Release()  Line 210 + 0xc	C++
 	gklayout.dll!nsCOMPtr<nsIDocument>::~nsCOMPtr<nsIDocument>()  Line 584	C++
 	gklayout.dll!nsContentSink::~nsContentSink()  Line 155 + 0x63	C++
 	gklayout.dll!nsXMLContentSink::~nsXMLContentSink()  Line 164 + 0x2f	C++
 	gklayout.dll!nsXMLContentSink::`scalar deleting destructor'()  + 0xf	C++
 	gklayout.dll!nsContentSink::Release()  Line 146 + 0xd3	C++
 	gklayout.dll!nsXMLContentSink::Release()  Line 189 + 0xc	C++
 
gklayout.dll!nsCOMPtr<nsIScriptLoaderObserver>::~nsCOMPtr<nsIScriptLoaderObserver>()
 Line 584	C++
 	gklayout.dll!nsScriptLoaderObserverProxy::ScriptAvailable(unsigned int
aResult=0x80520001, nsIScriptElement * aElement=0x034b0174, int
aIsInline=0x00000000, int aWasPending=0x00000001, nsIURI * aURI=0x01ac9760, int
aLineNo=0x00000001, const nsAString & aScript={...})  Line 121 + 0x3e	C++
 	gklayout.dll!nsScriptLoader::FireScriptAvailable(unsigned int
aResult=0x80520001, nsScriptLoadRequest * aRequest=0x035fd888, const nsString &
aScript={...})  Line 650	C++
 	gklayout.dll!nsScriptLoader::OnStreamComplete(nsIStreamLoader *
aLoader=0x03579f88, nsISupports * aContext=0x035fd888, unsigned int
aStatus=0x80520001, unsigned int stringLen=0x00000000, const unsigned char *
string=0x00000000)  Line 813	C++
 	xpcom_core.dll!XPTC_InvokeByIndex(nsISupports * that=0x035a07c4, unsigned int
methodIndex=0x00000003, unsigned int paramCount=0x00000005, nsXPTCVariant *
params=0x0355b590)  Line 102	C++
 	xpcom_core.dll!EventHandler(PLEvent * self=0x03590bb0)  Line 563 + 0x29	C++
 	xpcom_core.dll!PL_HandleEvent(PLEvent * self=0x03590bb0)  Line 698 + 0xa	C
 	xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x0114a280)  Line
633 + 0x9	C
 	xpcom_core.dll!_md_EventReceiverProc(HWND__ * hwnd=0x007d15be, unsigned int
uMsg=0x0000c1d6, unsigned int wParam=0x00000000, long lParam=0x0114a280)  Line
1435 + 0x9	C
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageA@4()  + 0xf	
 	mfc71d.dll!AfxInternalPumpMessage()  Line 188	C++
 	mfc71d.dll!CWinThread::PumpMessage()  Line 916	C++
 	mfc71d.dll!CWinThread::Run()  Line 637 + 0xb	C++
 	mfc71d.dll!CWinApp::Run()  Line 701	C++
 	mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=0x0000000a)
 Line 49 + 0xb	C++
 	mfcembed.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=0x0000000a)
 Line 25	C++
 	mfcembed.exe!WinMainCRTStartup()  Line 390 + 0x39	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23
(Reporter)

Comment 1

14 years ago
reproducable. steps (for all three asserts)
1. run mfcembed
2. file>new editor window
3. file>open
4. enter: http://www.macromedia.com
5. open
6. step through your 3 asserts
I can't run mfcembed... is there a reasonable way I could reproduce this? 
What's  the URI of the XML document being destroyed?
Assignee: bzbarsky → nobody
(Reporter)

Updated

13 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
QA Contact: ian → style-system
You need to log in before you can comment on or make changes to this bug.