apport recommends gdb

Bug #1347565 reported by Jonathan Riddell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned
Utopic
Fix Released
Undecided
Unassigned

Bug Description

apport-kde (and apport-gtk) recommends gdb | gdb-minimal

This brings in gdb and with it libc6-dbg onto the images which are now oversized (looking at trusty 12.04.1 candidates today).

I'd like to switch this so gdb-minimal is recommended first for apport-kde.

Revision history for this message
Jonathan Riddell (jr) wrote :

Uploaded to utopic

Uploaded to trusty-proposed, awaiting approval from ubuntu-sru

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

That seems fine to me. The main thing we need from gdb on the client side is calculation of a stack trace address signature, we don't need the capabilities of the full gdb (like decoding Python objects) for that.

I think a good regression test is something like this:

 - Ensure that you only have gdb-minimal installed
 - Trigger a crash, with e. g. sh -c 'kill -SEGV $$'
 - wait for the apport window to pop up
 - look at the details
 - Ensure you see a StacktraceAddressSignature, which should look something like:

    StacktraceAddressSignature: /bin/dash:11:/lib/x86_64-linux-gnu/libc-2.19.so+373e7:/bin/dash+cc67:[...]

Changed in apport (Ubuntu Trusty):
status: New → In Progress
Martin Pitt (pitti)
Changed in apport (Ubuntu Utopic):
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jonathan, or anyone else affected,

Accepted apport into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/apport/2.14.1-0ubuntu3.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in apport (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
apport (2.14.5-0ubuntu1) utopic; urgency=medium

  * New upstream bug fix release. Changes since last snapshot:
    - apt/dpkg get_file_package(): If checking for uninstalled packages, don't
      use package information from the host system, but always look it up in
      the correct indexes. Otherwise this returns wrong results when files
      move to a different package between releases. Thanks Brian Murray!
      (LP: #1336062)
    - apt/dpkg install_packages(): Disable fetching apt translation indexes,
      to save some bandwidth.
    - whoopsie-upload-all: Ignore crash reports with incomplete core dumps
      instead of crashing on them. Thanks Brian Murray. (LP: #1329520)
    - etc/default/apport: Fix comment to use "service" instead of calling the
      init.d script directly.
    - whoopsie-upload-all: Collect hooks information to gather ApportVersion,
      NonfreeKernelModules, and SystemImageInfo. Do this before collecting
      package data to minimize hook run time. (LP: #1349579)
    - Adjust report.test_get_logind_session test to work with systemd >= 205.
    - Fix report.test_check_interpreted_twistd test to skip instead of fail if
      twisted is not installed.

  * Drop automatix.py general hook. Automatix is long gone.
  * etc/apport/blacklist.d/apport: Drop long obsolete npviewer/npplayer
    entries.
  * Drop unnecessary python-gi build dependency.
  * Drop python-twisted-core build dependency. It's just used for one test,
    and will still run in autopkgtest. (Avoids current twisted
    uninstallability in main)
 -- Martin Pitt <email address hidden> Tue, 29 Jul 2014 12:26:23 +0200

Changed in apport (Ubuntu Utopic):
status: Fix Committed → Fix Released
Revision history for this message
Mathew Hodson (mhodson) wrote :

apport-kde 2.14.1-0ubuntu3.3 recommends gdb-minimal before gdb.

$ apt show apport-kde
Package: apport-kde
Priority: optional
Section: universe/kde
Installed-Size: 214 kB
Maintainer: Martin Pitt <email address hidden>
Source: apport
Version: 2.14.1-0ubuntu3.3
Depends: python3, python3-apport (>= 2.14.1-0ubuntu3.3), python3-pykde4, apport (>= 0.41), procps, x-terminal-emulator
Recommends: kubuntu-notification-helper, gdb-minimal | gdb

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for apport has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.14.1-0ubuntu3.3

---------------
apport (2.14.1-0ubuntu3.3) trusty-proposed; urgency=medium

  * In apport-kde recommend gdb-minimal before gdb
    LP: #1347565 "apport recommends gdb"
 -- Jonathan Riddell <email address hidden> Wed, 23 Jul 2014 12:38:43 +0200

Changed in apport (Ubuntu Trusty):
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.