apport ends with Segmentation fault

Bug #1576952 reported by Muriel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

There are three problems with apport on kubuntu 16.04:

1) Missing dependecies: python-pyqt5

2) Exception running the application:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 21: ordinal not in range(128)

3) Segfault at the end of the program, even if the information is sent correctly to launchpad.

Regarding 2) can be fixed with:

--- a/apport-kde 2016-04-30 11:23:00.616671565 +0200
+++ b/apport-kde 2016-04-30 11:23:30.856474404 +0200
@@ -355,7 +355,7 @@
                not self.report._is_binary(self.report[key]):
                 lines = self.report[key].splitlines()
                 for line in lines:
- QTreeWidgetItem(keyitem, [str(line)])
+ QTreeWidgetItem(keyitem, [str(line.encode('utf-8'))])
                 if len(lines) < 4:
                     keyitem.setExpanded(True)
             else:

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: python-apport 2.20.1-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Apr 30 11:10:34 2016
InstallationDate: Installed on 2016-04-27 (3 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Muriel (tudamp) 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.