apport-unpack crashes with ValueError: ['ProcEnviron', UserGroups'] has no binary content

Bug #1661209 reported by graingert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Triaged
Medium
Unassigned
apport (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

In bug #1661205 avahi-dameon repeatedly crashes, and causes apport to go into an infinite loop.

However I suspect this is a problem with apport, because when I manually unpack the .crash I get:

# apport-unpack /var/crash/_usr_sbin_avahi-daemon.0.crash /home/redacted/foo
Traceback (most recent call last):
  File "/usr/bin/apport-unpack", line 73, in <module>
    pr.extract_keys(f, bin_keys, dir)
  File "/usr/lib/python3/dist-packages/problem_report.py", line 270, in extract_keys
    [item for item, element in b64_block.items() if element is False])
ValueError: ['ProcEnviron', 'UserGroups'] has no binary content

Please find attached /var/crash/_usr_sbin_avahi-daemon.0.crash

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: apport 2.20.3-0ubuntu8.2
ProcVersionSignature: Ubuntu 4.8.0-34.36-generic 4.8.11
Uname: Linux 4.8.0-34-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CrashReports:
 640:0:122:14612:2017-02-02 10:48:08.638081761 +0000:2017-02-02 10:48:08.638081761 +0000:/var/crash/_usr_bin_apport-unpack.0.crash
 640:0:122:1355374:2017-02-02 10:42:53.922800121 +0000:2017-02-02 10:48:08.582079751 +0000:/var/crash/_usr_sbin_avahi-daemon.0.crash
CurrentDesktop: Unity
Date: Thu Feb 2 10:51:34 2017
InstallationDate: Installed on 2016-10-31 (93 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
graingert (tagrain) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

It's worth noting that ProcEnviron and UserGroups are both empty.

Changed in apport (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Benjamin Drung (bdrung) wrote :

I can reproduce it with the attached _usr_sbin_avahi-daemon.0.crash

Can you submit the crash by running "apport-bug /var/crash/_usr_sbin_avahi-daemon.0.crash"?

summary: - crashes when trying to upload avahi report from #1661205
+ apport-unpack crashes with ValueError: ['ProcEnviron', UserGroups'] has
+ no binary content
Changed in apport (Ubuntu):
status: New → Triaged
Changed in apport:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.23.0
Revision history for this message
Benjamin Drung (bdrung) wrote :
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.