Segmentation Fault on shared-mime-info during apt-get install -f

Bug #930429 reported by dietrich
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
shared-mime-info (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

dietrich@dtschmitz:~$ sudo lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04

Segfaulting Executable: dkpg
Executable Version:
dietrich@dtschmitz:~$ sudo apt-cache policy dpkg
dpkg:
  Installed: 1.15.5.6ubuntu4.5
  Candidate: 1.15.5.6ubuntu4.5
  Version table:
 *** 1.15.5.6ubuntu4.5 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     1.15.5.6ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
dietrich@dtschmitz:~$

command: sudo apt-get install -f
relevant strace trace.log output:
read(21, "Segmentation fault\r\ndpkg: error "..., 1024) = 1024
write(1, "Segmentation fault\r\ndpkg: error "..., 1024) = 1024
read(19, "status: shared-mime-info : error"..., 1024) = 505

For some unknown reason, there was a dependency error, so I tried to fix with the -f switch.
Segmentation Fault resulted.

Thank You!
Dietrich T. Schmitz

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dpkg 1.15.5.6ubuntu4.5
ProcVersionSignature: Ubuntu 2.6.32-38.83-generic-pae 2.6.32.52+drm33.21
Uname: Linux 2.6.32-38-generic-pae i686
Architecture: i386
Date: Fri Feb 10 16:34:54 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dpkg

Revision history for this message
dietrich (dtschmitz) wrote :
Revision history for this message
dietrich (dtschmitz) wrote :

attached strace log for command: sudo apt-get install -f

Revision history for this message
dietrich (dtschmitz) wrote :

Pastebin link to stdout output:

http://pastebin.com/yTZEqNrJ

Revision history for this message
Raphaël Hertzog (hertzog) wrote :

The segmentation fault happens in the shared-mime-info package (in its postinst script). It's not a bug in dpkg.

affects: dpkg (Ubuntu) → shared-mime-info (Ubuntu)
Revision history for this message
dietrich (dtschmitz) wrote :

Raphael,
Can you recommend how I go about fixing this?

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in shared-mime-info (Ubuntu):
status: New → Confirmed
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.