[Bug 1098197] Re: apport-gtk crashed with struct.error in read32(): unpack requires a bytes object of length 4

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:47:08 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: Confirmed => 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/1098197

Title:
  apport-gtk crashed with struct.error in read32(): unpack requires a
  bytes object of length 4

Status in Apport:
  New
Status in apport package in Ubuntu:
  Incomplete

Bug description:
  This is on booting to just updated (do-release-upgrade) raring.

    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 1459, 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

  ProblemType: Crash
  DistroRelease: Ubuntu 13.04
  Package: apport-gtk 2.8-0ubuntu1
  ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
  Uname: Linux 3.7.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu1
  Architecture: amd64
  CrashCounter: 1
  Date: Thu Jan 10 16:18:23 2013
  ExecutablePath: /usr/share/apport/apport-gtk
  InstallationDate: Installed on 2012-03-16 (299 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316)
  InterpreterPath: /usr/bin/python3.3
  MarkForUpload: True
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/share/apport/apport-gtk
  PythonArgs: ['/usr/share/apport/apport-gtk']
  SourcePackage: apport
  Title: apport-gtk crashed with struct.error in read32(): unpack requires a bytes object of length 4
  UpgradeStatus: Upgraded to raring on 2013-01-10 (0 days ago)
  UserGroups:

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



More information about the foundations-bugs mailing list