[Bug 1947800] Re: /usr/share/apport/whoopsie-upload-all:zlib.error:/usr/share/apport/whoopsie-upload-all at 196:collect_info:process_report:add_gdb_info:gdb_command:write:read:readinto:read

Benjamin Drung 1947800 at bugs.launchpad.net
Wed Nov 23 12:35:09 UTC 2022


** Description changed:

+ [ Impact ]
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu70, the problem page at https://errors.ubuntu.com/problem/7120f8aebdf09e9dca39196d035eec234071e800 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 196, in <module>
      stamps = collect_info()
    File "/usr/share/apport/whoopsie-upload-all", line 146, in collect_info
      res = process_report(r)
    File "/usr/share/apport/whoopsie-upload-all", line 103, in process_report
      r.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 786, in add_gdb_info
      gdb_cmd, environ = self.gdb_command(rootdir, gdb_sandbox)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1706, in gdb_command
      self['CoreDump'].write(f)
    File "/usr/lib/python3/dist-packages/problem_report.py", line 75, in write
      block = gz.read(1048576)
    File "/usr/lib/python3.9/gzip.py", line 300, in read
      return self._buffer.read(size)
    File "/usr/lib/python3.9/_compression.py", line 68, in readinto
      data = self.read(len(byte_view))
    File "/usr/lib/python3.9/gzip.py", line 495, in read
      uncompress = self._decompressor.decompress(buf, size)
  zlib.error: Error -3 while decompressing data: invalid code lengths set
  
  Report for 20.04 (focal):
  https://errors.ubuntu.com/problem/fff3109d511a7db05ec5526679b8d8608a143932
+ 
+ [ Test plan ]
+ 
+ Check that the fixed version does not appear on
+ https://errors.ubuntu.com/problem/fff3109d511a7db05ec5526679b8d8608a143932
+ 
+ [Where problems could occur]
+ 
+ Worst case - in any part of the bug reporting/collection procedure,
+ since that is what's changing.

-- 
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/1947800

Title:
  /usr/share/apport/whoopsie-upload-
  all:zlib.error:/usr/share/apport/whoopsie-upload-
  all at 196:collect_info:process_report:add_gdb_info:gdb_command:write:read:readinto:read

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Focal:
  New
Status in apport source package in Impish:
  Won't Fix
Status in apport source package in Jammy:
  Fix Released

Bug description:
  [ Impact ]

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu70, the problem page at https://errors.ubuntu.com/problem/7120f8aebdf09e9dca39196d035eec234071e800 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 196, in <module>
      stamps = collect_info()
    File "/usr/share/apport/whoopsie-upload-all", line 146, in collect_info
      res = process_report(r)
    File "/usr/share/apport/whoopsie-upload-all", line 103, in process_report
      r.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 786, in add_gdb_info
      gdb_cmd, environ = self.gdb_command(rootdir, gdb_sandbox)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1706, in gdb_command
      self['CoreDump'].write(f)
    File "/usr/lib/python3/dist-packages/problem_report.py", line 75, in write
      block = gz.read(1048576)
    File "/usr/lib/python3.9/gzip.py", line 300, in read
      return self._buffer.read(size)
    File "/usr/lib/python3.9/_compression.py", line 68, in readinto
      data = self.read(len(byte_view))
    File "/usr/lib/python3.9/gzip.py", line 495, in read
      uncompress = self._decompressor.decompress(buf, size)
  zlib.error: Error -3 while decompressing data: invalid code lengths set

  Report for 20.04 (focal):
  https://errors.ubuntu.com/problem/fff3109d511a7db05ec5526679b8d8608a143932

  [ Test plan ]

  Check that the fixed version does not appear on
  https://errors.ubuntu.com/problem/fff3109d511a7db05ec5526679b8d8608a143932

  [Where problems could occur]

  Worst case - in any part of the bug reporting/collection procedure,
  since that is what's changing.

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




More information about the foundations-bugs mailing list