please tag bug reports about problems with local binaries

Bug #545227 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Wishlist
Martin Pitt

Bug Description

Binary package hint: apport

crash reports which include binaries not distributed with ubuntu are harder to debug/evaluate than those which only consist of files shipped within the distribution.

If a local binary or library is involved, it would be nice to have this information in the report, or maybe better make the bug submitter aware of this before submitting the bug report.

either scan the procmaps and compare it with dpkg -S output, or have a positive list matching names like /opt, /usr/local, /home.

please support scanning the openjdk/sun-java jvm crash dumps as well.

Martin Pitt (pitti)
Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

example for an jvm crash report is bug #388611

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias, bug 388611 wasn't filed though apport.

I see two ways of handling this:

 * Do not allow filing Ubuntu bugs for Java related software if they use anything in /opt or /usr/local (probably preferred?)

 * Just tag those bugs in a special way (takes more triaging effort, allows more bugs to be filed; I don't know whether that's desirable for you?)

Changed in apport (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

> Matthias, bug 388611 wasn't filed though apport.

I see, now seeing a jvm crash, apport doesn't want to report: A message box pops up

The problem cannot be reported

The program crashed on assertion failure, but the message
could not be retrieved. Apport does not support reporting
these crashes.

So for the jvm crashes, this maybe is a new report ...

reported this new crash in bug #546518, so maybe you can use this (start eclipse on i386) to reproduce.

Changed in apport (Ubuntu):
status: Incomplete → New
Revision history for this message
Matthias Klose (doko) wrote :

bug #551676 is an example for a report with a local binary

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias,

I don't see any "local/" nor "home/" in the backtrace or ProcMaps.txt of bug 551676. Where did you see local binaries?

Revision history for this message
Matthias Klose (doko) wrote :

b542c000-b543c000 r-xp 00000000 fb:01 861 /mnt/prometheus/Downloads/quisk-3.3.6/_quisk.so
b543c000-b543d000 r--p 0000f000 fb:01 861 /mnt/prometheus/Downloads/quisk-3.3.6/_quisk.so
b543d000-b543f000 rw-p 00010000 fb:01 861 /mnt/prometheus/Downloads/quisk-3.3.6/_quisk.so

ok, it's /mnt ;)

Revision history for this message
Matthias Klose (doko) wrote :

maybe run dpkg -S <all filenames>?

Revision history for this message
Martin Pitt (pitti) wrote :

> ok, it's /mnt ;)

Ah, I missed that. Thanks.

Changed in apport (Ubuntu):
status: New → Triaged
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r1770. It now both asks the reporter for confirmation, as well as tags the bug ("local-libs") and adds a field "LocalLibraries" with a list of them. Does that sound okay to you?

Changed in apport (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.13.4-0ubuntu1

---------------
apport (1.13.4-0ubuntu1) maverick; urgency=low

  * New upstream bug fix release:
    - bash completion: Fix error message if /usr/share/apport/symptoms does
      not exist. Thanks Philip Muškovac! (LP: #562118)
    - general-hooks/parse_segv.py: Report stack exhaustion more clearly and
      correctly handle register dereferencing calls.
    - Save/restore environment when calling hooks, in case they change the
      locale, etc. (LP: #564422)
    - hookutils.py, command_output(): Do not set $LC_MESSAGES for the calling
      process/hook, just for the command to be called.
    - ui.py: When displaying strings from system exceptions, decode them into
      an unicode string, to avoid crashing the KDE UI. (LP: #567253)
    - apport-retrace: Fix crash for retracing kernel vmcores, which do not
      have an ExecutablePath.
    - apport-bug manpage: Clarify when apport-collect may be used. Thanks
      Brian Murray! (LP: #537273)
    - generic hook: Check ProcMaps for unpackaged libraries, and ask the user
      if he really wants to continue. If he does, tag the report as
      "local-libs" and add a "LocalLibraries" field to the report with a list
      of them. (LP: #545227)
  * debian/control: Drop the now obsolete apport-qt transitional package.
  * debian/control: We do not need python-dev, just python-all.
  * Add debian/source/format: We keep 1.0, since 3.0 is a pain for
    bzr-maintained packages.
 -- Martin Pitt <email address hidden> Sat, 08 May 2010 09:00:26 +0200

Changed in apport (Ubuntu):
status: Fix Committed → 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.