Closed Bug 355859 Opened 18 years ago Closed 16 years ago

Task Doesn't Close, hangs on shutdown trying to empty the imap trash if we've lost connections to imap server - thunderbird process remains

Categories

(Thunderbird :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: geodan, Assigned: Bienvenu)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Thunderbird task remains active (CTRL-ALT-DEL list of active tasks shows the THUNDERBIRD label) after the INBOX-THUNDERBIRD window is closed [(X)ed].  (Note - AVG Antivirus Free Edition is loaded and also running which may be a possible source of conflict?)  This is believed to be the source for fouling subsequent RAM memory accessability, after which ending the 'running' Thunderbird task by using CTRL-ALT-DEL produces a "task not responding" message.  By this time the AVGEMC task is also unresponsive to an end task command.

Reproducible: Always

Steps to Reproduce:
1.Have a task running, but minimized (like this Bugzilla).  [This step is optional.]
2.Open Thunderbird - leave it running.
3.Communicate online with a website either through an email link or via dialog with a new URL.  Close out this dialog link.

Actual Results:  
1.  The minimized running task (Bugzilla in this example) will be 'locked out' on my computer, i.e. no response to clicking on the its task button in the task bar.
2.  Thunderbird can be closed out (X'ed), but CTRL-ALT-DEL will show the task still running.  Clicking on End Task will (in 10 seconds, or so) cause the "Task Not Responding" message window to appear.  Clicking on its "End Task" button will finally remove the Thunderbird task from the list of running tasks.
3.  On this computer the AVGEMC task will be 'out to lunch', i.e. it will still appear (since bootup) as a CTRL-ALT-DEL running task but, if End Task'ed, will also invoke the "Task Not Responding" message window.  Until this hung AVGEMC task is finally ended (with the message window's End Task button) any other task (in this example Bugzilla) will remain locked out.
4.  With both Thunderbird and (in my system) AVGEMC tasks ended Bugzilla (in this example) will be free to run again.

Expected Results:  
All tasks would remain functional.

A ScanDisk of the hard drive, when checking the Boot Area, will freqently post a message to the effect that the boot area is found to be hosed in a manner that could prevent available memory from becoming accessible, thus slowing operation w-a-a-a-y down (I can't recall the exact wording.)  ScanDisk is able to, and when allowed does, correct the error.
Reporter, what version of Thunderbird is this ?

Thunderbird 1.0.7 is more than 1 year old. We're currently at 1.5.0.7, and preparing for a 2.0 release. Many bugs (hundreds? thousands?) have been fixed in the mean time. We're not hearing reports like this anymore - and if we do, it's often caused by extensions.  
I don't know if this is what the reporter is seeing, but this fixes a problem I've been seeing where we hang on shutdown trying to empty the imap trash, if we've lost connections to the imap server. It basically says, if it takes more than 5 seconds to return to the UI thread, then we must be blocked in imap. That doesn't mean 5 seconds to empty the trash, just 5 seconds to get any response from imap...
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
Attachment #241619 - Flags: superreview?(mscott)
Attachment #241619 - Flags: superreview?(mscott) → superreview+
(In reply to comment #1)
> Reporter, what version of Thunderbird is this ?
> 
> Thunderbird 1.0.7 is more than 1 year old. We're currently at 1.5.0.7, and
> preparing for a 2.0 release. Many bugs (hundreds? thousands?) have been fixed
> in the mean time. We're not hearing reports like this anymore - and if we do,
> it's often caused by extensions.  
> 

version 1.5.0.7 (20060909)
(In reply to comment #2)
> Created an attachment (id=241619) [edit]
> fix for one instance of hang on shutdown
> 
> I don't know if this is what the reporter is seeing, but this fixes a problem
> I've been seeing where we hang on shutdown trying to empty the imap trash, if
> we've lost connections to the imap server. It basically says, if it takes more
> than 5 seconds to return to the UI thread, then we must be blocked in imap.
> That doesn't mean 5 seconds to empty the trash, just 5 seconds to get any
> response from imap...
> 
Bienvenu:
You're over my head.  I am unfamiliar with imap, and do not know how to patch a given fix into my Thunderbird version.  In any event, your fix seems to be for a symptom different than the symptom I'm seeing, which (I believe) is unrelated to any shutdown.
Dan

dan, do you have the same problem using thunderbird version 2?
does problem go away if AVG is disabled or removed?

additional support info at http://www.mozilla.com/en-US/support/
Dan, Bienvenu's patch for shutdown is in the 2.x version, as are other fixes can  help your situation.

Do you see your problem when using TB 2.0.0.6?
Still windows 98?

Summary: Task Doesn't Close → Task Doesn't Close - thunderbird process remains
Whiteboard: closeme 11/14
reporter appears to be gone.
closing fixed
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
OS: Windows 98 → All
Hardware: PC → All
Summary: Task Doesn't Close - thunderbird process remains → Task Doesn't Close, hangs on shutdown trying to empty the imap trash if we've lost connections to imap server - thunderbird process remains
Whiteboard: closeme 11/14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: