Thunderbird:Testing:Shutdown Hang
A shutdown hang is where Thunderbird is still running after you shut it down using exit or some other method. There are many causes for hangs. To determine why Thunderbird is hung, broadly speaking it is helpful to
- describe the environment (described below)
- obtain a stacktrace (described below)
- determine a list of steps to reproduce - which may require some experimentation testing on your part
You might not be able to do everything requested here, but it is important to provide as much of the needed information as you can, and state how often you see the hang (always, rarely, etc).
describing the environment - When describing the environment of your hang, the answers to these easy questions helps identify the type of hang:
- Does the hang happen with Thunderbird started in safe mode? If it can't be reproduced in safe mode then the problem could be an extension. Experiment by disabling add-ons until you find the add-on causing the problem, and contact the add-on author.
- does hang happen without calendar/lightning extension? (bug 532435)
- what firewall software do you run, if any?
- cpu usage - is usage high (pegged), zero, low, or other?
- run netstat -a -b -o | grep -i thunderbird (in MS-Windows in a dos command window do netstat -a -b -o) - are connections shown from thunderbird to ldap, imap mail server, or other protocols?
- is gloda indexing enabled or disabled? (Tools|Options|Advanced|General)
- are your mail accounts pop, imap, or a combination?
- did the computer go into sleep or hibernate while Thunderbird was running?
- was online or offline used, either via your explicit action, or automatically due to a dropped network connection?
stacktrace - If you can, please :
- create get a stacktrace using _hang_ instructions in these references and attach stacktrace file to a bug:
- attach MailNews:Logging imap log file to bug, if imap connections are shown in the netstat results above
steps to reproduce - If you are able, please try to determine if there is a list of steps (1. first step, 2. second step, ...) which reliably causes the hang.
Related bugs:
- open bugs - see "shutdown hang" query at Thunderbird:Bug_Queries.
- bug 479373 Hang on shutdown if there are outstanding SSL requests
- bug 508263 3.0b3 hangs on exit/shutdown with high cpu, no imap connections [Mac only?} [speculation: losing the network connection/sleeping]
- references:
- bug 504971 comment 12
- bug 504971 comment 15
Fixed bugs in version 3 (most recent at top):
- bug 494014 shutdown hang, high cpu, no open imap connections
- bug 497598 hang on shutdown appending msg to imap folder via a filter
- bug 487965 hang on shutdown with open imap connections and zero cpu
- bug 420744 Shutdown fails with 100% cpu load when auto-complete over LDAP
- bug 495551 hang on shutdown, zero cpu, few (1-2) imap connections - from imap url initiated during shutdown (modal alert from imap thread / proxy call to UI thread)
- bug 516388 Hang when exiting Archives smart folder is used
- bug 497059 Hang with unreliable wifi connection, either when re-connecting to email server, or on shutdown
Hangs caused by other software
- bug 532435 Thunderbird 3.0RC 2 does not quit, high cpu, no imap connection and must be killed - with enigmail error [caused by Engimail]