[apport] apport-retrace crashed with AssertionError in install_missing_packages()

Bug #107474 reported by Brian J. Murrell
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

simply tried to retrace a crash.

ProblemType: Crash
ApportLog:
 apport (pid 29147) Wed Apr 18 08:15:43 2007: called for pid 17452, signal 11
 apport (pid 29147) Wed Apr 18 08:15:43 2007: executable: /usr/bin/evolution-2.10 (command line "/usr/bin/evolution")
 apport (pid 29147) Wed Apr 18 08:20:51 2007: wrote report /var/crash/_usr_bin_evolution-2.10.1001.crash
Architecture: i386
Date: Wed Apr 18 08:21:51 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/apport-retrace
InterpreterPath: /usr/bin/python2.5
Package: apport-retrace 0.76
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-retrace /var/crash/_usr_lib_amanda_amandad.34.crash
ProcCwd: /var/log/amanda
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_CA.UTF-8
PythonArgs: ['/usr/bin/apport-retrace', '/var/crash/_usr_lib_amanda_amandad.34.crash']
SourcePackage: apport
Uname: Linux pc 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Did you actually have the amanda package installed when you tried that? (or did apport-retrace install it correctly?)

Changed in apport:
status: Unconfirmed → Needs Info
Revision history for this message
Martin Pitt (pitti) wrote :

Nevermind, mvo and I figured it out. Fixed in bzr head.

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

 apport (0.81) gutsy; urgency=low
 .
   * apport/report.py: Remove '[apport]' default bug title prefix. (LP: #94819)
   * apport/crashdb_impl/launchpad.py: Tag new bugs with
     'apport-<problemtype>'. This replaces the former '[apport]' prefixing.
   * debian/local/setup-apport-retracer: Specify a path in '.' command and
     use sh again. Yay for me needing three attempts before actually RTFMing
     how '.' works (which is really nasty and strange IMHO).
   * bin/apport-chroot: Fix symlinks before repackaging the chroot tarball in
     'install' and 'installdeb' modes.
   * debian/local/setup-apport-retracer: Install python-libxml2 and python-apt.
   * bin/launchpad-crash-digger: Supply --auth instead of the deprecated
     --cookie to apport-chroot.
   * bin/apport-chroot: Fix identifier name in command_retrace().
   * debian/local/setup-apport-retracer: Set APPORT_CRASHDB_CONF to the local
     crashdb.conf.
   * bin/apport-chroot: Unset APPORT_CRASHDB_CONF for login and retrace.
   * bin/launchpad-crash-digger: Check the release of a bug and whether we have
     a chroot for it before untagging it. This avoids loosing tags for bugs we
     do not yet have a working retracer chroot for.
   * bin/apport-retrace: Do not abort with an exception if package installation
     fails. Give a proper error message instead and point to -u. (LP: #115681)
   * apport/crashdb_impl/launchpad.py, update(): Create a temporary directory
     and use proper file names for the new attachments. With TemporaryFile(),
     attachment file names ended up as '<fdopen>'. (LP: #115347)
   * apport/report.py, add_os_info(): Add field 'NonfreeKernelModules' which
     lists loaded kernel modules which do not have a FOSS license. This is
     particularly helpful for quickly checking for restricted graphics drivers.
     (LP: #103239)
   * apport_python_hook.py: Move the apport.* imports into the try: block and
     move the likely_packaged() test to the top, to avoid importing
     apport.report and creating a Report object for non-packaged scripts. This
     makes the entire code more efficient and robust against errors in the
     apport modules. (LP: #109955)
   * apport/report.py, add_gdb_info(): Intercept OSError from gdb invocation
     (which might be segfaulting itself) and just do not put any gdb output
     into the report. The automatic retracers can try their luck again.
     (LP: #112501)
   * bin/apport-retrace: Fix handling of packages which are still known to
     /var/lib/dpkg/status, but do not have an apt record any more; treat them
     like virtual packages and just issue a warning instead of falling over.
     (LP: #107474)

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.

Other bug subscribers

Remote bug watches

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