Specifying a PID with apport-cli does not work

Bug #1204718 reported by Peter Matulis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

While studying apport-cli I discovered that trying to report a bug by specifying the PID of a running process does not work:

$ pidof cron
864
$ apport-cli 864

*** Error: Invalid PID

The specified process ID does not belong to a program.

Press any key to continue...

No pending crash reports. Try --help for more information.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apport 2.11-0ubuntu1
ProcVersionSignature: Ubuntu 3.10.0-5.14-generic 3.10.2
Uname: Linux 3.10.0-5-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Wed Jul 24 20:49:50 2013
InstallationDate: Installed on 2013-07-10 (14 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Alpha amd64 (20130707)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 XDG_RUNTIME_DIR=<set>
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Peter Matulis (petermatulis) wrote :
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.12-0ubuntu2

---------------
apport (2.12-0ubuntu2) saucy; urgency=low

  * Merge from trunk:
    - sandboxutils.py, make_sandbox(): Install packages from Package: and
      Dependencies: fields also if we have a ProcMaps: field and there are any
      third-party packages. This fixes retracing crashes that use PPAs (as they
      don't have Contents.gz).
    - Robustify "progress bar visible" GTK and KDE UI checks for the faster
      collection due to dropping lsb_release.
 -- Martin Pitt <email address hidden> Fri, 02 Aug 2013 16:03:43 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Peter Matulis (petermatulis) wrote :

Confirmed.

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.