Open
Bug 127317
Opened 23 years ago
Updated 2 years ago
Memory leak of 40 bytes from 1 block allocated in nsSocketTransport::AsyncRead
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: stephend, Unassigned)
Details
(Keywords: memory-leak)
Build ID: Latest tip win32 build under Purify. Summary: Memory leak of 40 bytes from 1 block allocated in nsSocketTransport::AsyncRead Steps to Reproduce: 1. Send yourself mail to an IMAP account (this is part of the setup, not the leak), make sure you have 'check for new mail at startup' checked in the Account Manager. 2. Launch a fresh run of Mozilla -mail (this will have the new message appear in your INBOX). 3. Shutdown. [W] MLK: Memory leak of 40 bytes from 1 block allocated in nsSocketTransport::AsyncRead(nsIStreamListener *,nsISupports *,UINT,UINT,UINT,nsIRequest * *) Distribution of leaked blocks 40 bytes from 1 block of 40 bytes (0x0a9e6af8) Allocation location new(UINT) [MSVCRT.DLL] nsSocketTransport::AsyncRead(nsIStreamListener *,nsISupports *,UINT,UINT,UINT,nsIRequest * *) [nsSocketTransport.cpp:1644] } if (NS_SUCCEEDED(rv)) { => NS_NEWXPCOM(mReadRequest, nsSocketReadRequest); if (mReadRequest) { NS_ADDREF(mReadRequest); mReadRequest->SetTransport(this); nsImapProtocol::ProcessCurrentURL(void) [nsImapProtocol.cpp:1067] if (!TestFlag(IMAP_CONNECTION_IS_OPEN) && m_channel) { m_channel->AsyncRead(this /* stream listener */, nsnull, 0, PRUint32 (-1), 0, => getter_AddRefs(mAsyncReadRequest)); SetFlag(IMAP_CONNECTION_IS_OPEN); } #ifdef DEBUG_bienvenu nsImapProtocol::ImapThreadMainLoop(void) [nsImapProtocol.cpp:979] if (TestFlag(IMAP_FIRST_PASS_IN_THREAD) && m_runningUrl && m_channel) { // if we launched another url, just loop around and process it. => if (ProcessCurrentURL()) continue; ClearFlag(IMAP_FIRST_PASS_IN_THREAD); } nsImapProtocol::Run(void) [nsImapProtocol.cpp:771] PR_CExitMonitor(me); // call the platform specific main loop .... => me->ImapThreadMainLoop(); me->m_eventQueue->StopAcceptingEvents(); me->m_eventQueue->ProcessPendingEvents(); nsThread::Main(void *) [nsThread.cpp:120] PR_LOG(nsIThreadLog, PR_LOG_DEBUG, ("nsIThread %p start run %p\n", self, self->mRunnable.get ())); => rv = self->mRunnable->Run(); NS_ASSERTION(NS_SUCCEEDED(rv), "runnable failed"); #ifdef DEBUG PR_NativeRunThread [pruthr.c:413] TlsSetValue [KERNEL32.dll]
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Assignee: mscott → nobody
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
QA Contact: stephend → networking.imap
Updated•15 years ago
|
Severity: major → minor
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•