dkms_packages.py crashed with TypeError in __main__: Type str doesn't support the buffer API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Trusty |
Triaged
|
Undecided
|
Unassigned |
Bug Description
happened on upgrade from 13.10 to 14.04
ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: dkms 2.2.0.3-1.1ubuntu5
ProcVersionSign
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
Date: Sun Apr 6 11:19:45 2014
ExecutablePath: /usr/share/
InstallationDate: Installed on 2013-03-29 (372 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130328)
InterpreterPath: /usr/bin/python3.4
PackageArchitec
ProcCmdline: python3 /usr/share/
PythonArgs: ['/usr/
SourcePackage: dkms
Title: dkms_packages.py crashed with TypeError in __main__: Type str doesn't support the buffer API
Traceback:
Traceback (most recent call last):
File "/usr/share/
if 'Segmentation fault' in report[
TypeError: Type str doesn't support the buffer API
UpgradeStatus: Upgraded to trusty on 2014-04-06 (0 days ago)
UserGroups:
tags: | removed: need-duplicate-check |
Changed in dkms (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public Security |
Changed in dkms (Ubuntu): | |
status: | New → Triaged |
Changed in dkms (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Martin Pitt (pitti) |
Changed in dkms (Ubuntu Trusty): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in dkms (Ubuntu Trusty): | |
assignee: | Martin Pitt (pitti) → nobody |
no longer affects: | dkms (Ubuntu Wily) |
Changed in dkms (Ubuntu Trusty): | |
status: | New → Triaged |
This bug was fixed in the package dkms - 2.2.0.3-2ubuntu8
---------------
dkms (2.2.0.3-2ubuntu8) xenial; urgency=medium
* apport_ python3. patch: Force unicode conversion for attaching DKMSBuildLog.
This is in principle a human readable file, and the subsequent code wants
to treat it as a string, not bytes. (LP: #1303275)
-- Martin Pitt <email address hidden> Mon, 30 Nov 2015 08:06:45 +0100