Features/CrashHandling

From FedoraProject

Jump to: navigation, search

Contents

Handling program crashes in Fedora

Summary

  1. A crash handler which notifies the user when a program crashes and allows them to submit a report to the Fedora developers, and
  2. A server for collecting crash reports and mining useful data from them.

Owner

Current status

Benefit to Fedora

By providing an automated mechanism for tracking application crashes, we will be able to:

Better crash data leads to more crash fixes, which leads to a higher-quality distribution.

Scope

As of about Fedora 6, packages no longer include the "debuginfo" data necessary for local crash handlers to get a useful stack trace. See Packaging/Debuginfo and StackTraces for details.

What we want is a system that gets information about the crash to developers in a form with complete stack trace data.

The plan has two major parts - a crash handler which runs on the client, and a server for submitting/aggregating crash reports.

Client

crash-handler

A program to catch crashing programs and write out a crash report / stack trace.

crash-watcher

A small daemon to:

When a new dump is found, send notifications to the user allowing them to:

crash-submitter

Sends minidumps to the server to be retraced. image:Echo-package-16px.pngbug-buddy might work for this.

Server

Open questions

How To Test

Cause a program to crash and get a report submitted to Socorro. Test that socorro correctly retraces it and gets enough information for a developer to identify the problem.

User Experience

A program crashes. We display a dialog or notification that the program has crashed and save a useful stack trace to a well-known location.

Dependencies

Contingency plan

  1. Don't enable the agent
  2. Don't ship the agent
  3. Reinvestigate other options such as Apport.

Documentation

Some simple documentation on how to enable and disable the crash reporting, and how to make it happen automatically.

Release Notes

(We will want to explain to developers of Free programs how to find crash dumps.)

Comments