recent apt upgrade crashes aptitude

Bug #499543 reported by Martin Erik Werner
92
This bug affects 18 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Binary package hint: apt

Recent upgrade of apt {
[UPGRADE] apt 0.7.24ubuntu1 -> 0.7.25ubuntu1
[UPGRADE] apt-transport-https 0.7.24ubuntu1 -> 0.7.25ubuntu1
[UPGRADE] apt-utils 0.7.24ubuntu1 -> 0.7.25ubuntu1
}

Seems to have broken aptitude
aptitude crashes on install/safe-upgrade/full-upgrade..
error attached.

apt-get seems to still be functional.

ProblemType: Bug
Architecture: i386
Date: Tue Dec 22 18:06:02 2009
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
Package: apt 0.7.25ubuntu1
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: apt
Tags: lucid
Uname: Linux 2.6.32-9-generic i686

Revision history for this message
Martin Erik Werner (arand) wrote :
Revision history for this message
Per Ångström (autark) wrote :

Happens on amd64 as well.

tags: added: amd64
KevinM (kevbert1)
Changed in apt (Ubuntu):
status: New → Confirmed
Revision history for this message
Asif Youssuff (yoasif) wrote :
Download full text (8.2 KiB)

This is what I am seeing:

asif@ubuntu-asif:~$ sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Resolving dependencies...
The following packages have been kept back:
  bind9-host dnsutils empathy{a} evolution evolution-common evolution-indicator evolution-plugins gnome-games libbind9-50 libisc50 libisccc50 libisccfg50 liblwres50
  libseed0{a} python-qt3{a} xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics{a} xserver-xorg-input-vmmouse{a}
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus{a} xserver-xorg-video-fbdev
  xserver-xorg-video-i128{a} xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nv
  xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon{a} xserver-xorg-video-rendition{a} xserver-xorg-video-s3 xserver-xorg-video-s3virge
  xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
  xserver-xorg-video-tseng{a} xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo xul-ext-adblock-plus{a}
The following NEW packages will be installed:
  liblzma1{a}
The following packages will be upgraded:
  kdelibs-bin kdelibs5 kdelibs5-data libplasma3 python-software-properties software-properties-gtk
The following partially installed packages will be configured:
  nvidia-185-kernel-source nvidia-glx-185
6 packages upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
Need to get 11.8MB of archives. After unpacking 295kB will be used.
*** stack smashing detected ***: aptitude terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7f2bc56c7e67]
/lib/libc.so.6(__fortify_fail+0x0)[0x7f2bc56c7e30]
aptitude[0x4e858a]
aptitude[0x4e8df0]
aptitude[0x5019fe]
aptitude[0x41b1f6]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f2bc55eeadd]
aptitude[0x4195e9]
======= Memory map: ========
00400000-00625000 r-xp 00000000 08:05 173202 /usr/bin/aptitude
00824000-00825000 r--p 00224000 08:05 173202 /usr/bin/aptitude
00825000-00827000 rw-p 00225000 08:05 173202 /usr/bin/aptitude
00827000-0082b000 rw-p 00000000 00:00 0
0240e000-02b38000 rw-p 00000000 00:00 0 [heap]
7f2bc265c000-7f2bc265d000 ---p 00000000 00:00 0
7f2bc265d000-7f2bc3024000 rw-p 00000000 00:00 0
7f2bc3091000-7f2bc3c66000 rw-p 00000000 00:00 0
7f2bc3c66000-7f2bc498e000 rw-p 00000000 08:05 1038 /var/cache/apt/pkgcache.bin
7f2bc498e000-7f2bc499a000 r-xp 00000000 08:05 10268 /lib/libnss_files-2.10.2.so
7f2bc499a000-7f2bc4b99000 ---p 0000c000 08:05 10268 /lib/libnss_files-2.10.2.so
7f2bc4b99000-7f2bc4b9a000 r--p 0000b000 08:05 10268 /lib/libnss_files-2.10.2.s...

Read more...

Revision history for this message
Wesley Schwengle (wesleys) wrote :

I can confirm the bug. I've downgraded all my libc6 packages at first. This didn't help. I've downgraded apt and now I have aptitude back. For those who want to have a working aptitude: You need to have the repo's of karmic enabled. Then do sudo apt-get --reinstall install apt=0.7.23.1ubuntu2

You're aptitude is working again. But watch out, when you do a safe-upgrade you will upgrade again.

Revision history for this message
Geoffrey P. (geoffrey-p) wrote :

This is actually some sort of memory stack error. Aptitude actually terminates before the memory dump we all have seen. I'll attach mine as well in case it may parse out something in common. I'm running this on my i386 machine.
Linux acer-laptop 2.6.32-9-generic #13-Ubuntu SMP Thu Dec 17 17:02:51 UTC 2009 i686 GNU/Linux

Revision history for this message
Geoffrey P. (geoffrey-p) wrote :

This is the system log viewer output of the last successful upgrade. I'm thinking that there was something in this batch that caused an issue. It may assist in the forensics.

Michael Vogt (mvo)
Changed in apt (Ubuntu):
importance: Undecided → High
Revision history for this message
koso (koso) wrote :

The same bug:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/499631

It looks like it has been just fixed, but I havent tested it yet.

Revision history for this message
Martin Erik Werner (arand) wrote :

Indeed duped, (although this one was first (*grumbles))
Fixed for me with the latest aptitude upgrade.

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.