Closed
Bug 23440
Opened 26 years ago
Closed 25 years ago
Bulk move/delete produces dangerous bogus message
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M14
People
(Reporter: rzach, Assigned: hyatt)
Details
(Keywords: crash, Whiteboard: Fix in hand. Needs review.)
Attachments
(3 files)
Selecting more than one message and moving them to a local mail folder produces
a bogus message in the target folder. The message is not in the corresponding
mbox file, but rather apparently only an entry in the corresponding .msf file.
The message has a time stamp of 12/31/69, 04:00, empty subject and sender,
marked unread.
Select the message and the following happens: Mozilla freezes, load monitor
indicates CPU activity and the harddrive is active. After approx 10-15 seconds,
memory usage increases rapidly, until swap space is full, at which point the X
server dies.
Linux build 2000.01.08.08
Updated•26 years ago
|
Assignee: phil → jefft
Comment 1•26 years ago
|
||
Reassign to jefft, cc bienvenu
Updated•26 years ago
|
Assignee: jefft → bienvenu
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 2•26 years ago
|
||
I'm in this area; I'll look at it.
Comment 3•26 years ago
|
||
accepting
Comment 4•26 years ago
|
||
I can't reproduce anything remotely like this - is it a particular set of
messages, or any time you move a message to a local folder?
| Reporter | ||
Comment 5•26 years ago
|
||
It happens with any two or more messages I move to a local folder.
Here's what I did:
1. Manually deleted Local Mail/Drafts folder to make sure it's empty
2. Start MailNews
3. Save two test messages as Drafts
4. File | New Folder "Local Mail/Test"
5. Select the two test messages and move them to Test folder.
I'll attach the contents of theDrafts folder before the move, the contents of
the Test folder after the move, and the test.msf file. Notice that Test
contains two identical copies of the same message.
All this using 2000.01.11.09 Linux build.
| Reporter | ||
Comment 6•26 years ago
|
||
| Reporter | ||
Comment 7•26 years ago
|
||
| Reporter | ||
Comment 8•26 years ago
|
||
Updated•26 years ago
|
Assignee: bienvenu → jefft
Status: ASSIGNED → NEW
Comment 9•26 years ago
|
||
so this is a move from one local folder to another, and messages were put in the
local folder by the drafts code? If so, I'm giving this back to jeff. I thought
IMAP was involved.
| Reporter | ||
Comment 10•26 years ago
|
||
No, it doesn't look to me like its IMAP-related. When I bulk move messages from
an IMAP folder, I don't get the weird message entry, but the first selected
message shows up twice in the target folder. On bulk moves from local (or POP)
folders, the message shows up twice in the target folder, but the header of one
of the duplicates is displayed as initially described, plus the crash when you
click on it. Also, the weird header will sometimes be gone after your restart
Mozilla. (If you copy the attachments to this bug to your Mail diretory, all
you'll see is the duplicate message, not the weird message). The duplicate
message doesn't seem to happen when the messages selected are not adjacent in
the thread display (or the mbox?).
To summarize: Select two or more adjacent messages by Shift-Click selecting and
Message | Move to a local folder produces an extra copy of the first selected
message. Moving from a local folder screws up the header of one of the two
duplicate messages, and selecting that message causes a crash.
Comment 11•26 years ago
|
||
Looks like shift-click on Linux does not report correct selected items from the
tree. Windows work fine.
Comment 12•26 years ago
|
||
We have one extra selection coming back from tree.selectedItem. For example, two
messages in a folder. Shift-click the two messages. The tree.selectedItems
lenght() returns 3 instead of 2.
selmer, alecf said that you would be the person to take this bug. I am
reassigning this bug to you. Thanks,
Comment 13•25 years ago
|
||
Moving bug to hyatt per pdt mtg....are you right person?
Assignee: selmer → hyatt
Updated•25 years ago
|
Whiteboard: no fix in hand yet.
| Assignee | ||
Comment 14•25 years ago
|
||
Ummm... I just got this tonight.
Is this considered an M13 show-stopper, or can I just move it off to M14? I
have rewritten shift+click selection in my tree, and it probably fixes the bug,
but I haven't really shaken it out yet.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 15•25 years ago
|
||
Well, it seems to be working more or less ok on my machine. If you're willing
to take the risk, I'm willing to check it in.
waterson and alecf: care to do a review?
| Assignee | ||
Comment 16•25 years ago
|
||
Moving to M14. I don't want to rush this fix.
Target Milestone: M13 → M14
| Assignee | ||
Updated•25 years ago
|
Whiteboard: no fix in hand yet. → Fix in hand. Needs review.
Comment 17•25 years ago
|
||
Can't we avoid at least the bad results of this bug (mem and cpu usage) for M13
by making more checks on the mailnews side (folder/database)?
This line in the attached folder looks very suspicious:
From - Wed Jan 12 From - Wed Jan 12 18:02:20 2000
Comment 18•25 years ago
|
||
I'll bet this is just a dupe of your shift-click bug.
Personally, I think this is release-notable.
| Assignee | ||
Comment 19•25 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 20•25 years ago
|
||
Win_nt 4.0 (2000-01-25-20 M13)
Linux (2000-01-25-20 M13)
Mac (2000-01-26-03 M13)
These two problems described originally still exists:
Problem 1. Select two or more adjacent messages (in IMAP) by Shift-Click
selecting and
Message | Move to a local folder produces an extra copy of the first selected
message. Notice that the target folder contains two identical copies of the
first source message.
Problem 2. Select two or more adjacent messages (in Local folder) by Shift-Click
selecting and and Moving to a local folder. Notice that the target folder
contains an extra copy of header which has a time stamp of 12/31/69, 04:00,
empty subject and sender, marked unread..
However, selecting the first empty subject thread does not produce crash.
If you want me to close this one and re-write two new bugs, please let me know.
These problems occur on all platforms.
Status: RESOLVED → REOPENED
Comment 21•25 years ago
|
||
Linux (2000-01-26-09 M14)
Win32 (2000-01-26-10 M14)
Mac (2000-01-26-14 M14)
Since this bug has been fixed in M14. I am going to mark it fixed and close it.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•