Thursday, October 22, 2009

Apport disable ignore future crash reports

When a software application crashes on Ubuntu Linux Apport automatically collects program data, creates a crash report and submits this information to Ubuntu bug reporting system Launchpad. Such detailed crash reports are invaluable in fixing the software bugs.

For developers who run unstable and bleeding edge development systems, software crashes are more common than you think. Often its good to let apport ignore known bugs by checking 'Ignore future crashes of this program version'. When a newer version of application is released with bug fixes, its reasonable to let apport watch the application for new crashes. However the apport documentation doesn't mention anything about this. I posted a question on launchpad, but didn't get a satisfactory answer. Digging deeper into my system I realised the trick lies in the ~/.apport-ignore.xml file. As the name suggests apport ignores all applications listed in this file. Do you think editing this file is correct method. Any ideas?

<?xml version="1.0" ?> <apport> <ignore mtime="1249941982" program="/usr/lib/gvfs/gvfsd-trash"/> <ignore mtime="1249661853" program="/usr/bin/indicator-messages-service"/> <ignore mtime="1241703827" program="/usr/bin/sugar-ui-check"/> <ignore mtime="1247782974" program="/usr/bin/update-notifier"/> <ignore mtime="1249944683" program="/usr/bin/file-roller"/> <ignore mtime="1249927702" program="/usr/bin/gnome-keyring-daemon"/> <ignore mtime="1241703827" program="/usr/bin/sugar-session"/> <ignore mtime="1250707118" program="/usr/bin/evince"/> <ignore mtime="1249941982" program="/usr/lib/gvfs/gvfs-gdu-volume-monitor"/> <ignore mtime="1251154362" program="/usr/bin/accerciser"/> </apport>

5 comments:

  1. I don't know if this is the 'right' way, but thanks for publishing this. I found it particularly awesome--after I accidentally disabled crash reports for a particularly buggy program. No, I don't think there is a 'right' way--that is, through apport's user interfaces. Not through the GUI or the CLI, as far as I can tell.

    ReplyDelete
  2. Thanks. I know this is an old post, but I still found it helpful. Apport on 12.04 alfa2 was driving me nuts.

    ReplyDelete
  3. I also found this helpful...

    ReplyDelete
  4. Still very helpful, saved me from a similar problem like JPaugh had...
    Thanks mate. :)

    ReplyDelete

You can leave a comment here using your Google account, OpenID or as an anonymous user.

Popular Posts