Closed
Bug 106857
Opened 23 years ago
Closed 1 year ago
Memory Leak of 90 bytes in nsLDAPAutoCompleteSession::OnLDAPMessage
Categories
(MailNews Core :: LDAP Integration, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: stephend, Unassigned)
References
Details
(Keywords: memory-leak)
While verifying bug 103085, I found the foll
owing leak:
Trunk CVS pull @8pm (tonight), Windows 2000.
Using the autocomplete setup provided by hong@netscape.com.
dmose had asked a long time ago if I could run this, sorry it took so long.
Steps to Reproduce:
1. Mozilla.exe -compose.
2. Type dmos (it'll complete to Dan Mosedale <dmose@netscape.com>).
3. Tab to subject.
4. Exit.
[W] MLK: Memory leak of 90 bytes from 3 blocks allocated in ber_init
Distribution of leaked blocks
Allocation location
malloc+0xc [C:\WINNT\SYSTEM32\msvcrt.DLL ip=0x580013eb]
ber_init+0x64
[C:\moz_src\mozilla\dist\WIN32_O.OBJ\bin\NSLDAP32V40.dll ip=0x0d7ea574]
??? [ip=0x08ec0c40]
nsLDAPAutoCompleteSession::OnLDAPMessage(nsILDAPMessage *)+0x145
[c:\moz_src\mozilla\xpfe\components\autocomplete\src\nsLDAPAutoCompleteSession.c
pp:392 ip=0x089899df]
// a search entry has been returned
//
=> return OnLDAPSearchEntry(aMessage);
case nsILDAPMessage::RES_SEARCH_RESULT:
XPTC_InvokeByIndex+0x75
[c:\moz_src\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp:152
ip=0x100d36e2]
mov eax,methodIndex
shl eax,2 // *= 4
add edx,eax
=> call [edx] // stdcall, i.e. callee cleans up stack.
}
}
#pragma warning(default : 4035) // restore default
EventHandler+0xb4
[c:\moz_src\mozilla\xpcom\proxy\src\nsProxyEvent.cpp:514 ip=0x100e5df8]
nsresult rv = XPTC_InvokeByIndex( proxyObject->GetRealObject(),
info->GetMethodIndex(),
info->GetParameterCount(),
=> info->GetParameterList());
info->SetResult(rv);
}
else
md_EventReceiverProc+0x61 [c:\moz_src\mozilla\xpcom\threads\plevent.c:1071
ip=0x100cc829]
{
PREventQueue *queue = (PREventQueue *)lParam;
queue->removeMsg = PR_FALSE;
=> PL_ProcessPendingEvents(queue);
queue->removeMsg = PR_TRUE;
#ifdef XP_OS2
return MRFROMLONG(TRUE);
ScrollDC+0x490 [C:\WINNT\SYSTEM32\user32.dll ip=0x77e12e98]
ScrollDC+0x6d8 [C:\WINNT\SYSTEM32\user32.dll ip=0x77e130e0]
DispatchMessageA+0xb [C:\WINNT\SYSTEM32\user32.dll ip=0x77e15824]
DispatchMessageA+0xb [C:\WINNT\SYSTEM32\USER32.DLL ip=0x67e125a2]
nsAppShell::Run(void)+0x37c
[c:\moz_src\mozilla\widget\src\windows\nsAppShell.cpp:121 ip=0x04cf3aab]
// if (!nsToolkit::gAIMMMsgPumpOwner ||
(nsToolkit::gAIMMMsgPumpOwner->OnTranslateMessage(&msg) != S_OK))
//#endif
TranslateMessage(&msg);
=> ::DispatchMessage(&msg);
if (mDispatchListener)
mDispatchListener->AfterDispatch();
}
nsAppShellService::Run(void)+0x3f
[c:\moz_src\mozilla\xpfe\appshell\src\nsAppShellService.cpp:301 ip=0x04622e05]
NS_IMETHODIMP
nsAppShellService::Run(void)
=> {
return mAppShell->Run();
}
main1+0xbe1
[c:\moz_src\mozilla\xpfe\bootstrap\nsAppRunner.cpp:1285 ip=0x004044ed]
main+0x258
[c:\moz_src\mozilla\xpfe\bootstrap\nsAppRunner.cpp:1607 ip=0x004035d1]
WinMain+0x78
[c:\moz_src\mozilla\xpfe\bootstrap\nsAppRunner.cpp:1625 ip=0x0040a020]
Reporter | ||
Updated•23 years ago
|
QA Contact: yulian → stephend
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Reporter | ||
Comment 3•23 years ago
|
||
Dan, should this go back to you now?
Updated•23 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Comment 5•23 years ago
|
||
Mass change: pushing out; as I'm concentrating on feature work at the moment.
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Updated•23 years ago
|
Updated•23 years ago
|
Reporter | ||
Updated•22 years ago
|
QA Contact: gchan → stephend
Target Milestone: mozilla1.2alpha → ---
Comment 6•21 years ago
|
||
taking - I've been working on fixes for some ldap memory leaks that cause
connections not to close, and this might be related.
Assignee: dmose → bienvenu
Status: ASSIGNED → NEW
Updated•20 years ago
|
Product: MailNews → Core
Comment 7•17 years ago
|
||
I'm not planning on looking at this anytime soon - I don't know if this leak still exists or not...
Assignee: bienvenu → nobody
Updated•17 years ago
|
QA Contact: stephend → ldap-integration
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•15 years ago
|
Severity: normal → minor
Updated•2 years ago
|
Severity: minor → S4
Comment 8•1 year ago
|
||
ldap has been reimplemented
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•