[Bug 1979681] Re: /usr/share/apport/whoopsie-upload-all:AttributeError:process_report:add_gdb_info:gdb_command:write:read:readinto:read:/usr/share/apport/whoopsie-upload-all at 220:main:collect_info:process_report

Benjamin Drung 1979681 at bugs.launchpad.net
Thu Jun 23 21:00:36 UTC 2022


Fixed:
https://github.com/canonical/apport/commit/f1d4a11a6539d259949fb050023e0cd38702d6a2

** Changed in: apport
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1979681

Title:
  /usr/share/apport/whoopsie-upload-
  all:AttributeError:process_report:add_gdb_info:gdb_command:write:read:readinto:read:/usr/share/apport/whoopsie-
  upload-all at 220:main:collect_info:process_report

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  New

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.21.0-0ubuntu2, the problem page at https://errors.ubuntu.com/problem/e1b63b073d8078b1e53a770ef2dee5aa8562b8a4 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/.

  Traceback (most recent call last):
    File "/usr/share/apport/whoopsie-upload-all", line 102, in process_report
      r.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 778, in add_gdb_info
      gdb_cmd, environ = self.gdb_command(rootdir, gdb_sandbox)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1703, in gdb_command
      self['CoreDump'].write(f)
    File "/usr/lib/python3/dist-packages/problem_report.py", line 69, in write
      block = gz.read(1048576)
    File "/usr/lib/python3.10/gzip.py", line 301, in read
      return self._buffer.read(size)
    File "/usr/lib/python3.10/_compression.py", line 68, in readinto
      data = self.read(len(byte_view))
    File "/usr/lib/python3.10/gzip.py", line 507, in read
      raise EOFError("Compressed file ended before the "
  EOFError: Compressed file ended before the end-of-stream marker was reached

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/share/apport/whoopsie-upload-all", line 220, in <module>
      main()
    File "/usr/share/apport/whoopsie-upload-all", line 202, in main
      stamps = collect_info()
    File "/usr/share/apport/whoopsie-upload-all", line 150, in collect_info
      res = process_report(r)
    File "/usr/share/apport/whoopsie-upload-all", line 109, in process_report
      if getattr(e, 'errno') != errno.ENOENT:
  AttributeError: 'EOFError' object has no attribute 'errno'

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




More information about the foundations-bugs mailing list