Closed Bug 13489 Opened 20 years ago Closed 20 years ago

I'm crashing in imap when deleting a message today

Categories

(MailNews Core :: Networking, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mscott, Assigned: Bienvenu)

Details

If I select a message and hit delete, I'm crashing here:

nsImapUrl::GetCopyState(nsImapUrl * const 0x03bde5f0, nsISupports * *
0x0411fef4) line 888 + 21 bytes
nsImapProtocol::ProcessCurrentURL() line 932 + 53 bytes
nsImapProtocol::ImapThreadMainLoop() line 738

It's crashing on this assignment in GetCopyState:
*copyState = m_copyState;

copyState is not null so that part is okay. m_copyState looks like it has been
deleted possibly? as the vtable ptr for that class is 0xdddddd.
Status: NEW → ASSIGNED
Today's build is extremely fragile. I am having duplicate folders on both pop3
and Imap4 server. RDF is crashing on me on double free memory location. I wonder
we might have some generic memory problem.
the duplicate rdf problem is being fixed by putterman. I actually don't have his
check in from last night for that and I still see this delete problem. My guess
is that it is unrelated.
Target Milestone: M10
I think I have a fix for this in my tree - the m_copyState was not ref-counted.
I changed it to be an nsCOMPtr and this problem goes away. I didn't see any new
memory leaks after this change.
Target Milestone: M10 → M11
whoops, make that m11.
Assignee: jefft → bienvenu
Status: ASSIGNED → NEW
Reassign to David since he already has a fix for it.
Status: NEW → ASSIGNED
oh, sorry, I didn't notice it wasn't assigned to me in the first place...
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
should be fixed now - let me know.
Status: RESOLVED → VERIFIED
marking verified.  I verified that I'm able to delete an IMAP message in build
1999091508.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.