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.
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.
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.
whoops, make that m11.
Reassign to David since he already has a fix for it.
oh, sorry, I didn't notice it wasn't assigned to me in the first place...
should be fixed now - let me know.
marking verified. I verified that I'm able to delete an IMAP message in build 1999091508.