Re: Can't get memory manager assertion
Doug Turner <[email protected]> Sat, 31 Aug 2002 13:14:40 -0700
| Newsgroups | gmane.comp.mozilla.devel.xpcom |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Evan wrote: > Hi. > > I built standalone xpcom from the 1.1 release. When I run nsTestSample, > I get the following: > > ###!!! ASSERTION: can't get memory manager!: 'gMemory', file > d:/src/mozilla/xpco > m/glue/standalone/nsMemory.cpp, line 60 > > I don't know why the asserition fails. gMemory should not still be null > after a call to NS_GetMemoryManager(). Any help is appreciated. > > -e Are you trying unix? If so, try removed the define: XPCOM_GLUE from the makefile. Let me know if that works. If not, is the xpcom.dll in the same directory as the nsTestSample application? For reasons why it *can* be null see: http://www.mozilla.org/projects/xpcom/glue/Component_Reuse.html