~townsend/apport/fix-lp1071905

« back to all changes in this revision

Viewing changes to apport/ui.py

  • Committer: Martin Pitt
  • Date: 2013-05-21 10:30:38 UTC
  • Revision ID: martin.pitt@canonical.com-20130521103038-zqpw5vblvhkfk0ar
* Fix endless loop of EOFErrors with broken core dumps. (LP: #1168849)

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
                try:
264
264
                    if 'Dependencies' not in self.report:
265
265
                        self.collect_info()
266
 
                except (IOError, zlib.error) as e:
 
266
                except (IOError, EOFError, zlib.error) as e:
267
267
                    # can happen with broken core dumps
268
268
                    self.report = None
269
269
                    self.ui_error_message(