Add customized apport support to gdm

Bug #368256 reported by Bryce Harrington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Wishlist
Sebastien Bacher

Bug Description

Binary package hint: gdm

We have set up some pretty handy automatic file collection stuff for Xorg, so when bugs are filed against an xorg package we have the files needed for debugging the problems.

A portion of the bugs filed against gdm actually are xorg bugs, and these get reassigned to xorg. However, since they were initially filed against gdm, they lack all the info we need to debug.

I would propose adding the xorg apport hook to gdm as well, as it will solve this problem.

Further, this will help with gdm, since it collects files like /var/log/gdm/:0.log*, ~/.config/monitors.xml, etc. that you probably need for troubleshooting gdm bugs unrelated to xorg. And in addition to that, this will make it easy for you to add other files or information that we wouldn't need for xorg but you might want for other kinds of gdm bugs.

With this hook, you can utilize it for bug reporters in three ways:

  * Automatically run when user encounters a crash (in theory*)

  * ubuntu-bug gdm

  * apport-collect <gdm-bug-number>

It is also possible to hook into apport via "Report a Problem" type links in GUI's (not doable for xorg, but maybe gdm or other gnome apps would like to have such a link...)

* - I found with xserver that it had its own signal handling I had to recode in order for segfaults to trigger apport correctly. So YMMV, but that would be a problem unrelated to this hook.

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

Here is an example debdiff of how you could implement this hook.
Note this is entirely untested.

Bryce Harrington (bryce)
Changed in gdm (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
importance: Undecided → Wishlist
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report

Changed in gdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 2.20.10-0ubuntu3

---------------
gdm (2.20.10-0ubuntu3) karmic; urgency=low

  * Upload to Karmic

  [ Bryce Harrington ]
  * Add apport hook for gdm, derived from the xorg package hook, since many
    gdm bug reports are actually X.org bugs, and others at least need similar
    info to troubleshoot.
    (LP: #368256)

 -- Sebastien Bacher <email address hidden> Fri, 15 May 2009 18:16:27 +0200

Changed in gdm (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.