Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
users:writing_useful_bug_reports [2015/09/07 16:48] – cmotc | users:writing_useful_bug_reports [2015/11/17 10:57] (current) – subliun | ||
---|---|---|---|
Line 27: | Line 27: | ||
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 | + | === 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 76: | 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 ===== |