Closed
Bug 97246
Opened 24 years ago
Closed 24 years ago
Mozilla Mail crashes when trying to delete corrupted (?) mails [@ nsMailboxProtocol::OnStopRequest]
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: gabrielseah, Assigned: naving)
References
Details
(Keywords: crash, topcrash)
Crash Data
Attachments
(2 files)
8.38 KB,
text/plain
|
Details | |
810 bytes,
patch
|
Details | Diff | Splinter Review |
I got a HTML mail from a Yahoo Groups group and it was empty. Viewing the
source, I saw that the content was somehow not visible. After I extracted the
content of the mail, I tried to delete it and Mozilla Mail crashed. I restarted,
tried moving it and it crashed again. Trying a third time to manipulate the
mail, I caused Mozilla to crash yet again.
I've had this problem once before (also with HTML mail) but dismissed it as an
anomaly. However, the problem has cropped up again...
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Gabriel, can you send this exact email to me?
Comment 3•24 years ago
|
||
Stack is:
nsMailboxProtocol::OnStopRequest(nsMailboxProtocol * const 0x03ce2380,
nsIRequest * 0x03ce5b54, nsISupports * 0x03ce7a70, unsigned int 0) line 269 + 21
bytes
nsOnStopRequestEvent::HandleEvent() line 162
nsARequestObserverEvent::HandlePLEvent(PLEvent * 0x03cd0a74) line 65
PL_HandleEvent(PLEvent * 0x03cd0a74) line 590 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00d628f0) line 520 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x00000ef4, unsigned int 55322, unsigned int 0,
long 14035184) line 1071 + 9 bytes
KERNEL32! bff7363b()
KERNEL32! bff94407()
006e89da()
I'm investigating now.
Severity: normal → critical
Keywords: topcrash
The duplicate bug explains which variable is null.
Summary: Mozilla Mail crashes when trying to delete corrupted (?) mails → Mozilla Mail crashes when trying to delete corrupted (?) mails [@ nsMailboxProtocol::OnStopRequest]
Comment 6•24 years ago
|
||
re-assigning to naving.
Assignee: sspitzer → naving
Target Milestone: --- → mozilla0.9.4
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•24 years ago
|
||
I am not crashing when i delete this problem email using build 08-28-03 on
winNT. I will continue investigating..
Assignee | ||
Comment 8•24 years ago
|
||
Comment 9•24 years ago
|
||
I debugged this, and am a little worried naving's null-fix will cause the msg to
not be moved let alone deleted to the trash since it makes us skip that code.
Just a thought...
Assignee | ||
Comment 10•24 years ago
|
||
I am not crashing. Moreover, m_runningUrl should be checked for null as it
is done before this if statement.
Assignee | ||
Comment 11•24 years ago
|
||
hwaara, if m_runningUrl is null, you can't do much because we get all the
info moveIndex, numMoves etc from m_runningUrl. Please look at the code more
closely.
Comment 12•24 years ago
|
||
> Please look at the code more closely.
I did... thanks. :(
Comment 13•24 years ago
|
||
Naving, do we know why m_runningUrl is suddenly coming up null in this routine?
I wonder what changed to have introduced this scenario.
Assignee | ||
Comment 14•24 years ago
|
||
Well, I have seen the talkback reports with the same stack from the beginning of
this month. I'm not sure what is causing this because I am not able to
reproduce it. However, I can say the fix is the right thing to do.
Comment 15•24 years ago
|
||
This has creeped up from 29 to 15 on the MozillaTrunk topcrash list. Here is
the latest info from the Talkback reports:
nsMailboxProtocol::OnStopRequest 18
97246 ASSI naving@netscape.com mozilla0.9.4
97308 VERI DUPL mscott@netscape.com ---
First BBID :34413609
Last BBID :34630139
Min Runtime :15
Max Runtime :220620
First Appearance Date : 2001-08-23
Last Appearance Date : 2001-08-28
First BuildID : 2001082015
Last BuildID : 2001082706
Stack Trace:
nsMailboxProtocol::OnStopRequest
[d:\builds\seamonkey\mozilla\mailnews\local\src\nsMailboxProtocol.cpp line 270]
nsOnStopRequestEvent::HandleEvent
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsRequestObserverProxy.cpp line 162]
PL_HandleEvent
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c line 591]
PL_ProcessPendingEvents
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c line 524]
_md_EventReceiverProc
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c line 1072]
KERNEL32.DLL + 0x24407 (0xbff94407)
0x00688b5a
Source File :
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/mailnews/local/src/nsMailboxProtocol.cpp
line : 270
(34595976) Comments: I was selecting about ~15 messages at a time from Inbox and
clicking on the Delete key. The crash happened about on the 5 time I hit the
Delete key.
(34595627) Comments: I was attempting to delete messages from Inbox a few at a time
when the crash happened. I was hilighting a few messages (~15 at a time) and
deleting them.
(34541620) Comments: Trying to delete a message
(34541581) Comments: Reading web-based email again
(34481986) Comments: Compacting all mail folders while displaying Inbox.
(34459529) Comments: I was trying to erase a spam email!
Assignee | ||
Comment 16•24 years ago
|
||
I am able to reproduce this crasher using the test case in bugscape
bug 8979. The problem is that when the copy operation fails we close the socket
and set m_runningUrl to null. The OnStopRequest event gets immediately after
this and it tries to use m_runningUrl and hence it crashes.
I have discussed this patch with mscott and he has sr'ed this patch.
Comment 17•24 years ago
|
||
r=suresh
Comment 18•24 years ago
|
||
a=asa on behalf of drivers
Assignee | ||
Comment 19•24 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 20•24 years ago
|
||
Verified, tested with scenario in bugscape bug 8979.
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•14 years ago
|
Crash Signature: [@ nsMailboxProtocol::OnStopRequest]
You need to log in
before you can comment on or make changes to this bug.
Description
•