retracers crash on "KeyError: 'Stacktrace'" errors sometimes

Bug #352331 reported by Sebastien Bacher
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

Since yesterday the retracers crashers several times on similar errors

"Duplicate check negative
Traceback (most recent call last):
  File "/tmp/tmpu07Rdt/usr/bin/apport-retrace", line 568, in <module>
    crashdb.update(crashid, report)
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 227, in update
    t[0].write(report['Stacktrace'])
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'Stacktrace'
03/31/09 03:51:38: retracing #350896 failed with status: 1"

Changed in apport (Ubuntu):
assignee: nobody → pitti
importance: Undecided → Medium
Revision history for this message
Martin Pitt (pitti) wrote :

gdb hangs on bt'ing #350896

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

can reproduce with 349833

Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.148

---------------
apport (0.148) jaunty; urgency=low

  [ Matt Zimmerman ]
  * apport/hookutils.py: add attach_media_build to include information about
    the build of installation media in use (i.e. in a casper live CD
    environment)
  * general-hooks/ubuntu.py: use attach_media_build (LP: #351781)
  * bin/apportcheckresume: Use attach_file_if_exists rather than attach_file to
    avoid spurious error messages about non-existent log files (LP: #351973)

  [ Martin Pitt ]
  * debian/local/ubuntu-bug: Drop generic passthrough of apport-{cli,gtk,kde}
    options since this leads to too much confusion. Instead just support a
    single argument and check whether it is a pid, a package name, a .crash
    file, or a program path. This does the right thing when calling it with a
    .crash file (LP: #347392) and fixes the help output (LP: #344923) Update
    manpage accordingly.
  * apport/hookutils.py: Move attach_media_build() to
    general-hooks/ubuntu.py, since it is Ubuntu specific.
  * bin/apport-retrace: Fix KeyError crash on bugs with an ExecutablePath
    which does not exist any more. Close the bug as invalid instead.
    (LP: #352331)
  * bin/kernel_oops: Add "kernel-oops" tag. Since both bin/kernel_oops and
    bin/apportcheckresume use the "kerneloops" bug class, it previously was
    hard to filter out the bug reports which were real oopses. (LP: #349621)

 -- Martin Pitt <email address hidden> Wed, 01 Apr 2009 18:10:01 +0200

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.