Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-1482

Crash reporter cleanup and auto-report fix

    XMLWordPrintableJSON

    Details

    • Type: Story
    • Status: Closed
    • Priority: Unset
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Environment:
      -
    • Test Plan:
      Hide

      Things that have changed:

      In the crash reporter:
      The settings_crash_behavior.xml file is respected to set the CrashSubmitBehavior values to 0 (ask via ui), 1 (send, no ui), and 2 (don't send, no ui). This file ships set to 1, and can be edited manually.

      After a crash, the crash reporter will now default to sending a crash report without popping up the UI, per above.

      The crash reporters on all platforms now write to the crashreport.log logfile in the Second Life\logs directory, and explain what they're doing. If run on the command-line, they also write to the console.

      In the Viewer:
      Loading configuration files uses a different (but code-wise equivalent) accessor method.

      The --set command line option defaults to settings in the Global group, but can now get at other configuration groups, e.g. --set Warnings.ReturnToOwner 0 would disable the return to owner warning.

      Show
      Things that have changed: In the crash reporter: The settings_crash_behavior.xml file is respected to set the CrashSubmitBehavior values to 0 (ask via ui), 1 (send, no ui), and 2 (don't send, no ui). This file ships set to 1, and can be edited manually. After a crash, the crash reporter will now default to sending a crash report without popping up the UI, per above. The crash reporters on all platforms now write to the crashreport.log logfile in the Second Life\logs directory, and explain what they're doing. If run on the command-line, they also write to the console. In the Viewer: Loading configuration files uses a different (but code-wise equivalent) accessor method. The --set command line option defaults to settings in the Global group, but can now get at other configuration groups, e.g. --set Warnings.ReturnToOwner 0 would disable the return to owner warning.

      Description

      The Viewer ships with the crash reporter config set to auto-send crash reports, but at runtime overwrites this config with always-ask. Restore default auto-send functionality, as well as respecting other options as configured.

      And be a good code citizen; do janitorial work as necessary to make this feature neat and clean.

        Attachments

          Activity

            People

            Assignee:
            gecko.linden Gecko Linden
            Reporter:
            stone.linden Stone Linden
            Prod Owner Approved:
            Jenn Linden
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty