← Back to team overview

apport-hackers team mailing list archive

[Merge] lp:~brian-murray/apport/bug-1329520 into lp:apport

 

Brian Murray has proposed merging lp:~brian-murray/apport/bug-1329520 into lp:apport.

Requested reviews:
  Apport upstream developers (apport-hackers)

For more details, see:
https://code.launchpad.net/~brian-murray/apport/bug-1329520/+merge/228579

This adds some error handling for crash files with incomplete CoreDumps like unity8 produces.
-- 
https://code.launchpad.net/~brian-murray/apport/bug-1329520/+merge/228579
Your team Apport upstream developers is requested to review the proposed merge of lp:~brian-murray/apport/bug-1329520 into lp:apport.
=== modified file 'data/whoopsie-upload-all'
--- data/whoopsie-upload-all	2014-07-02 06:31:13 +0000
+++ data/whoopsie-upload-all	2014-07-28 21:40:59 +0000
@@ -52,7 +52,11 @@
     else:
         print('Collecting info for %s...' % report)
         r.add_os_info()
-        r.add_gdb_info()
+        try:
+            r.add_gdb_info()
+        except EOFError as e:
+            sys.stderr.write('ERROR: processing %s: %s\n' % (report, str(e)))
+            return None
         try:
             r.add_package_info()
         except (SystemError, ValueError) as e: