Changes between Version 3 and Version 4 of ReportingErrors


Ignore:
Timestamp:
Mar 19, 2012, 10:58:47 PM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ReportingErrors

    v3 v4  
    2222and 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.
    2323
    24 Attach the crashlog files to your ticket. If you'd like to try debugging the error yourself, see DebuggingOnWindows.
     24Attach the crashlog files to your bug report. If you'd like to try debugging the error yourself, see DebuggingOnWindows.
    2525
    2626If 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.
     
    4848`(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?`
    4949
    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 that into your bug report.
     50This 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.
    5151
    52 If you got a segfault instead and no debug options, you'll need to know how to reproduce the crash, then run the game in GDB:
     52If 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:
    5353{{{
    5454cd binaries/system
     
    5656(gdb) run
    5757... crash!
    58 (gdb) bt full
     58(gdb) thread apply all bt full
    5959}}}
    6060
     
    6363An 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:
    6464
     65[[Image(ErrorAndWarning.png)]]
    6566
    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:
     67The 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:
    6868 * Windows: `%appdata%\0ad\logs\`
    6969 * Linux: `~/.config/0ad/logs/`