DeveloperHowTo

Revision 1 as of 2008-07-14 16:11:13

Clear message

How to Use Apport in your Programs

By default, apport provides the following functionality for all programs in Ubuntu:

  • When a program segfaults, apport stores a persistent crash report in /var/crash which can be later analyzed even if the bug cannot be reproduced by a developer

  • Information about the state of the system and installed software is automatically included in the report
  • Apport can semi-automatically attach the crash data to a bug report in Launchpad
  • For C and C++ programs, the [:../Retracer:retracer] will automatically decode the stack trace in the crash report and attach the decoded stack trace to the bug report

Package Hooks

Custom Hooks

TODO

  • Apport in external projects?