update-alternatives crashed with SIGSEGV in __libc_start_main()

Bug #615100 reported by Chen Liang
350
This bug affects 43 people
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: dpkg

I upgraded my ubuntu from 10.04 to 10.10 without a clean install. I did few updates since then, this time I got a crash report from ubuntu. This is the details.

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: dpkg 1.15.8.2ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-14.20-generic 2.6.35
Uname: Linux 2.6.35-14-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Sun Aug 8 22:47:51 2010
ExecutablePath: /usr/bin/update-alternatives
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcCmdline: update-alternatives --remove-all ps2pdf
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_IE.utf8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0xaef1aa: cmp (%edx),%al
 PC (0x00aef1aa) ok
 source "(%edx)" (0x00000019) not located in a known VMA region (needed readable region)!
 destination "%al" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: dpkg
StacktraceTop:
 ?? () from /lib/libc.so.6
 ?? ()
 ?? ()
 __libc_start_main () from /lib/libc.so.6
 ?? ()
Title: update-alternatives crashed with SIGSEGV in __libc_start_main()
UserGroups:

Revision history for this message
Chen Liang (chenliang) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 *__GI_strcoll (s1=0xbfdf2dce "remove-all",
 main (argc=3, argv=0xbfdf23f4)

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in dpkg (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
Changed in dpkg (Ubuntu):
status: New → Confirmed
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Michael Vogt (mvo) wrote :

The backtrace shows:

 current_choice = 0x9609a38 "/usr/bin/ps2pdf14"

Revision history for this message
Michael Vogt (mvo) wrote :

This should already be fixed with the follow upload (the free segfault line is the relevant one):

dpkg (1.15.8.4ubuntu1) maverick; urgency=low

  * Resynchronise with Debian. Remaining changes:
    - Adjust versioned emacs22 conflicts to cope with versions in Ubuntu.
    - cputable: Set cpu to i686 for arch i386.

 -- Colin Watson <email address hidden> Mon, 16 Aug 2010 14:57:09 +0100

dpkg (1.15.8.4) unstable; urgency=low

  [ Guillem Jover ]
  * Fix use after free segfault on update-alternatives --remove-all.
    Closes: #591653, #591654
...

Changed in dpkg (Ubuntu):
status: Confirmed → Fix Released
Changed in dpkg (Ubuntu):
assignee: Canonical Foundations Team (canonical-foundations) → nobody
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.