Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| users:writing_useful_bug_reports [2015/09/07 16:45] – created cmotc | users:writing_useful_bug_reports [2015/11/17 10:57] (current) – subliun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Writing Useful Bug Reports ===== | ===== Writing Useful Bug Reports ===== | ||
| - | Adapted from this page at the qTox wiki[[https:// | + | Adapted from this page at the qTox wiki[[https:// |
| ==== What To Include ==== | ==== What To Include ==== | ||
| Line 26: | Line 26: | ||
| To acquire a backtrace, you will need to use the debugger appropriate for your platform. For Unix-Like systems that will probably be [[https:// | To acquire a backtrace, you will need to use the debugger appropriate for your platform. For Unix-Like systems that will probably be [[https:// | ||
| + | |||
| + | === Acquiring Debug Builds of Toxcore and your Tox Client === | ||
| + | |||
| + | **From your distribution' | ||
| + | |||
| + | **Compiling from source:** | ||
| === Acquiring a Backtrace === | === Acquiring a Backtrace === | ||
| + | 1: Execute the binary in a debugger | ||
| + | |||
| + | < | ||
| + | #load the debug binary | ||
| + | gdb / | ||
| + | </ | ||
| + | |||
| + | 2: Reproduce the circumstances causing the issue(i.e. deliberately cause it to crash), making sure the steps correspond to what you will report per the [[# | ||
| + | |||
| + | < | ||
| + | #start the program in the debugger | ||
| + | (gdb) run | ||
| + | #now reproduce the crash | ||
| + | </ | ||
| + | |||
| + | 3: Prompt your debugger to trace the error | ||
| + | < | ||
| + | (gdb) backtrace | ||
| + | </ | ||
| + | |||
| + | 3b: If you need to collect information from all the running threads | ||
| + | < | ||
| + | (gdb) thread apply all backtrace full | ||
| + | </ | ||
| + | |||
| + | 4: Paste the backtrace somewhere (e.g. [[https:// | ||
| ==== Bug Report Template ==== | ==== Bug Report Template ==== | ||
| Line 74: | Line 106: | ||
| Some tips for troubleshooting Tox Clients include: | Some tips for troubleshooting Tox Clients include: | ||
| - | - Use Echobot for testing audio. If you start a voice/video call with Echobot, it will echo back all audio you send it with a 1-2 second delay. Echobot' | + | - Use Echobot for testing audio. If you start a voice/video call with Echobot, it will echo back all audio you send it with a 1-2 second delay. Echobot' |
| ===== Reading Material ===== | ===== Reading Material ===== | ||
| Line 80: | Line 112: | ||
| If you'd like to read other articles describing methods for writing bug reports, the following list contains a few very good picks: | If you'd like to read other articles describing methods for writing bug reports, the following list contains a few very good picks: | ||
| - | * http:%%//%%www.chiark.greenend.org.uk/ | + | * [[http:// |
| - | * https:%%//%%github.com/ | + | * [[https:// |