Closed
Bug 7274
Opened 26 years ago
Closed 26 years ago
MLK: nsURLProperties ?
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: bruce, Assigned: warrensomebody)
Details
May 26, 1999 build. Solaris 2.6, gcc 2.7.2.3, Purify. Happened in
startup/shutdown of apprunner.
MLK: 364 bytes leaked at 0x281b90
* This memory was allocated from:
malloc [rtlib.o]
PR_Malloc [prmem.c:38]
NET_CreateURLStruct [mkgeturl.c:4192]
nsNetlibService::OpenBlockingStream(nsIURL*,nsIStreamListener*,nsIInputS
tream**) [nsNetService.cpp:590]
nsURLProperties::nsURLProperties(nsString&) [nsURLProperties.cpp:46]
nsCharsetAlias2::nsCharsetAlias2() [nsCharsetAliasImp.cpp:66]
nsCharsetAliasFactory::CreateInstance(nsISupports*,const nsID&,void**) [
nsCharsetAliasImp.cpp:168]
nsComponentManagerImpl::CreateInstance(const nsID&,nsISupports*,const ns
ID&,void**) [nsComponentManager.cpp:1118]
nsComponentManager::CreateInstance(const nsID&,nsISupports*,const nsID&,
void**) [nsRepository.cpp:67]
nsServiceManagerImpl::GetService(const nsID&,const nsID&,nsISupports**,n
sIShutdownListener*) [nsServiceManager.cpp:243]
nsServiceManager::GetService(const nsID&,const nsID&,nsISupports**,nsISh
utdownListener*) [nsServiceManager.cpp:445]
nsScanner::SetDocumentCharset(const nsString&,nsCharsetSource) [nsScanne
r.cpp:127]
nsScanner::nsScanner(nsString&,int,const nsString&,nsCharsetSource) [nsS
canner.cpp:88]
nsParser::Parse(nsIURL*,nsIStreamObserver*,int,void*) [nsParser.cpp:632]
RDFXMLDataSourceImpl::Open(int) [nsRDFXMLDataSource.cpp:720]
ServiceImpl::GetDataSource(const char*,nsIRDFDataSource**) [nsRDFService
.cpp:923]
nsChromeRegistry::Init(const char*) [nsChromeRegistry.cpp:469]
nsChromeRegistry::InitRegistry() [nsChromeRegistry.cpp:320]
nsNetlibService::OpenStream(nsIURL*,nsIStreamListener*) [nsNetService.cp
p:406]
nsDocumentBindInfo::Bind(nsIURL*,nsIStreamListener*) [nsDocLoader.cpp:12
67]
nsDocumentBindInfo::Bind(const nsString&,nsIPostData*,nsIStreamListener*
) [nsDocLoader.cpp:1230]
nsDocLoaderImpl::LoadDocument(const nsString&,const char*,nsIContentView
erContainer*,nsIPostData*,nsISupports*,nsIStreamObserver*,nsURLReloadType,unsign
ed int) [nsDocLoader.cpp:496]
nsWebShell::DoLoadURL(const nsString&,const char*,nsIPostData*,nsURLRelo
adType,unsigned int) [nsWebShell.cpp:1603]
nsWebShell::LoadURL(const unsigned short*,const char*,nsIPostData*,int,n
sURLReloadType,unsigned int) [nsWebShell.cpp:1685]
nsWebShell::LoadURL(const unsigned short*,nsIPostData*,int,nsURLReloadTy
pe,unsigned int) [nsWebShell.cpp:1529]
nsWebShellWindow::Initialize(nsIWebShellWindow*,nsIAppShell*,nsIURL*,nsI
StreamObserver*,nsIXULWindowCallbacks*,int,int) [nsWebShellWindow.cpp:355]
nsAppShellService::CreateTopLevelWindow(nsIWebShellWindow*,nsIURL*,int,n
sIWebShellWindow*&,nsIStreamObserver*,nsIXULWindowCallbacks*,int,int) [nsAppShel
lService.cpp:469]
main [nsAppRunner.cpp:471]
_start [crt1.o]
Reporter | ||
Updated•26 years ago
|
Summary: MLK: URL Struct → MLK: nsURLProperties ?
Reporter | ||
Comment 1•26 years ago
|
||
Looking at more logs, a lot of things are leaking that are related to this stack
trace that fork off at the nsURLProperties point.
Updated•26 years ago
|
Assignee: ftang → warren
Comment 3•26 years ago
|
||
erik, I copy the code from the testing code. Is that true that I should close
that stream after I finished ?
I take a look at NetlibService::OpenBlockingStream, it seems the problem is
NET_FreeURLStruct have not been called to free inside that routine. Reassign
this to warren since he put down the NET_CreateURLStruct line in
mozilla/network/module/nsNetService.cpp. Warren, if you think it is a
problem of the caller (of NetlibService::OpenBlockingStream), please reassing
this back to me and tell me which method I should call to free that.
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 4•26 years ago
|
||
Old netlib stuff. Won't fix.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•