Closed Bug 45184 Opened 25 years ago Closed 25 years ago

Crash when IMAP filter fires to move message to local or other account. [@ rdf_HashWideString]

Categories

(MailNews Core :: Filters, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: laurel, Assigned: Bienvenu)

References

Details

(Keywords: crash, topcrash, Whiteboard: [nsbeta2+] Fix in hand)

Crash Data

Attachments

(2 files)

Using july 11 commercial build NT 4.0 and linux rh6.0 Haven't tried mac yet, will update comments Found while verifying bug #17174 When IMAP fires a filter to move an incoming message to a local folder or another IMAP account folder, a crash occurs either upon Get Msg/when it fires or when opening the folder where the message was placed. This happens with both migrated filters and filters created with new seamonkey ui (on a migrated profile, haven't yet verified on new profile). Haven't tried all variations of move to other accounts yet... Steps to reproduce: 1. Go to mail window, login to IMAP account. 2. Edit|Message Filters, select the IMAP account in the filter scope dropdown. 3. Set up a simple message filter like "subject, contains, foo" with an action to move to a folder in the Local Folders hierarchy. Confirm OK out of filters dialogs. 4. Send your IMAP account a message which matches the filter criteria. Get messages on that IMAP account. Result: Crash may occur here. If not proceed. 5. Open the destination local folder. Result: Crash will occur here if it didn't in step 4. Note: Every once in awhile I don't see a crash, I believe when initially logging into an account where filter fires. 90% of the instances tried have crashed for me. Repeat scenario, but set filter to filter to another IMAP account folder (I tried where I was already logged into both IMAP accounts, haven't tried variations of authentication yet.) Same results.
added crash, nsbeta2,nsbeta3 keywords. Don't know how common it will be to have filters act to move messages to the Local Folders hierarchy or another account, but it's currently a crash situation. Will post talkback incident when I've retrieved it.
Keywords: crash, nsbeta2, nsbeta3
Priority: P3 → P2
QA Contact: lchiang → laurel
I reproduced the crash, looks like the biff landing might have broke this...
Status: NEW → ASSIGNED
*** Bug 45179 has been marked as a duplicate of this bug. ***
adding self to cc. 45179 is a reproducible crash when doing "Message|Mark|All Read" in news that has the same stack trace as this bug.
Adding topcrash keyword, this made it to the top5 talkback crash list today.
Keywords: topcrash
Putting on [nsbeta2+] radar for beta2 fix.
Whiteboard: [nsbeta2+]
I think I see the problem - don't we need the following line at the end of nsMsgMessageDataSource::createStatusNodeFromFlag(): NS_IF_ADDREF(*node); - David
good lord! we do. Nice catch.. r=alecf if you want to check in.
OK, I'll take this, and check in the fixes. and take out those NS_ENSURE_TRUE(rv, rv), which is bogus, right, because rv == 0.
Assignee: alecf → bienvenu
Status: ASSIGNED → NEW
that change seems to fix the problem.
Status: NEW → ASSIGNED
Whiteboard: [nsbeta2+] → [nsbeta2+] Fix in hand
good catch. Sorry about that. I missed that in the code review.
*** Bug 45273 has been marked as a duplicate of this bug. ***
*** Bug 45277 has been marked as a duplicate of this bug. ***
Summary: Crash when IMAP filter fires to move message to local or other account. → Crash when IMAP filter fires to move message to local or other account. [@ rdf_HashWideString]
*** Bug 45278 has been marked as a duplicate of this bug. ***
oops, I think that NS_ENSURE_TRUE should have been NS_ENSURE_SUCCESS(rv,rv)
yes, that what I changed it to in my fix.
Target Milestone: --- → M17
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 45362 has been marked as a duplicate of this bug. ***
OK using july 13 commercial build, linux rh6.0, NT 4.0 and mac OS 9.0
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
Crash Signature: [@ rdf_HashWideString]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: