apport-gpu-error-intel.py crashed with UnicodeDecodeError in decode(): 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)

Bug #1062042 reported by staedtler-przyborski
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdiagnose (Ubuntu)
Fix Released
Medium
Bryce Harrington
Quantal
Fix Released
High
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/share/apport/apport-gpu-error-intel.py", line 172, in <module>
    sys.exit(main())
  File "/usr/share/apport/apport-gpu-error-intel.py", line 136, in main
    attach_hardware(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 245, in attach_hardware
    attach_dmi(report)
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 200, in attach_dmi
    value = fd.read().strip()
  File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: xdiagnose 3.2
ProcVersionSignature: Ubuntu 3.5.0-17.26-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
Date: Fri Oct 5 08:16:54 2012
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
ExecutablePath: /usr/share/apport/apport-gpu-error-intel.py
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121003)
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/share/apport/apport-gpu-error-intel.py
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic root=UUID=95cd032d-5817-4ce0-9f96-859122a7ca1d ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/apport/apport-gpu-error-intel.py']
SourcePackage: xdiagnose
Title: apport-gpu-error-intel.py crashed with UnicodeDecodeError in decode(): 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 05/07/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 5CKT77AUS
dmi.board.name: LENOVO
dmi.chassis.vendor: LENOVO
dmi.chassis.version: NONE
dmi.modalias: dmi:bvnLENOVO:bvr5CKT77AUS:bd05/07/2012:svnLENOVO:pn6234AM6:pvrThinkCentreM58p:rvnLENOVO:rnLENOVO:rvrNONE:cvnLENOVO:ct3:cvrNONE:
dmi.product.name: 6234AM6
dmi.product.version: ThinkCentre M58p
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.8.4-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0~git20121004.b2048c5e-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0~git20121004.b2048c5e-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

Revision history for this message
staedtler-przyborski (staedtler-przyborski-deactivatedaccount) wrote :
tags: removed: need-duplicate-check
Changed in xdiagnose (Ubuntu):
importance: Undecided → Medium
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
Changed in xdiagnose (Ubuntu):
status: New → Triaged
assignee: nobody → Bryce Harrington (bryce)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdiagnose - 3.4

---------------
xdiagnose (3.4) raring; urgency=low

  * bin/xrotate: Add new script to manually rotate screen and input.
    Designed for the Nexus 7 tablet; will need extended to support other
    devices.
  * bin/xedid: Add new script for viewing and installing EDID files into
    firmware.
    + Fixes situation where EDID is unavailable, corrupted, or invalid
      (LP: #575985)
    + Fixes situation where KVM corrupts the EDID the monitor provides.
      (LP: #992346)
  * bin/xpci: Fix two string issues so xpci will run.
    (LP: #1098390)
  * apport/source_xorg.py: Gracefully skip Xorg.0.log parsing if the
    parsing fails.
    (LP: #1098395)
  * apport/apport-gpu-error-intel.py: Gracefully skip DMI parsing if
    the parsing fails.
    (LP: #1062042)
  * xdiagnose/applet.py: Fix bug where a stray =1 gets added to
    GRUB_CMDLINE_LINUX_DEFAULT.
    (LP: #954123)
  * tests: Add sample Xorg.*.log files rather than using the on-disk one
 -- Bryce Harrington <email address hidden> Wed, 09 Jan 2013 18:17:24 -0800

Changed in xdiagnose (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Bryce Harrington (bryce) wrote :
information type: Private → Public
Changed in xdiagnose (Ubuntu Quantal):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

...however as of 3.2.3 the apport hook is no longer being run, so this issue should not crop up in practice anymore.

Changed in xdiagnose (Ubuntu Quantal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.