Closed
Bug 30937
Opened 25 years ago
Closed 25 years ago
crash when imap server goes down.
Categories
(MailNews Core :: Backend, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M14
People
(Reporter: sspitzer, Assigned: sspitzer)
References
Details
(Whiteboard: [PDT+] w/b minus on 3/8)
I noticed this a bunch today, because tintin kept going down.
here's the fix for the crash:
Index: nsImapProtocol.cpp
===================================================================
RCS file: /cvsroot/mozilla/mailnews/imap/src/nsImapProtocol.cpp,v
retrieving revision 1.232
diff -r1.232 nsImapProtocol.cpp
831c831
< if (NS_SUCCEEDED(rv) && TestFlag(IMAP_CONNECTION_IS_OPEN))
---
> if (NS_SUCCEEDED(rv) && TestFlag(IMAP_CONNECTION_IS_OPEN) && m_ouputStream)
basically, the m_outputStream is not there, and we try to send
"logout" over it.
Assignee | ||
Comment 1•25 years ago
|
||
whoops, I spelled outputStream wrong in that patch. marking beta1, I keep seeing this and it hurts my own dogfood efforts.
Comment 2•25 years ago
|
||
[PDT+] w/b minus on 3/8. No big changes, please. Defensive null pointer test only.
Whiteboard: [PDT+] w/b minus on 3/8
Assignee | ||
Comment 3•25 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Seth, To re-test this bug, can I just un-plug the network plug or I have to try to physically turn off a test sever? thanks for advise.
Seth, I am unable to bring down the tin-tin imap server to re-test this bug. So I used the imap server in the lab. steps: 1. Create an imap account parp30 using the parp.mcom.com server 2. Bring up Messenger and load the messages from the server using the parp30 account. 3. View the message, no problem 4. Now stop the parp.mcom.com server 5. Back to Messenger, and click on a message, it does not crash applicaction any more.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 7•25 years ago
|
||
try this: connect to an imap server. read mail. unconnect your ethernet cable. hit get new messages. see http://bugzilla.mozilla.org/show_bug.cgi?id=30807 for another way to reproduce
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•