Changes between Initial Version and Version 1 of ReportBugs

Apr 25, 2007, 3:19:44 PM (15 years ago)

Converted by an automatic script


  • ReportBugs

    v1 v1  
     1= Reporting 'hard' bugs =
     3      If a bug can be easily reproduced, it's easy for us to fix. 'Hard' bugs are those that happen rarely or only on specific machines. The following information tells BOINC Alpha Testers (and anyone else who wants to help) how to report hard bugs, so that we can fix them even if we can't reproduce them.
     4== Background ==
     5 The BOINC client software consists of two programs: the '''core client''', which runs applications and does network communication, and the '''Manager''', which provides a graphical user interface (GUI) to the core client. It's possible to run the core client without a GUI. Each program produces two files in your BOINC directory: one for messages, one for crash reports. These files are named as follows:
     8 * core client
     9  * message log: stdoutdae.txt
     10  * crash reports: stderrdae.txt
     11 * Manager
     12  * message log: stdoutgui.txt
     13  * crash reports: stderrgui.txt
     15  When BOINC does something wrong, one or more of these files often contain information that allows us (i.e. BOINC developers) to easily find and fix the problem.
     16== Reporting hard bugs ==
     17  Report hard bugs by email, either to the [ boinc_alpha] email list or directly to [ProjectPeople David and Rom]. '''Note: when you post to boinc_alpha, attachments are stripped
     18from your email; include text inline rather than as attachments.
     19There's a 200KB limit.''' Your bug report should include:
     20 * The context: what platform, what version of BOINC, anything else that might be relevant.
     21 * What sequence of actions caused the problem.
     22 * The exact nature of the problem.
     23 * All relevant crash reports or message logs (see below). '''If you don't include this information,
     24we probably won't be able to fix the bug.'''
     26 In general we're only interested in bug reports for the current public release, or for the latest testing release.
     27== Crashes ==
     28 If the Manager suddenly does blank and says 'not connected', it's almost certainly because the core client has crashed. You can verify this by running the Windows Task Manager (ctrl-alt-del) and checking that there's no process named 'boinc.exe'.
     30Each crash appends an entry to the crash-report file (stderrdae.txt for the core client). Here's [ an example of such an entry]. It has a long list of DLLs in use at the time of the crash, followed by several 'stack traces' showing where the various threads were executing.
     32Your bug report email should include the most recent entry from your crash-report file. Please edit the file to remove old entries, so that we don't get confused by them.
     35== Incorrect behavior ==
     36  If BOINC behaves incorrectly, we usually need the core client's message log to figure out what's going on. The message log describes what the core client is doing. It's identical to what's shown in the Messages tab of the Manager. By default the core client writes only a few messages. More detailed messages are enabled by turning on '''logging flags'''. This is done by editing the file cc_config.xml in your BOINC directory. For example, the following turns on the task_debug and cpu_sched flags (1 turns a flag on; 0 or unspecified turns it off):
     39    <log_flags>
     40        <task_debug>1</task_debug>
     41        <cpu_sched>1</cpu_sched>
     42        <sched_op_debug>0</sched_op_debug>
     43        <cpu_sched_debug>0</cpu_sched_debug>
     44    </log_flags>
     47      A typical message log is shown [ here]. Note that each line contains
     50 * The date and time when the message was written
     51 * The name of the project involved (if any)
     52 * The name of the logging flag.
     54  Many of the logging flags produce large amounts of output, so you should
     55 * enable only the flags that are relevant to the problem you're reporting;
     56 * email us only the range of your message log during which the problem occurred.
     58 (in both cases, it's better to err on the side of including too much).  Some common problem types, and the suggested logging flags, are listed below. A complete list of logging flags is [ClientMessages here].
     61=== BOINC fails to get more work ===
     67=== BOINC thinks apps are running but they aren't ===
     75=== CPU benchmark problems ===
     81=== Bad CPU scheduling decisions ===
     89=== Memory usage preferences ===
     95=== File transfer problems ===
     102=== Screensaver problems ===
     108=== Applications not reporting CPU time, fraction done correctly ===