Thunderbird:Testing:Get A Debug Thunderbird Hang Stack: Difference between revisions

'cont', if TB stops
No edit summary
('cont', if TB stops)
Line 22: Line 22:
2) At a Terminal prompt, find its process id:
2) At a Terminal prompt, find its process id:


   ps ax | grep thunderbird
   ps ax | grep thunderbird-bin


(The pid will be listed in the first column to the left.  Let's assume it's '123'.)
(The pid will be listed in the first column to the left.  Let's assume it's '123'.)
Line 30: Line 30:
   gdb thunderbird-bin 123
   gdb thunderbird-bin 123


4) Next, get a backtrace of all running TB threads:
4) If TB stops, then continue it:
 
  cont
 
5) Next, get a backtrace of all running TB threads:


   thread apply all bt
   thread apply all bt


5) Finally, save the output to a text file and attach it to your bug report.
6) Finally, save the output to a text file and attach it to your bug report.


[https://bug494849.bugzilla.mozilla.org/attachment.cgi?id=379647 A sample all-thread backtrace]
[https://bug494849.bugzilla.mozilla.org/attachment.cgi?id=379647 A sample all-thread backtrace]


Credit Steven Michaud from [https://bugzilla.mozilla.org/show_bug.cgi?id=470001#c23 bug 470001 comment 23] for the original instructions.
Credit Steven Michaud from [https://bugzilla.mozilla.org/show_bug.cgi?id=470001#c23 bug 470001 comment 23] for the original instructions.
22

edits