apport-hackers team mailing list archive
-
apport-hackers team
-
Mailing list archive
-
Message #00181
[Merge] lp:~brian-murray/apport/bug-1345653 into lp:apport
Brian Murray has proposed merging lp:~brian-murray/apport/bug-1345653 into lp:apport.
Requested reviews:
Apport upstream developers (apport-hackers)
Related bugs:
Bug #1345653 in apport (Ubuntu): "apport-gtk crashed with EOFError in _read_exact(): Compressed file ended before the end-of-stream marker was reached"
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1345653
For more details, see:
https://code.launchpad.net/~brian-murray/apport/bug-1345653/+merge/250673
--
Your team Apport upstream developers is requested to review the proposed merge of lp:~brian-murray/apport/bug-1345653 into lp:apport.
=== modified file 'apport/report.py'
--- apport/report.py 2015-02-10 10:21:40 +0000
+++ apport/report.py 2015-02-23 20:26:26 +0000
@@ -139,7 +139,10 @@
regexp = regexp.encode('UTF-8')
v = report[key]
if isinstance(v, problem_report.CompressedValue):
- v = v.get_value()
+ try:
+ v = v.get_value()
+ except EOFError:
+ continue
if not _python2:
regexp = regexp.encode('UTF-8')
elif isinstance(v, bytes):