Closed Bug 83886 Opened 23 years ago Closed 23 years ago

Crash/hang when moving messages to another folder

Categories

(MailNews Core :: Database, defect)

x86
Windows 98
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 84535

People

(Reporter: lferro, Assigned: naving)

Details

(Keywords: crash, hang, Whiteboard: DUPEME)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9+) Gecko/20010601
BuildID:    2001060120

moving messages from one folder to another either from the same account or from
diferent accounts crashs mozilla, doesn't do the move (takes too long to move)
and if one closes mozilla in between, a copy of the messages is created.

Reproducible: Always
Steps to Reproduce:
1. With 2 folders with lots of mail (arround 1000/3000 messages)
2. Select 10 messages from one folder
3. Move them to the other folder

Actual Results:  Scenario 1: Mozilla crashes.
Scenario 2: Mozilla hangs (or seams to hang).

Expected Results:  Scenario 1: Should behave better and move them ;)
Scenario 2: Should be much quicker to move the messages arround, and should
never make a copy of it (some sort of transaction lock here would be nice).

I've sent incidents via talkback under descriptions of "moving messages" and the
like yesterday.
Adding crash and hang keyword, upping severity to Critical and updating summary
from "Moving messages from one folders to another crashes Mozilla" "Crash/hang
when moving messages to another folder".

I think this is a dupe, but I could not find another bug for this.
Severity: major → critical
Keywords: crash, hang
Summary: Moving messages from one folders to another crashes Mozilla → Crash/hang when moving messages to another folder
Whiteboard: DUPEME
Well, I can't reproduce this, but I can add some error checking.  My guess is
that the call to CopyHdrFromExistingHdr is failing, and most likely the cause of
the failure is that m_curDstKey is -1 (the one invalid row id in Mork). I'm not
sure how we got into that situation, however.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
QA Contact: esther → sheelar
I have got the same problems though I cannot produce a crash (only a hang). If I
try to copy messages (1 is already enough) mozilla might hang (at least it takes
much too long) In addition if you press the stop button, the mail gets corrupt
("Unknown Error 80470002") I guess faults in the mail database cause these problems.
Besides Mozilla cannot handle this corrupt mail anymore. Neither it can display
it nor it can delete it.
And you are running what OS, Tobias? Navin is going to check the fix for the
crash in with another bug fix, I believe.
im running w2k
I have already checked in this bullet proof fix as part of another crash 
bug 84535

 
can this be marked WORKSFORME then?
Hmm, well, on build 2001060920 Win2k sp2, I just saw this happen.  Got unknown
error 80470002 when dragging from trash to a trash subfolder.  All messages were
dated 2000, although they went from inbox to trash no problem.

Did your check-in make it in time for this bug?  It didn't crash or hang for me,
it just didn't seem to do anything.  But after checking the destination folder,
I found 3 of the 4 messages in question had been COPIED but not MOVED.  Hmm... 
Individually moving them again did nothing.

Adding myself to CC just in case this is not WORKSFORME...again, it probably
made it into a subsequent build but I'm afraid to update until another bug (bug
86075) gets fixed.
sonofa...adding myself to CC (for real this time)
could you dup this, Navin?
Assignee: bienvenu → naving
Status: ASSIGNED → NEW

*** This bug has been marked as a duplicate of 84535 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
mark it verified/dup
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: