← Back to team overview

touch-packages team mailing list archive

[Bug 1368911] [NEW] Apport crashes when writing to stderr: UnicodeEncodeError: 'ascii' codec can't encode character '\xc1' in position 130: ordinal not in range(128)

 

Public bug reported:

Apport is invoked by the kernel via /proc/sys/kernel/core_pattern and
crashes when writing some message to stderr:

ERROR: ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: Unhandled exception:
Traceback (most recent call last):
  File "/usr/share/apport/apport", line 367, in <module>
    (info['ExecutablePath'], info['ProcCmdline']))
  File "/usr/share/apport/apport", line 99, in error_log
    apport.error('apport (pid %s) %s: %s', os.getpid(), time.asctime(), msg)
  File "/usr/lib/python3/dist-packages/apport/__init__.py", line 44, in error
    sys.stderr.write(msg % args)
UnicodeEncodeError: 'ascii' codec can't encode character '\xc1' in position 130: ordinal not in range(128)
ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: pid: 23175, uid: 1000, gid: 1000, euid: 0, egid: 0
ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: environment: environ({})

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apport 2.14.1-0ubuntu3.4
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Sep 12 22:57:13 2014
InstallationDate: Installed on 2014-05-20 (115 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1368911

Title:
  Apport crashes when writing to stderr: UnicodeEncodeError: 'ascii'
  codec can't encode character '\xc1' in position 130: ordinal not in
  range(128)

Status in “apport” package in Ubuntu:
  New

Bug description:
  Apport is invoked by the kernel via /proc/sys/kernel/core_pattern and
  crashes when writing some message to stderr:

  ERROR: ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: Unhandled exception:
  Traceback (most recent call last):
    File "/usr/share/apport/apport", line 367, in <module>
      (info['ExecutablePath'], info['ProcCmdline']))
    File "/usr/share/apport/apport", line 99, in error_log
      apport.error('apport (pid %s) %s: %s', os.getpid(), time.asctime(), msg)
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 44, in error
      sys.stderr.write(msg % args)
  UnicodeEncodeError: 'ascii' codec can't encode character '\xc1' in position 130: ordinal not in range(128)
  ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: pid: 23175, uid: 1000, gid: 1000, euid: 0, egid: 0
  ERROR: apport (pid 23175) Fri Sep 12 22:51:58 2014: environment: environ({})

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apport 2.14.1-0ubuntu3.4
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.14.1-0ubuntu3.4
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Fri Sep 12 22:57:13 2014
  InstallationDate: Installed on 2014-05-20 (115 days ago)
  InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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


Follow ups

References