apport-retrace - IndexError: list index out of range

Bug #592239 reported by Jamin W. Collins
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: apport

Attempts to retrace a kernel crashdump fail with the following output:

$ sudo apport-retrace --verbose --stdout --rebuild-package-info /var/crash/linux-image-2.6.32-22-generic.0.crash
Traceback (most recent call last):
  File "/usr/bin/apport-retrace", line 261, in <module>
    options.extra_packages)
  File "/usr/lib/python2.6/dist-packages/apport/packaging_impl.py", line 407, in install_retracing_packages
    return self._install_debug_kernel(report)
  File "/usr/lib/python2.6/dist-packages/apport/packaging_impl.py", line 363, in _install_debug_kernel
    ver = report['Package'].split()[1]
IndexError: list index out of range

This is even after building and installing the dbgsym ddeb for the associated kernel (current running) with the following:

$ apt-get source linux-image-$(uname -r)
$ sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
$ cd linux-2.6.32/
$ fakeroot make -f debian/rules binary-generic skipdbg=false
$ cd ..
$ sudo dpkg -i linux-image-2.6.32-22-generic-dbgsym_2.6.32-22.36_amd64.ddeb

Uploads of the crashdump repeatedly fail, which is why I've looked to retrace it locally. I suspect the upload failures are due to the size of the crash dump file:

$ ls -sh /var/crash/linux-image-2.6.32-22-generic.0.crash2.3G /var/crash/linux-image-2.6.32-22-generic.0.crash
2.3G /var/crash/linux-image-2.6.32-22-generic.0.crash

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apport-retrace 1.13.3-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
CrashReports: 600:0:0:2425933638:2010-06-09 13:27:18.475554000 -0600:2010-06-10 07:25:20.765613931 -0600:/var/crash/linux-image-2.6.32-22-generic.0.crash
Date: Thu Jun 10 07:28:12 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: apport

Revision history for this message
Jamin W. Collins (jcollins) wrote :
Revision history for this message
hackeron (hackeron) wrote :

Same here, any solution?

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

Status changed to 'Confirmed' because the bug affects multiple users.

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