apport is confused by networkmanager crash

Bug #102056 reported by Malcolm Parsons
10
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

apport said this to me today:

"Invalid problem report

This problem report does not apply to a packaged
program. (/var/run/NetworkManager/NetworkManager.pid)"

The crash report contains:

ProblemType: Crash
Architecture: amd64
Date: Mon Apr 2 19:17:55 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /var/run/NetworkManager/NetworkManager.pid
InterpreterPath: /usr/sbin/NetworkManager
ProcCmdline: /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid

$ dpkg -S /usr/sbin/NetworkManager
network-manager: /usr/sbin/NetworkManager

Why does apport think NetworkManager is an interpreter?

Revision history for this message
Malcolm Parsons (malcolm-parsons) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Whoops, thanks for pointing this out.

Changed in apport:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Martin Pitt (pitti)
Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 apport (0.74) feisty; urgency=low
 .
   * debian/apport-{gtk,qt}.install: Do not install .desktop files for now,
     until we get a proper guided bug reporting.
   * problem_report.py, write_mime(): Do not re-compress keys which already end
     in .gz. Add test cases.
   * test-hooks: Add a (dodgy) test case for calling package_hook on an
     uninstalled package. After all, this is very likely to happen for
     installation errors. This reproduces #97636.
   * backends/packaging-dpkg.py, get_source(): Add a similarly dodgy fallback
     to apt if the queried package is not installed. This needs to be
     generalized and cleaned up later, but now is the time for unintrusive
     small patches. (LP: #97636)
   * test-apport: Do not fail on non-empty gdb stderr if it only consists of a
     single warning (as happens on powerpc).
   * apport/report.py, test_check_interpreted(): Run gedit test on an actually
     existing file, reproducing the interpreter confusion reported in #102056.
   * apport/report.py, _check_interpreted(): Add a whitelist of common
     interpreters and check ExecutablePath against it. (LP: #102056)
   * apport/ui.py: Ignore SystemError exceptions from apt, which happen on
     badly formatted source.list entries. (LP: #98901)
   * apport/ui.py: Fix crash on None candiateOrigin from the apt cache object.
     (LP: #98961)
   * gtk/apport-gtk.glade: Add window titles to progress and details dialogs.
     (LP: #97640)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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