Open Bug 337341 Opened 20 years ago Updated 3 years ago

Notify user when imap (network/server) connection is lost

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
All
defect

Tracking

(Not tracked)

People

(Reporter: bjoernv, Unassigned)

Details

(Whiteboard: [has protocol logs])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1 A broken IMAP server can cause endless loops and hangs in Thunderbird and Seamonkey. The problem happens if the IMAP server disconnects IMAP connections after "LOGIN"-commands. Thunderbird and Seamonkey (Mail/News) try to reconnect the broken server very fast (multiple times per second on fast networks). During reconnection attempts Thunderbird/Seamonkey are nearly unresponsible. After pressing the "Stop" button Thunderbird/Seamonkey hangs completely. Reproducible: Always Steps to Reproduce: 1. Install a broken IMAP server. In my case the IMAP server (Courier-IMAP) accepted the "LOGIN" command but crashed after the first "SELECT" command with a segmentation fault. In my case the server crashed because I switches his FAM library without recompilation (SGI FAM to Gamin). 2. Create an IMAP account for the broken server in Thunderbird/Seamonkey. 3. Connect with this account in Thunderbird/Seamonkey. Actual Results: At first Thunderbird/Seamonkey reconnects very fast. After pressing the "Stop" button the program hangs. Expected Results: The program should give one descriptive error message which says, that the IMAP server has disconnected. As an alternative the reconnection attempts could be counted (for instance up to 5) and delayed (for instance 1 per second). Packages: - Thunderbird 1.5.0.2 on Windows XP or - Seamonkey 1.0.1 - courier-imap-4.1.0 on FreeBSD 6.1 with FAM suppport (tested with a broken setup/compilation)
Version: unspecified → 1.5
QA Contact: front-end
This problem still persists on Seamonkey 1.1.4. Thunderbird 2.x is untested.
Assignee: mscott → nobody
Bjoern Sorry for the delay before someone took notice of your bug. Could you see if this is still the case with thunderbird 3b3 (http://www.mozillamessaging.com/en-US/thunderbird/early_releases/) ? If it is could you read https://wiki.mozilla.org/MailNews:Logging and attach a imap log to this bug ?
Whiteboard: closeme 2009-09-24
Thunderbird 3b3 does not run into an endless loop. It also does not display an error about the fact, that the IMAP server closed the connection during the IMAP-SELECT command. But this may be acceptable. I attach the IMAP log file anyway.
Whiteboard: closeme 2009-09-24 → [has protocol logs]
So this bug is basically WFM, other than the fact that we don't tell the user the server dropped the connection. The error we get is NS_BASE_STREAM_CLOSED, which is not one we retry on.
Status: UNCONFIRMED → NEW
Component: Mail Window Front End → Networking: IMAP
Ever confirmed: true
Product: Thunderbird → MailNews Core
QA Contact: front-end → networking.imap
Summary: Broken IMAP server can cause endless loops in Thunderbird/Seamonkey → Notify user when imap connection is lost
Version: 1.5 → Trunk
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Severity: normal → minor
OS: Windows XP → All
Summary: Notify user when imap connection is lost → Notify user when imap (network/server) connection is lost
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: