apport-qt crashes while processing crash

Bug #84196 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: apport

I ran 'sudo /usr/share/apport/apport-qt' with a test ubiquity crash. After saying I wanted to report the problem, I got:

Traceback (most recent call last):
  File "/usr/share/apport/apport-qt", line 285, in <module>
    app.run_argv()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 183, in run_argv
    self.run_crashes()
  File "/var/lib/python-support/python2.5/apport/ui.py", line 101, in run_crashes
    self.run_crash(f)
  File "/var/lib/python-support/python2.5/apport/ui.py", line 151, in run_crash
    response = self.ui_present_report_details()
  File "/usr/share/apport/apport-qt", line 196, in ui_present_report_details
    lines = self.report[key].splitlines()
AttributeError: 'tuple' object has no attribute 'splitlines'

I'll attach the report in question in a moment.

Revision history for this message
Colin Watson (cjwatson) wrote :
Martin Pitt (pitti)
Changed in apport:
assignee: nobody → mh21
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Will fix myself, it's quicker to fix it myself than to explain it to you : )

Changed in apport:
assignee: mh21 → pitti
status: Confirmed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 apport (0.52) feisty; urgency=low
 .
   * apport/report.py: Fix hook directory to be
     /usr/share/apport/package-hooks/, not /u/s/apport/.
   * Add doc/package-hooks.txt: Document per-package hooks, ship in package
     apport.
   * Add debian/apport.dirs: Ship package-hooks/ directory.
   * gtk/apport-gtk, qt4/apport-qt: Fix detection of binary data so that the
     CoreDump is not displayed as incomprehensible gibberish any more.
   * Add qt4/apport-qt.desktop.in and add it to POTFILES.in.
   * bin/apport-retrace: --verbose can now be specified multiple times to
     increase verbosity and debug package installation. Also, fix some quoting
     bugs. Thanks to Kees Cook for this!
   * qt4/apport-qt: Fix restart button handling. (LP: #84202)
   * qt4/apport-qt: Do not try to call splitlines() on a report value that is a
     file reference; just display the reference instead. (LP: #84196)
   * bin/apport: Disable for now, since the current kernel produces cropped
     core dumps and thus we get totally useless crash reports

Changed in apport:
status: Fix Committed → Fix Released
Revision history for this message
Daniel Hahler (blueyed) wrote :

This appears to have regressed: see bug 205163

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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