Closed Bug 97020 Opened 23 years ago Closed 23 years ago

Memory leak of 8192 bytes from 1 block allocated in nsNntpService::NewChannel()

Categories

(MailNews Core :: Networking: NNTP, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: stephend, Assigned: Bienvenu)

References

Details

(Keywords: memory-leak)

MLK: Memory leak of 8192 bytes from 1 block allocated in PR_Malloc
        Distribution of leaked blocks
              8192 bytes from 1 block of 8192 bytes (0x0effb9a0) 
        Allocation location
            malloc+0xc           [C:\WINNT\SYSTEM32\msvcrt.DLL ip=0x580013eb]
            PR_Malloc+0x2c       [.\../../../../pr/src/malloc/prmem.c:50 
ip=0x30018c5c]
            nsNntpService::NewChannel(nsIURI *,nsIChannel * *)+0xa9 
[c:\moz_src\mozilla\mailnews\news\src\nsNntpService.cpp:1275 ip=0x08d2a4a5]
            nsIOService::NewChannelFromURI(nsIURI *,nsIChannel * *)+0x673 
[c:\moz_src\mozilla\netwerk\base\src\nsIOService.cpp:751 ip=0x0458dcc6]
            imgLoader::LoadImage(nsIURI *,nsILoadGroup *,imgIDecoderObserver 
*,nsISupports *,UINT,imgIRequest * *)+0x40e 
[c:\moz_src\mozilla\modules\libpr0n\src\imgLoader.cpp:125 ip=0x05c77494]
            nsImageFrame::LoadImage(nsAString const&,nsIPresContext 
*,imgIRequest * *)+0x3ea 
[c:\moz_src\mozilla\layout\html\base\src\nsImageFrame.cpp:1528 ip=0x08518250]
            nsImageFrame::Init(nsIPresContext *,nsIContent *,nsIFrame 
*,nsIStyleContext *,nsIFrame *)+0x3b1 
[c:\moz_src\mozilla\layout\html\base\src\nsImageFrame.cpp:252 ip=0x085128f1]
            nsCSSFrameConstructor::InitAndRestoreFrame(nsIPresContext 
*,nsFrameConstructorState&,nsIContent *,nsIFrame *,nsIStyleContext *,nsIFrame 
*,nsIFrame *)+0x72 [.\.\WIN32_O.OBJ\nsCSSFrameConstructor.obj:6818 
ip=0x085777ac]
            nsCSSFrameConstructor::ConstructFrameByTag(nsIPresShell 
*,nsIPresContext *,nsFrameConstructorState&,nsIContent *,nsIFrame *,nsIAtom 
*,int,nsIStyleContext *,nsFrameItems&)+0x1749 
[c:\moz_src\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp:5060 
ip=0x08572117]
            nsCSSFrameConstructor::ConstructFrameInternal(nsIPresShell 
*,nsIPresContext *,nsFrameConstructorState&,nsIContent *,nsIFrame *,nsIAtom 
*,int,nsIStyleContext *,nsFrameItems&,int)+0x5e1 
[.\.\WIN32_O.OBJ\nsCSSFrameConstructor.obj:7355 ip=0x0857838b]
Adding mlk kw.
Keywords: mlk
Summary: MLK: Memory leak of 8192 bytes from 1 block allocated in PR_Malloc → Memory leak of 8192 bytes from 1 block allocated in PR_Malloc
Blocks: 92580
Summary: Memory leak of 8192 bytes from 1 block allocated in PR_Malloc → Memory leak of 8192 bytes from 1 block allocated in nsNntpService::NewChannel()
Taking - Stephen, were you clicking on a newsgroup message with an image in it?
That stack trace is a bit odd. If so, could you identify the message and
newsgroup? Thanks!
Assignee: sspitzer → bienvenu
Steps to reproduce would've been nice, wouldn't they? :-)  David, yes I was
reading a news postings with 2 jpeg images rougly 50k each in size.
No longer blocks: 92580
in a consumer oriented release, we probably don't want to have large leaks with
news messages with images :)
Keywords: nsbeta1nsbeta1+
This doesn't leak anymore, atleast when clicking on news messages w/ jpeg 
images. reopen if you see it again.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
I don't see this anymore, myself.

Windows 2000, current trunk CVS, Purify.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.