Closed Bug 5552 Opened 26 years ago Closed 26 years ago

MLK: all image decoders

Categories

(Core :: Graphics: ImageLib, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: pnunn)

Details

We appear to be leaking all image decoders. This happens on unix at least, but is probably XP. This is one-per-image. MLK: 3480 bytes leaked in 15 blocks * This memory was allocated from: malloc [rtlib.o] __bUiLtIn_nEw [libgcc.a] __builtin_new [rtlib.o] nsGIFDecFactory::CreateInstance(nsISupports*,const nsID&,void**) [nsGIFDecoder.cpp:214] nsComponentManagerImpl::CreateInstance(const nsID&,nsISupports*,const nsID&,void**) [nsComponentManager.cpp:1112] nsComponentManagerImpl::CreateInstance(const char*,nsISupports*,const nsID&,void**) [nsComponentManager.cpp:1145] nsComponentManager::CreateInstance(const char*,nsISupports*,const nsID&,void**) [nsRepository.cpp:79] IL_StreamFirstWrite(il_container_struct*,const unsigned char*,int) [if.cpp:1092] NetReaderImpl::FirstWrite(const unsigned char*,int) [ilNetReader.cpp:81] ImageConsumer::OnDataAvailable(nsIURL*,nsIInputStream*,unsigned int) [nsImageNetContextAsync.cpp:218] stub_put_block(_NET_StreamClass*,const char*,int) [nsStubContext.cpp:827] net_read_file_chunk [mkfile.c:956] net_ProcessFile [mkfile.c:1327] NET_ProcessNet [mkgeturl.c:3355] NET_PollSockets [mkselect.c:298] nsNetlibService::NetPollSocketsCallback(nsITimer*,void*) [nsNetService.cpp:1263] TimerImpl::FireTimeout() [nsTimer.cpp:73] nsTimerExpired [nsTimer.cpp:189] g_timeout_dispatch [gmain.c:1147] g_main_dispatch [gmain.c:647] g_main_iterate [gmain.c:854] g_main_run [gmain.c:912] gtk_main [gtkmain.c:475] nsAppShell::Run() [nsAppShell.cpp:202] nsNativeViewerApp::Run() [nsGTKMain.cpp:42] main [nsGTKMain.cpp:89] _start [crt1.o] * Block of 232 bytes (15 times); last block at 0x3761a8
Status: NEW → ASSIGNED
thanks, bruce. I'll get right on it. -pn
I think I've found the leaks. looks ok on wintel. Let me try linux. -pn
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Looks good on Solaris under Purify, so all is well on "the one true platform".
You need to log in before you can comment on or make changes to this bug.