apport-retrace shouldn't expect a Package field for kernel crashes

Bug #585269 reported by Jonathan Davies
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Apport
Fix Released
High
Martin Pitt
apport (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Kernel crash reports don't have a Package: field and the -R apport-retrace doesn't work with them.

Attached is a traceback of the error.

Revision history for this message
Jonathan Davies (jpds) wrote :
summary: - apport-retrace should expect a Package field for kernel crashes
+ apport-retrace shouldn't expect a Package field for kernel crashes
Jonathan Davies (jpds)
Changed in apport:
status: New → Confirmed
Revision history for this message
Thomas Dreibholz (dreibh) wrote :

This bug also occurs in Maverick.

Martin Pitt (pitti)
Changed in apport:
status: Confirmed → In Progress
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
Revision history for this message
Alex (mestia) wrote :

the same on Lucid - Ubuntu 10.04.1 LTS.

# apport-retrace --stdout --rebuild-package-info /var/crash/linux-image-2.6.32-27-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

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

The current /usr/share/apport/kernel_crashdump does attach the Package field.

Changed in apport:
status: In Progress → Fix Released
Changed in apport (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
stchesmeli (stchesmeli-ext) wrote :

i am affected by this bug. When it will be fixed ?

Revision history for this message
Brandi Allee (brandilallee) wrote :

My pc is always sending crash reports and will not dowload up dates help please

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.