I'm crashing in imap when deleting a message today

VERIFIED FIXED in M11

Status

MailNews Core
Networking
P3
normal
VERIFIED FIXED
18 years ago
9 years ago

People

(Reporter: Scott MacGregor, Assigned: Bienvenu)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
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.

Updated

18 years ago
Status: NEW → ASSIGNED

Comment 1

18 years ago
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.
(Reporter)

Comment 2

18 years ago
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.
(Assignee)

Updated

18 years ago
Target Milestone: M10
(Assignee)

Comment 3

18 years ago
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.
(Assignee)

Updated

18 years ago
Target Milestone: M10 → M11
(Assignee)

Comment 4

18 years ago
whoops, make that m11.

Updated

18 years ago
Assignee: jefft → bienvenu
Status: ASSIGNED → NEW

Comment 5

18 years ago
Reassign to David since he already has a fix for it.
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 6

18 years ago
oh, sorry, I didn't notice it wasn't assigned to me in the first place...
(Assignee)

Updated

18 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Assignee)

Comment 7

18 years ago
should be fixed now - let me know.

Updated

18 years ago
Status: RESOLVED → VERIFIED

Comment 8

18 years ago
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.