Closed
Bug 7202
Opened 26 years ago
Closed 26 years ago
MLK in typelib
Categories
(Core :: XPCOM, defect, P3)
Core
XPCOM
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: bruce, Assigned: mike+mozilla)
Details
Current build from night of May 26, 1999. Solaris 2.6, gcc 2.7.2.3.
MLK: 180 bytes leaked in 9 blocks
* This memory was allocated from:
malloc [rtlib.o]
calloc [rtlib.o]
DoInterfaceDescriptor [xpt_struct.c:454]
DoInterfaceDirectoryEntry [xpt_struct.c:225]
XPT_DoHeader [xpt_struct.c:193]
getHeader(const char*,nsIAllocator*) [nsInterfaceInfoManager.cpp:163]
nsInterfaceInfoManager::indexify_file(const char*)
[nsInterfaceInfoManager.cpp:182]
nsInterfaceInfoManager::initInterfaceTables()
[nsInterfaceInfoManager.cpp:364]
nsInterfaceInfoManager::nsInterfaceInfoManager()
[nsInterfaceInfoManager.cpp:107]
nsInterfaceInfoManager::GetInterfaceInfoManager()
[nsInterfaceInfoManager.cpp:67]
XPTI_GetInterfaceInfoManager [nsInterfaceInfoManager.cpp:468]
nsXPConnect::nsXPConnect() [nsXPConnect.cpp:173]
nsXPConnect::GetXPConnect() [nsXPConnect.cpp:47]
nsXPCFactory::CreateInstance(nsISupports*,const nsID&,void**)
[xpcmodule.cpp:115]
nsComponentManagerImpl::CreateInstance(const nsID&,nsISupports*,const
nsID&,void**) [nsComponentManager.cpp:1118]
nsComponentManager::CreateInstance(const nsID&,nsISupports*,const
nsID&,void**) [nsRepository.cpp:67]
nsServiceManagerImpl::GetService(const nsID&,const
nsID&,nsISupports**,nsIShutdownListener*) [nsServiceManager.cpp:243]
nsServiceManager::GetService(const nsID&,const
nsID&,nsISupports**,nsIShutdownListener*) [nsServiceManager.cpp:445]
NS_CreateContext [nsJSEnvironment.cpp:450]
nsWebShell::CreateScriptEnvironment() [nsWebShell.cpp:2343]
nsWebShell::GetScriptGlobalObject(nsIScriptGlobalObject**)
[nsWebShell.cpp:2371]
DocumentViewerImpl::Init(void*,nsIDeviceContext*,nsIPref*,const
nsRect&,nsScrollPreference) [nsDocumentViewer.cpp:321]
nsWebShell::Embed(nsIContentViewer*,const char*,nsISupports*)
[nsWebShell.cpp:764]
nsDocumentBindInfo::OnStartBinding(nsIURL*,const char*)
[nsDocLoader.cpp:1432]
NET_NGLayoutConverter [nsStubContext.cpp:949]
NET_StreamBuilder [mkstream.c:237]
net_setup_file_stream [mkfile.c:783]
net_ProcessFile [mkfile.c:1319]
NET_ProcessNet [mkgeturl.c:3355]
NET_PollSockets [mkselect.c:298]
* Block of 20 bytes (9 times); last block at 0x408528
Updated•26 years ago
|
Assignee: dp → mccabe
Summary: MLK in XPConnect? → MLK in typelib
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 years ago
|
||
Changing status to ASSIGNED. Thanks for catching this, bruce.
Assignee | ||
Comment 2•26 years ago
|
||
Caught me. There's currently no provision for freeing/unloading interface info
entries. Maybe soon...
Reporter | ||
Comment 3•26 years ago
|
||
David Gardiner posted a patch in netscape.public.mozilla.patches that should at
least take care of part of this leak (maybe not the whole thing if there isn't a
provision for freeing/unloading the entries as you say).
Assignee | ||
Comment 4•26 years ago
|
||
I applied Dave's patch. Thanks for the pointer, Bruce.
I'm not sure I know how to read purify logs. Is there just one leak in this
trace? (my fix was to xpt_struct.c:454)
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•26 years ago
|
||
This (particular) leak is fixed - Bruce set me straight on how to read purify
reports.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•26 years ago
|
||
per developer comments, and this being a code level fix, marking as verified
You need to log in
before you can comment on or make changes to this bug.
Description
•