Thunderbird:Testing:Shutdown Hang: Difference between revisions

Jump to navigation Jump to search
m
nits
m (modernize)
m (nits)
 
Line 1: Line 1:
__TOC__
__TOC__
If you close, shut down or exit Thunderbird (or Thunderbird stops on its own) and you see the Thunderbird '''process''' is still running in MS-Windows task manager (taskmgr) or linux process status (ps), then you have a shutdown hang. When starthing Thunderbird you may see an error message that "Thunderbird is already running". But "already running" might not be a hang, so you should check taskgmgr or ps to find whether thunderbird there. If you don't see thunderbird listed then you do not have a hang.
If you close, shut down or exit Thunderbird (or Thunderbird stops on its own) and you see the Thunderbird '''process''' is still running (in MS-Windows task manager aka taskmgr, or linux ps process status) then you have a shutdown hang. When starthing Thunderbird you may see an error message "Thunderbird is already running". Check taskmgr or ps to see whether thunderbird is there. If you don't see thunderbird listed then you do not have a hang.


'''What to do:''' 1. Go through the full [[#Symptoms|symptoms]] list below. 2. If a [[#Reported Bugs|Reported Bug]] is an exact match then cc yourself on the bug, but please only comment if you have new data to add.  3. If no bugs match, then report a new one, and provide detailed symptom information. In summary, just commenting that you see a hang is not useful - please support your report with symptom data.
'''What to do:''' 1. Go through the full [[#Symptoms|symptoms]] list below. 2. If a [[#Reported Bugs|Reported Bug]] is an exact match then cc yourself on the bug, but please only comment if you have new data to add.  3. If no bugs match, then report a new one, and provide detailed symptom information. In summary, just commenting that you see a hang is not useful - please support your report with symptom data.
Line 8: Line 8:
To be most helpful, you will want to  
To be most helpful, you will want to  
* '''not be using an old version''' - please use [http://getthunderbird.com/ the latest release], or better yet [http://www.mozilla.org/thunderbird/channel/ Early Bird] or [ftp://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-central/ development] <small>([http://kb.mozillazine.org/Profile_backup do a backup first])</small>
* '''not be using an old version''' - please use [http://getthunderbird.com/ the latest release], or better yet [http://www.mozilla.org/thunderbird/channel/ Early Bird] or [ftp://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-central/ development] <small>([http://kb.mozillazine.org/Profile_backup do a backup first])</small>
* '''describe your environment''' (including things which help you avoid the problem)
* '''describe your environment''' (including anything which helps you avoid the problem)
* '''determine steps to reproduce''', an exact, complete sequence of steps you did '''before''' you shut down
* '''experminent to determine steps to reproduce''', the complete sequence of steps '''before''' shut down needed to reproduce
* '''obtain a hang stacktrace'''
* '''obtain a hang stacktrace'''


Line 29: Line 29:
# CPU usage - is usage zero, low, high (maxed or pegged), or other?
# CPU usage - is usage zero, low, high (maxed or pegged), or other?
# ldap address book - do you have an ldap directory address book defined?
# ldap address book - do you have an ldap directory address book defined?
# run netstat - any thunderbird connections to ldap, imap mail server, or other protocols shown in the netstat display?
# run netstat while Thunderbird is running - any connections to ldap, imap mail server, or other protocols shown for the thunderbird process?
#* MS-Windows: open a dos command window (Start, Programs, Accessories, Command Prompt), then type '''netstat -abo > netstat.log''' and hit enter. then type '''more netstat.log''' to look for lines that show thunderbird.exe.
#* MS-Windows: open a dos command window (Start, Programs, Accessories, Command Prompt), then type '''netstat -abo > netstat.log''' and hit enter. then type '''more netstat.log''' to look for lines that show thunderbird.exe.
#* linux/Mac: do netstat -tp | grep -i thunderbird  
#* linux/Mac: do netstat -tp | grep -i thunderbird  
# If imap connections are shown in the netstat results above and if needed by the devoloper, get an [[MailNews:Logging|imap:5 log]] in a log file, which can be attached to a bug report
## list the netstat results in your problem report
# '''Steps to reproduce''' (STR) - Please determine a list of steps which seem to cause the hang. This list is a sequence of actions (1. xxxx, 2. yyyy, 3. zzz, etc) you did just '''before''' you shut down. Plus the things you see. You may need to experiment to find steps that are reliable, and eliminate steps which aren't needed to reproduce the problem. If you can't seem to find a unique set of steps, don't let that stop you from checking the bug list below or filing a bug report ... because the environment information you have collected in earlier steps above may be enough to identify the problem.
## If imap connections are seen and if needed by the devoloper, get an [[MailNews:Logging|imap:5 log]] in a log file, which can be attached to a bug report
# '''Steps to reproduce''' (STR) - Determine a full list of steps which seem to cause the hang. This list is a sequence of actions (1. xxxx, 2. yyyy, 3. zzz, etc) you did just '''before''' you shut down. Plus the things you see along the way on the screen. You may need to experiment to find steps that are most reliable, and also eliminate steps which aren't needed to reproduce the problem. If you can't seem to find a reliable set of steps, don't let that stop you from checking the bug list below or filing a bug report with the information you have collected.
# '''Obtain a hang stacktrace''' - Please get a stacktrace using Thunderbird symbol server using _'''hang'''_ instructions in the references below, then attach text file containing stacktrace to a bug report. Anywhere you see "Firefox" in the instructions, please substitute "Thunderbird".
# '''Obtain a hang stacktrace''' - Please get a stacktrace using Thunderbird symbol server using _'''hang'''_ instructions in the references below, then attach text file containing stacktrace to a bug report. Anywhere you see "Firefox" in the instructions, please substitute "Thunderbird".
#* Windows: [https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg WinDbg instructions], and use "'''!analyze -v -hang'''" instead of !analyze -v -f
#* Windows: [https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg WinDbg instructions], and use "'''!analyze -v -hang'''" instead of !analyze -v -f
canmove, Confirmed users
2,175

edits

Navigation menu