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

VERIFIED WORKSFORME

Status

MailNews Core
Networking: NNTP
VERIFIED WORKSFORME
16 years ago
9 years ago

People

(Reporter: stephend@netscape.com (gone - use stephen.donner@gmail.com instead), Assigned: Bienvenu)

Tracking

({mlk})

Trunk
x86
Windows 2000
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

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]

Comment 1

16 years ago
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

Updated

16 years ago
Blocks: 92580

Updated

16 years ago
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()
(Assignee)

Comment 2

16 years ago
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.

Updated

16 years ago
No longer blocks: 92580
Keywords: nsbeta1
Blocks: 92580
Blocks: 110176

Comment 4

16 years ago
in a consumer oriented release, we probably don't want to have large leaks with
news messages with images :)
Keywords: nsbeta1 → nsbeta1+

Comment 5

16 years ago
This doesn't leak anymore, atleast when clicking on news messages w/ jpeg 
images. reopen if you see it again.
Status: NEW → RESOLVED
Last Resolved: 16 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.