Here's the Traceback:

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 597, in <module>
    app.run_argv()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 688, in run_argv
    return self.run_crashes()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 245, in run_crashes
    self.run_crash(f)
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 289, in run_crash
    self.collect_info()
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 1077, in collect_info
    bpthread.exc_raise()
  File "/usr/lib/python3/dist-packages/apport/REThread.py", line 63, in 
exc_raise
    raise self._exception[1].with_traceback(self._exception[2])
  File "/usr/lib/python3/dist-packages/apport/REThread.py", line 33, in run
    self._retval = self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 917, in 
search_bug_patterns
    patterns = f.read().decode('UTF-8', errors='replace')
  File "/usr/lib/python3.5/http/client.py", line 461, in read
    s = self._safe_read(self.length)
  File "/usr/lib/python3.5/http/client.py", line 609, in _safe_read
    raise IncompleteRead(b''.join(s), amt)
http.client.IncompleteRead: IncompleteRead(29118 bytes read, 74729 more 
expected)

It looks like the try / except block for loading the bugpattern should
also pass on an IncompleteRead.

** Changed in: apport (Ubuntu)
       Status: New => Triaged

** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

** Tags added: rls-cc-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1791820

Title:
  /usr/share/apport/apport-
  gtk:http.client.IncompleteRead:/usr/share/apport/apport-
  
gtk@597:run_argv:run_crashes:run_crash:collect_info:exc_raise:run:search_bug_patterns:read:_safe_read

Status in apport package in Ubuntu:
  Triaged

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
apport.  This problem was most recently seen with package version 
2.20.9-0ubuntu7.3, the problem page at 
https://errors.ubuntu.com/problem/9178257a55266131973fa3bc7462837640f82d44 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1791820/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to