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)
MailNews Core
Filters
Tracking
(Not tracked)
VERIFIED
FIXED
M17
People
(Reporter: laurel, Assigned: Bienvenu)
References
Details
(Keywords: crash, topcrash, Whiteboard: [nsbeta2+] Fix in hand)
Crash Data
Attachments
(2 files)
|
4.36 KB,
text/plain
|
Details | |
|
327 bytes,
patch
|
Details | Diff | Splinter Review |
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.
Comment 3•25 years ago
|
||
I reproduced the crash, looks like the biff landing might have broke this...
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•25 years ago
|
||
Comment 6•25 years ago
|
||
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.
Comment 7•25 years ago
|
||
Adding topcrash keyword, this made it to the top5 talkback crash list today.
Keywords: topcrash
| Assignee | ||
Comment 9•25 years ago
|
||
I think I see the problem - don't we need the following line at the end of
nsMsgMessageDataSource::createStatusNodeFromFlag():
NS_IF_ADDREF(*node);
- David
Comment 10•25 years ago
|
||
good lord! we do. Nice catch..
r=alecf if you want to check in.
| Assignee | ||
Comment 11•25 years ago
|
||
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
| Assignee | ||
Comment 12•25 years ago
|
||
that change seems to fix the problem.
Status: NEW → ASSIGNED
Whiteboard: [nsbeta2+] → [nsbeta2+] Fix in hand
Comment 13•25 years ago
|
||
good catch. Sorry about that. I missed that in the code review.
Comment 14•25 years ago
|
||
*** Bug 45273 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 15•25 years ago
|
||
*** Bug 45277 has been marked as a duplicate of this bug. ***
Updated•25 years ago
|
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]
| Assignee | ||
Comment 16•25 years ago
|
||
*** Bug 45278 has been marked as a duplicate of this bug. ***
Comment 17•25 years ago
|
||
oops, I think that NS_ENSURE_TRUE should have been NS_ENSURE_SUCCESS(rv,rv)
| Assignee | ||
Comment 18•25 years ago
|
||
yes, that what I changed it to in my fix.
| Assignee | ||
Comment 19•25 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 20•25 years ago
|
||
*** Bug 45362 has been marked as a duplicate of this bug. ***
| Reporter | ||
Comment 21•25 years ago
|
||
OK using july 13 commercial build, linux rh6.0, NT 4.0 and mac OS 9.0
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•14 years ago
|
Crash Signature: [@ rdf_HashWideString]
You need to log in
before you can comment on or make changes to this bug.
Description
•