retracer should ensure apport-crash bugs have a package

Bug #269045 reported by Brian Murray on 2008-09-11
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Martin Pitt

Bug Description

Binary package hint: apport

There have been quite a few apport-crash bug reports without a package assigned to them. I just cleaned most of them up though so have nothing to use as an example. However, I believe that the reporter is removing the package name for some reason when the bug is being filed. The right package could get assigned if the retracer were to check if the bug has a package assigned and if not check the bug description for the package name and then assign it.

Changed in apport:
assignee: nobody → pitti
Martin Pitt (pitti) on 2008-09-11
Changed in apport:
status: New → In Progress
Brian Murray (brian-murray) wrote :

I'd be happy to work on this if you could point me in the right direction.

Martin Pitt (pitti) wrote :

apport/crashdb_impl/, update() should use p-lp-bugs (the "Bug" object) to set the package field if report['SourcePackage'] exists. Should really just be an one-liner, sorry for dragging this so long. After the beta release I'll have some more time to work on bug fixes.

Martin Pitt (pitti) wrote :

Fixed in bzr trunk, and rolled out to the retracers.

Changed in apport:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.117

apport (0.117) intrepid; urgency=low

  * backends/, is_distro_package(): Fix crash if
    apt.Cache()[pkg].origins is None. (LP: #279353)
  * bin/apport: Log that we are ignoring SIGABRT, since it is a common cause
    of confusion.
  * test-apport, create_test_process(): Fix race condition: wait until the
    child process has fully execve()ed, to avoid coredumping it while it is
    still running as test-apport process.
  * apport/crashdb_impl/, update(): Set source package of a bug if
    the reporter removed it and the task is against 'Ubuntu'. (LP: #269045)

 -- Martin Pitt <email address hidden> Tue, 07 Oct 2008 16:38:06 +0200

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers