Ubuntu-bug crashed with AssertionError

Bug #383104 reported by Ken Lewis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt
Karmic
Fix Released
High
Martin Pitt

Bug Description

I'm testing Karmic and Ubuntu-bug today crashed with the following output:

Traceback (most recent call last):
  File "/usr/share/apport/apport-qt", line 323, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 333, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 322, in run_report_bug
    self.file_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 598, in file_report
    url = self.crashdb.get_comment_url(self.report, ticket)
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 180, in get_comment_url
    title = report.setdefault('Title', report.standard_title())
  File "/usr/lib/python2.6/UserDict.py", line 63, in setdefault
    self[key] = failobj
  File "/usr/lib/python2.6/dist-packages/problem_report.py", line 485, in __setitem__
    and (hasattr(v[0], 'isalnum') or hasattr(v[0], 'read'))))
AssertionError

Aptitude had previously failed to configure the new linux-image-2.6.30-7-generic package for my AMD64 system, and I had hoped to use ubuntu-bug to report that...

Revision history for this message
Steve Langasek (vorlon) wrote :

Same problem here. This appears to be trivial to reproduce with 'ubuntu-bug', and was introduced in the latest update to apport; bugs I filed yesterday before upgrading apport did not experience this problem.

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

This got fixed this morning in

apport (1.2.1-0ubuntu3) karmic; urgency=low

  * debian/control: Bump Standards-Version to 3.8.1 (no changes necessary).
  * debian/control: Bump debhelper dependency for dh_icons, to satisfy
    lintian.
  * general-hooks/ubuntu.py: Fix IndexError crash if report does not have a
    Package field. Check whether we actually have attach_conffiles() (which is
    not the case when running the upstream version).
  * Merge trunk:
    - launchpad.py: Fix crash for unset titles.
    - Add segfault analysis hook for quick segv reviews. Thanks to Kees Cook!
    - run-tests: Replace hardcoded Python path with dynamically detected path.

Changed in apport (Ubuntu Karmic):
status: Triaged → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

Already fixed in apport 1.2.1-0ubuntu3, uploaded today. Changelog:

apport (1.2.1-0ubuntu3) karmic; urgency=low

  * debian/control: Bump Standards-Version to 3.8.1 (no changes necessary).
  * debian/control: Bump debhelper dependency for dh_icons, to satisfy
    lintian.
  * general-hooks/ubuntu.py: Fix IndexError crash if report does not have a
    Package field. Check whether we actually have attach_conffiles() (which is
    not the case when running the upstream version).
  * Merge trunk:
    - launchpad.py: Fix crash for unset titles.
    - Add segfault analysis hook for quick segv reviews. Thanks to Kees Cook!
    - run-tests: Replace hardcoded Python path with dynamically detected path.

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.