[Bug 1576952] [NEW] apport ends with Segmentation fault

Muriel 1576952 at bugs.launchpad.net
Sat Apr 30 09:28:01 UTC 2016


Public bug reported:

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)

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


** Tags: amd64 apport-bug xenial

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

Title:
  apport ends with Segmentation fault

Status in apport package in Ubuntu:
  New

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)

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



More information about the foundations-bugs mailing list