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

Bug #1098197 reported by Timo Jyrinki on 2013-01-10
This bug affects 47 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)

Bug Description

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

  File "/usr/lib/python3/dist-packages/apport/", line 652, in add_gdb_info
    gdb_cmd = self.gdb_command(rootdir)
  File "/usr/lib/python3/dist-packages/apport/", line 1459, in gdb_command
  File "/usr/lib/python3/dist-packages/", line 75, in write
    block =
  File "/usr/lib/python3.3/", line 366, in read
  File "/usr/lib/python3.3/", line 455, in _read
  File "/usr/lib/python3.3/", line 487, in _read_eof
    crc32 = read32(self.fileobj)
  File "/usr/lib/python3.3/", line 69, in read32
    return struct.unpack("<I",[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)

Timo Jyrinki (timo-jyrinki) wrote :
tags: removed: need-duplicate-check
Changed in apport (Ubuntu):
importance: Undecided → Medium
Bryce Harrington (bryce) on 2013-01-19
description: updated
Logan Rosen (logan) on 2013-06-23
information type: Private → Public
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
David Henningsson (diwic) wrote :

Also happened in Saucy on a daily dist-upgrade.

Fabio Marconi (fabiomarconi) wrote :

Confirmed in saucy
Ubuntu Bug Squad volunteer triager

tags: added: saucy
Simplehuman (simplehuman) wrote :

Also confirm this bug after booting PC

Kenneth Wrede (kennethwrede) wrote :

Saucy, "apt-get update" after clean install.

Kenneth Wrede (kennethwrede) wrote :

... apt-get UPGRADE (of course)

Richard Elkins (texadactyl) wrote :

Saucy, "apt-get update" after removing lastfm.

Shaharil Ahmad (shaharil-ahmad) wrote :

positive on saucy.

again on saucy this time after update mir.

saucy beta affected

saucy daily 2013-09-22 affected

Michał Karnicki (karni) wrote :

saucy beta 2 affected. Fresh install, after updating the system. Just after booting 4 crash dialogs visible.

tags: added: trusty
dino99 (9d9) on 2013-11-23
tags: added: i386
Benjamin Schmid (benbuntu) wrote :

Any hints on how to workaround this crash on every login?

Jean Porcherot (jpo38) wrote :

If this may help: The problem appeared on my machine (Xubuntu 13.10 32bits) after adding/removing video drivers (sudo apt-get install nvidia-current nvidia-common nvidia-173 and later sudo apt-get remove nvidia-current nvidia-common nvidia-173)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers