Apport creating 0 byte crash files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Precise |
Fix Released
|
High
|
Martin Pitt |
Bug Description
1) lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
2) apt-cache policy apport
apport:
Installed: 1.93-0ubuntu2
Candidate: 1.93-0ubuntu2
Version table:
*** 1.93-0ubuntu2 0
500 http://
100 /var/lib/
apt-cache policy libreoffice-calc
libreoffice-calc:
Installed: 1:3.5.0-1ubuntu4
Candidate: 1:3.5.0-1ubuntu4
Version table:
*** 1:3.5.0-1ubuntu4 0
500 http://
100 /var/lib/
3) What is expected to happen in Calc via the Terminal:
cd ~/Desktop && wget -c https:/
copy the chart named "Produit de sortie AC" in the first sheet, Calc crashes, and apport creates a valid crash file in /var/crash.
4) What happens instead is apport consistently creates a 0 byte invalid crash file. When one attempts to report it one gets:
Invalid problem report
This problem report is damaged and cannot be processed.
ValueError('Report does not contain "Problem Type" filed',)
WORKAROUND: Install package whoopsie.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 1.93-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-17-
ApportVersion: 1.93-0ubuntu2
Architecture: i386
CrashReports: 0:0:0:0:2012-02-27 18:41:25.805307000 -0500:2012-02-27 18:42:21.641308274 -0500:/
Date: Mon Feb 27 18:43:22 2012
InstallationMedia: Xubuntu 12.04 "Precise Pangolin" - Alpha i386 (20120201.1)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
description: | updated |
it's because apport expect whoopsie to be installed.
$ sh -c "kill -SEGV $$"
---------- 1 root root 0 Feb 28 12:22 _usr_bin_ tcsh.1000. crash
/var/log/apport.log shows:
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: called for pid 12036, signal 11
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: executable: /usr/bin/tcsh (command line "-csh")
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: debug: session gdbus call: (true,)
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: Unhandled exception: apport/ apport" , line 349, in <module> 'whoopsie' )
Traceback (most recent call last):
File "/usr/share/
whoopsie_gid = pwd.getpwnam(
KeyError: 'getpwnam(): name not found: whoopsie'
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: pid: 12040, uid: 0, gid: 1000, euid: 0, egid: 0
ERROR: apport (pid 12040) Tue Feb 28 12:22:16 2012: environment: {}