apport-retrace crashed with IOError in _search_contents(): [Errno 2] No such file or directory: u'~/.cache/apport/retrace/Ubuntu 12.04/Contents-i386.gz'

Bug #933199 reported by Nicolas DERIVE
72
This bug affects 12 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Retracing locally a crash, I got this apport crash, detected by apport himself ;)

TEST CASE:
1. On a fresh system (or remove the directory $HOME/.cache/apport/retrace/)
2. Use an existing crash file or create a new one and run the command:
  $ apport-cli /path/to/crash_file.crash
2.1 To the question:
    "Send problem report to the developers?"
reply
    "E: Examine locally"

2.2. To the question
    "This will launch apport-retrace in a terminal window to examine the crash."
reply
    "3: Update [...].crash with fully symbolic stack trace"

ACTUAL RESULT:
This crash

EXPECTED RESULT
apport proceeds with crash retracing.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: apport-retrace 1.91-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic-pae 3.2.5
Uname: Linux 3.2.0-15-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: i386
CheckboxSubmission: c4273c0f4f2b8d26cd6bf31cadfd2912
CheckboxSystem: a871981cb5bdf4d6ebd55be46becf77e
Date: Thu Feb 16 01:18:43 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/apport-retrace
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-retrace -S system -C ~/.cache/apport/retrace -v --gdb /var/crash/_usr_bin_nautilus.1000.crash
ProcEnviron:
 LANG=fr_FR.UTF-8
 LANGUAGE=fr_FR:fr:en_GB:en
 SHELL=/bin/bash
 PATH=(custom, no user)
PythonArgs: ['/usr/bin/apport-retrace', '-S', 'system', '-C', '~/.cache/apport/retrace', '-v', '--gdb', '/var/crash/_usr_bin_nautilus.1000.crash']
SourcePackage: apport
Title: apport-retrace crashed with IOError in _search_contents(): [Errno 2] No such file or directory: u'~/.cache/apport/retrace/Ubuntu 12.04/Contents-i386.gz'
UpgradeStatus: Upgraded to precise on 2008-10-18 (1215 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev pulse pulse-access scanner tape users video

CVE References

Revision history for this message
Nicolas DERIVE (kalon33) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apport (Ubuntu):
status: New → Confirmed
Changed in apport (Ubuntu):
importance: Undecided → Medium
Martin Pitt (pitti)
information type: Private → Public
Changed in apport (Ubuntu):
status: Confirmed → Triaged
description: updated
Martin Pitt (pitti)
Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r2715.

Changed in apport (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.12.6-0ubuntu1

---------------
apport (2.12.6-0ubuntu1) trusty; urgency=low

  * New upstream security/bug fix release:
    - SECURITY FIX: For setuid programs which drop their privileges after
      startup, make the report and core dumps owned by root, to avoid possible
      data disclosure. Also, change core dump files to permissions "0600".
      Thanks to Martin Carpenter for discovering this!
      (CVE-2013-1067, LP: #1242435)
    - sandboxutils.needed_runtime_packages(): Create cache directory for
      Contents.gz if missing. (LP: #933199)
    - apt/dpkg: Recognize options in apt sources.list. (LP: #1238620)
  * Move Vcs-Bzr to trusty branch.
 -- Martin Pitt <email address hidden> Fri, 25 Oct 2013 06:49:19 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Matthias Andree (matthias-andree) wrote :

Please backport to all supported LTS releases.

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.