Thunderbird:Testing:Shutdown Hang

Revision as of 10:07, 4 April 2010 by Wsm (talk | contribs) (improve intro wording, fix logging link)

Shutdown hangs, where Thunderbird is still running after shut down, do not all have the same cause, even different hangs on the same OS. To determine why it is hanging it is helpful to describe what is running in the environment, a stacktrace, and a list of steps to reproduce. This may require some experimentation testing on your part, and we know this is not always possible. 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). Also, answers to the following easy questions helps identify the type of hang:

  1. If the problem is reproducible and you have add-ons/extensions installed, 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 cause, and contact the add-on author.
    • does hang happen without calendar/lightning extension? (bug 532435)
  2. cpu usage - is it high (pegged), zero, low, or other?
  3. 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?
  4. is gloda indexing enabled or disabled? (Tools|Options|Advanced|General)
  5. are your accounts pop, imap, or a combination?
  6. did computer go into sleep or hibernate while Thunderbird was running?
  7. was online or offline used, either via your explicit action, or automatically due to a dropped network connection?

More technical ... if you can, please:

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:

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]