Closed
Bug 339504
Opened 18 years ago
Closed 17 years ago
Local home page causes assertion: "preserved wrapper table not empty at shutdown"
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, memory-leak, testcase)
Attachments
(1 file)
72 bytes,
text/html
|
Details |
First, save the testcase (an emptyish html file) as xxx.html. Then:
1. firefox-bin xxx.html
2. cmd+q
or
1. set xxx.html as your home page
2. firefox-bin
3. cmd+q
Result:
###!!! ASSERTION: preserved wrapper table not empty at shutdown: 'sPreservedWrapperTable.ops == 0', file /Users/admin/trunk/mozilla/dom/src/base/nsDOMClassInfo.cpp, line 3669
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060527 SeaMonkey/1.5a
Comment 3•18 years ago
|
||
I have a similar problem with embedded Xulrunner trunk 2006-07-03 on Windows.
The operations to cause the assertion were:
1. Create a new document or load one from the disk.
2. Create an editing session (load triggered, in case of a document load)
3. Modify the document in the editor.
4. Save the document using nsIWebBrowserPersist.
5. Close the application, destroying all object references.
Omission of step 4 results in no assertions.
Value of sPreservedWrapperTable.ops is 0x01ad1904.
Call stack from Visual Studio 2005:
xul.dll!NS_DebugBreak_P(unsigned int aSeverity=, const char * aStr=, const char * aExpr=, const char * aFile=, int aLine=) Line 352 C++
> xul.dll!nsDOMClassInfo::ShutDown() Line 3691 + 0x27 bytes C++
xul.dll!nsDOMScriptObjectFactory::Observe(nsISupports * aSubject=0x01e77a3c, const char * aTopic=0x019ac150, const unsigned short * someData=0x00000000) Line 286 + 0x5 bytes C++
xul.dll!nsObserverList::NotifyObservers(nsISupports * aSubject=0x01e77a3c, const char * aTopic=0x019ac150, const unsigned short * someData=0x00000000) Line 128 + 0x1a bytes C++
xul.dll!nsObserverService::NotifyObservers(nsISupports * aSubject=0x01e77a3c, const char * aTopic=0x019ac150, const unsigned short * someData=0x00000000) Line 177 C++
xul.dll!NS_ShutdownXPCOM_P(nsIServiceManager * servMgr=0x00000000) Line 706 C++
xul.dll!XRE_TermEmbedding() Line 161 C++
WTLMozDemo.exe!WTLMozDemoTermEmbedding() Line 214 + 0x8 bytes C++
Comment 4•18 years ago
|
||
I get this every time on restart after XPCOM auto-registration, Windows.
Reporter | ||
Comment 5•17 years ago
|
||
This assertion was removed from nsDOMClassInfo.cpp with the landing of the XPCOM cycle collector (bug 333078).
I don't see any assertions or string leaks when I launch with a local file on the command line.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•