[Bug 1780985] Re: apport-unpack crashed with ValueError in extract_keys(): ['ProcEnviron'] has no binary content

Benjamin Drung 1780985 at bugs.launchpad.net
Wed Dec 28 19:14:49 UTC 2022


*** This bug is a duplicate of bug 1889443 ***
    https://bugs.launchpad.net/bugs/1889443

Hi Tom, thanks you for the report. This bug is a(nother) duplicate of
bug #1889443 which is fixed in Ubuntu >= 22.04 (jammy). The fix is being
backported to Ubuntu 20.04 and I also plan to backport it to 18.04.

Apport did not get much attention in the last years (probably mostly due
to a lack of manpower), but I started working on it several month ago. I
tried to address the top occurring bugs (see
https://github.com/canonical/apport/blob/main/NEWS.md how many bugs were
fixed). Please report any remaining bugs with Apport that you find.

** This bug has been marked a duplicate of bug 1889443
   "ValueError: ['separator'] has no binary content" when running `apport-unpack /var/crash/...`

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

Title:
  apport-unpack crashed with ValueError in extract_keys():
  ['ProcEnviron'] has no binary content

Status in apport package in Ubuntu:
  Confirmed

Bug description:
  Sometimes apport creates a crash file with an empty field for
  'ProcEnviron'. In that situation, I want to be able to continue
  extracting fields from the crash file rather than aborting.

  Workaround is to add some made up values for ProcEnviron in the crash file, such as " LANG=en_US.UTF-8
  ".

  ProblemType: Crash
  DistroRelease: Ubuntu 18.04
  Package: apport 2.20.9-0ubuntu7.2
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportLog:
   
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue Jul 10 08:02:35 2018
  ExecutablePath: /usr/bin/apport-unpack
  InstallationDate: Installed on 2018-04-27 (73 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  InterpreterPath: /usr/bin/python3.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/apport-unpack /var/crash/_usr_bin_kdeinit5.1000.crash crash_files/
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
  PythonArgs: ['/usr/bin/apport-unpack', '/var/crash/_usr_bin_kdeinit5.1000.crash', 'crash_files/']
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  SourcePackage: apport
  Title: apport-unpack crashed with ValueError in extract_keys(): ['ProcEnviron'] has no binary content
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio bluetooth cdrom dialout dip floppy lpadmin netdev plugdev sambashare scanner sudo systemd-journal tty vboxusers video wireshark
  modified.conffile..etc.apport.crashdb.conf: [modified]
  mtime.conffile..etc.apport.crashdb.conf: 2018-05-18T07:41:41.681859

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




More information about the foundations-bugs mailing list