[Bug 1093736] Re: apport crash with struct.error in python3.3 gzip

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:05:36 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

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

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

Title:
  apport crash with struct.error in python3.3 gzip

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  I get this traceback in raring filling whatever bug:

  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 614, in <lambda>
      return (lambda data: callback(*data), user_data)
    File "/usr/share/apport/apport-gtk", line 577, in <lambda>
      GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1007, in collect_info
      icthread.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/ui.py", line 78, in thread_collect_info
      report.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 652, in add_gdb_info
      gdb_cmd = self.gdb_command(rootdir)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1419, 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.3/gzip.py", line 366, in read
      self._read(readsize)
    File "/usr/lib/python3.3/gzip.py", line 455, in _read
      self._read_eof()
    File "/usr/lib/python3.3/gzip.py", line 487, in _read_eof
      crc32 = read32(self.fileobj)
    File "/usr/lib/python3.3/gzip.py", line 69, in read32
      return struct.unpack("<I", input.read(4))[0]
  struct.error: unpack requires a bytes object of length 4
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 614, in <lambda>
      return (lambda data: callback(*data), user_data)
    File "/usr/share/apport/apport-gtk", line 577, in <lambda>
      GLib.idle_add(lambda: self.collect_info(on_finished=self.ui_update_view))
    File "/usr/lib/python3/dist-packages/apport/ui.py", line 1007, in collect_info
      icthread.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/ui.py", line 78, in thread_collect_info
      report.add_gdb_info()
    File "/usr/lib/python3/dist-packages/apport/report.py", line 652, in add_gdb_info
      gdb_cmd = self.gdb_command(rootdir)
    File "/usr/lib/python3/dist-packages/apport/report.py", line 1419, in gdb_command

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: apport 2.7-0ubuntu2
  ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
  Uname: Linux 3.7.0-7-generic i686
  NonfreeKernelModules: nvidia
  ApportLog:
   
  ApportVersion: 2.7-0ubuntu2
  Architecture: i386
  Date: Wed Dec 26 06:16:44 2012
  InstallationDate: Installed on 2012-05-09 (231 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=es_ES.UTF-8
   SHELL=/bin/bash
  SourcePackage: apport
  UpgradeStatus: Upgraded to raring on 2012-12-07 (19 days ago)

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



More information about the foundations-bugs mailing list