Changes between Version 3 and Version 4 of ReportingErrors
- Timestamp:
- Mar 19, 2012, 10:58:47 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReportingErrors
v3 v4 22 22 and generate crashlog files in `%appdata%\0ad\logs\`. The crash dump contains a call stack, which is the state of the program at the time it crashed, this is the most useful info for troubleshooting. There is also a text file with errors that were logged and basic info on the user's system (OS, driver versions, CPU, etc.) Only the most recent crashlog is saved, so it's best to report the crash as soon as it occurs. 23 23 24 Attach the crashlog files to your ticket. If you'd like to try debugging the error yourself, see DebuggingOnWindows.24 Attach the crashlog files to your bug report. If you'd like to try debugging the error yourself, see DebuggingOnWindows. 25 25 26 26 If the game crashes early (before the main menu is displayed), it may not be able to create crashlog files or error logs. In this case it's useful to read the debug output from the game's startup which is normally not visible, using Microsoft's free [http://technet.microsoft.com/en-us/sysinternals/bb896647 DebugView] utility. … … 48 48 `(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?` 49 49 50 This call stack is generally not very useful as symbols are not loaded, so choose the "Debugger" option to open GDB. At the `(gdb)` prompt, type ` bt full` to get the full call stack, then copy-and-paste thatinto your bug report.50 This call stack is generally not very useful as symbols are not loaded, so choose the "Debugger" option to open GDB. At the `(gdb)` prompt, type `thread apply all bt full` (for a trace of all threads, or `bt full` for only the crashing thread) to get the call stack, then copy-and-paste the results into your bug report. 51 51 52 If you g ot a segfaultinstead and no debug options, you'll need to know how to reproduce the crash, then run the game in GDB:52 If you get a "Segmentation fault" instead and no debug options, you'll need to know how to reproduce the crash, then run the game in GDB: 53 53 {{{ 54 54 cd binaries/system … … 56 56 (gdb) run 57 57 ... crash! 58 (gdb) bt full58 (gdb) thread apply all bt full 59 59 }}} 60 60 … … 63 63 An error is when the game notifies the user that something bad happened, they are typically both logged and displayed as messages in the game window: 64 64 65 [[Image(ErrorAndWarning.png)]] 65 66 66 67 The game will continue after most errors, but they may trigger more errors. Errors are often caught by the developers but sometimes they sneak into the Alpha releases. To report the exact messages, open interestinglog.html in your web browser and copy the contents into your bug report. The location of the logs varies by OS: 67 The game will continue after most errors, but they may trigger more errors. Errors are often caught by the developers but sometimes they sneak into the Alpha releases. To report the exact messages, open `interestinglog.html` in your web browser and copy the contents into your bug report. The location of the logs varies by OS: 68 68 * Windows: `%appdata%\0ad\logs\` 69 69 * Linux: `~/.config/0ad/logs/`