Closed Bug 103999 Opened 25 years ago Closed 24 years ago

Leaking 1280 bytes from morkMap::new_assocs switching between newsgroups.

Categories

(MailNews Core :: Database, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Bienvenu)

Details

(Keywords: memory-leak)

Attachments

(1 file)

Current trunk, Windows 2000. Steps to Reproduce: 1. Have 2 newsgroups set up, I had netscape.public.test and netscape.test. 2. Switch between them (no need to click on messages). [W] MLK: Memory leak of 1280 bytes from 1 block allocated in orkinHeap::Alloc (nsIMdbEnv *,UINT,void * *) Distribution of leaked blocks 1280 bytes from 1 block of 1280 bytes (0x090c61d8) Allocation location new(UINT)+0xc [C:\WINNT\SYSTEM32\msvcrt.DLL ip=0x580039cb] orkinHeap::Alloc(nsIMdbEnv *,UINT,void * *)+0x24 [c:\moz_src\mozilla\db\mork\src\orkinHeap.cpp:91 ip=0x094164bf] morkMap::new_assocs(morkEnv *,UINT)+0x2c [c:\moz_src\mozilla\db\mork\src\morkMap.cpp:412 ip=0x094320d4] morkMap::new_arrays(morkEnv *,morkHashArrays *,UINT)+0x96 [c:\moz_src\mozilla\db\mork\src\morkMap.cpp:430 ip=0x094321c4] morkMap::grow(morkEnv *)+0x82 [c:\moz_src\mozilla\db\mork\src\morkMap.cpp:521 ip=0x0943268c] morkMap::Put(morkEnv *,void const*,void const*,void *,void *,BYTE * *)+0xf7 [c:\moz_src\mozilla\db\mork\src\morkMap.cpp:580 ip=0x094329c2] morkAtomAidMap::AddAtom(morkEnv *,morkBookAtom *)+0x63 [c:\moz_src\mozilla\db\mork\src\morkAtomMap.cpp:215 ip=0x09439124] morkBuilder::OnNewRow(morkEnv *,morkPlace const&,morkMid const&,BYTE)+0x33c [c:\moz_src\mozilla\db\mork\src\morkBuilder.cpp:542 ip=0x094377fe] morkParser::ReadRow(morkEnv *,int)+0x186 [c:\moz_src\mozilla\db\mork\src\morkParser.cpp:669 ip=0x09444afa] morkParser::ReadTable(morkEnv *)+0x30e [c:\moz_src\mozilla\db\mork\src\morkParser.cpp:789 ip=0x09445241] morkParser::ReadContent(morkEnv *,BYTE)+0xdd [c:\moz_src\mozilla\db\mork\src\morkParser.cpp:1424 ip=0x094470ef] ??? [ip=0x09085908] morkParser::OnPortState(morkEnv *)+0xa3 [c:\moz_src\mozilla\db\mork\src\morkParser.cpp:1466 ip=0x094472e0] ??? [ip=0x09085908] morkParser::ParseLoop(morkEnv *)+0x182 [c:\moz_src\mozilla\db\mork\src\morkParser.cpp:1522 ip=0x0944768c] ??? [ip=0x09085908] morkThumb::DoMore(morkEnv *,UINT *,UINT *,BYTE *,BYTE *)+0xb5 [c:\moz_src\mozilla\db\mork\src\morkThumb.cpp:369 ip=0x09423a24] orkinThumb::DoMore(nsIMdbEnv *,UINT *,UINT *,BYTE *,BYTE *)+0xb0 [c:\moz_src\mozilla\db\mork\src\orkinThumb.cpp:245 ip=0x094245a5] nsMsgDatabase::OpenMDB(char const*,int)+0x3ed [c:\moz_src\mozilla\mailnews\db\msgdb\src\nsMsgDatabase.cpp:935 ip=0x0dc8bad2] nsNewsDatabase::Open(nsIFileSpec *,int,int,nsIMsgDatabase * *) +0x23b [c:\moz_src\mozilla\mailnews\db\msgdb\src\nsNewsDatabase.cpp:132 ip=0x0dc87280]
Keywords: mlk
QA Contact: esther → stephend
I don't see this anymore. I'll try again but I hope this is fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I still see this with the original testcase. David, sure you don't have some extra leak-fixing goodness in your tree that fixes this locally? I'll attack output.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Keywords: nsbeta1
Keywords: nsbeta1 → nsbeta1+
Fixed. After David's landing, I no longer see this.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
Verified FIXED. I haven't been able to make Mork leak yet.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
Depends on: 2052101
Blocks: 2052101
No longer depends on: 2052101
No longer blocks: 2052101
Depends on: 2052101
No longer depends on: 2052101
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: