aptitude assert failure: *** glibc detected *** aptitude: free(): invalid next size (fast): 0x09071780 ***

Bug #532316 reported by Andy Loughran
96
This bug affects 21 people
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: aptitude

I ran aptitude update & got this output:

andy@ewok> sudo aptitude dist-upgrade ~
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done

andy@ewok> sudo aptitude update ~
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net lucid/main Translation-en_GB
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com lucid/partner Translation-en_GB
Get:1 http://dl.google.com stable Release.gpg [189B]
Hit http://www.mirrorservice.org lucid Release.gpg
Hit http://www.mirrorservice.org lucid/main Translation-en_GB
Hit http://www.mirrorservice.org lucid/restricted Translation-en_GB
Hit http://ppa.launchpad.net lucid Release
Hit http://www.mirrorservice.org lucid/universe Translation-en_GB
Hit http://www.mirrorservice.org lucid/multiverse Translation-en_GB
Hit http://www.mirrorservice.org lucid-updates Release.gpg
Ign http://www.mirrorservice.org lucid-updates/main Translation-en_GB
Ign http://www.mirrorservice.org lucid-updates/restricted Translation-en_GB
Hit http://archive.canonical.com lucid Release
Ign http://dl.google.com stable/main Translation-en_GB
Ign http://www.mirrorservice.org lucid-updates/universe Translation-en_GB
Ign http://www.mirrorservice.org lucid-updates/multiverse Translation-en_GB
Hit http://www.mirrorservice.org lucid-security Release.gpg
Ign http://www.mirrorservice.org lucid-security/main Translation-en_GB
Ign http://www.mirrorservice.org lucid-security/restricted Translation-en_GB
Get:2 http://dl.google.com stable Release [2,540B]
Hit http://ppa.launchpad.net lucid/main Packages
Ign http://www.mirrorservice.org lucid-security/universe Translation-en_GB
Ign http://www.mirrorservice.org lucid-security/multiverse Translation-en_GB
Hit http://www.mirrorservice.org lucid-proposed Release.gpg
Ign http://www.mirrorservice.org lucid-proposed/restricted Translation-en_GB
Ign http://www.mirrorservice.org lucid-proposed/main Translation-en_GB
Hit http://archive.canonical.com lucid/partner Packages
Ign http://www.mirrorservice.org lucid-proposed/multiverse Translation-en_GB
Ign http://www.mirrorservice.org lucid-proposed/universe Translation-en_GB
Hit http://www.mirrorservice.org lucid Release
Hit http://www.mirrorservice.org lucid-updates Release
Hit http://www.mirrorservice.org lucid-security Release
Hit http://www.mirrorservice.org lucid-proposed Release
Get:3 http://dl.google.com stable/main Packages [914B]
Hit http://www.mirrorservice.org lucid/main Packages
Hit http://www.mirrorservice.org lucid/restricted Packages
Hit http://www.mirrorservice.org lucid/universe Packages
Hit http://www.mirrorservice.org lucid/multiverse Packages
Hit http://www.mirrorservice.org lucid-updates/main Packages
Hit http://www.mirrorservice.org lucid-updates/restricted Packages
Hit http://www.mirrorservice.org lucid-updates/universe Packages
Hit http://www.mirrorservice.org lucid-updates/multiverse Packages
Hit http://www.mirrorservice.org lucid-security/main Packages
Hit http://www.mirrorservice.org lucid-security/restricted Packages
Hit http://www.mirrorservice.org lucid-security/universe Packages
Hit http://www.mirrorservice.org lucid-security/multiverse Packages
Hit http://www.mirrorservice.org lucid-proposed/restricted Packages
Hit http://www.mirrorservice.org lucid-proposed/main Packages
Hit http://www.mirrorservice.org lucid-proposed/multiverse Packages
Hit http://www.mirrorservice.org lucid-proposed/universe Packages
Fetched 3,643B in 0s (6,106B/s)
*** glibc detected *** aptitude: free(): invalid next size (fast): 0x09142780 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b611)[0x857611]
/lib/tls/i686/cmov/libc.so.6(+0x6ce68)[0x858e68]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x85bf2d]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x6cd731]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x6cd78d]
aptitude[0x81693bf]
aptitude[0x81872dd]
aptitude[0x818490e]
aptitude[0x81492a0]
aptitude[0x8144ea1]
aptitude[0x805efce]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x802bd6]
aptitude[0x805c6a1]
======= Memory map: ========
00110000-001c9000 r-xp 00000000 08:03 3122 /usr/lib/libcwidget.so.3.0.0
001c9000-001ca000 ---p 000b9000 08:03 3122 /usr/lib/libcwidget.so.3.0.0
001ca000-001cd000 r--p 000b9000 08:03 3122 /usr/lib/libcwidget.so.3.0.0
001cd000-001ce000 rw-p 000bc000 08:03 3122 /usr/lib/libcwidget.so.3.0.0
001ce000-001e3000 r-xp 00000000 08:03 2739 /lib/tls/i686/cmov/libpthread-2.11.1.so
001e3000-001e4000 r--p 00014000 08:03 2739 /lib/tls/i686/cmov/libpthread-2.11.1.so
001e4000-001e5000 rw-p 00015000 08:03 2739 /lib/tls/i686/cmov/libpthread-2.11.1.so
001e5000-001e7000 rw-p 00000000 00:00 0
001e7000-001e9000 r-xp 00000000 08:03 1524 /lib/tls/i686/cmov/libdl-2.11.1.so
001e9000-001ea000 r--p 00001000 08:03 1524 /lib/tls/i686/cmov/libdl-2.11.1.so
001ea000-001eb000 rw-p 00002000 08:03 1524 /lib/tls/i686/cmov/libdl-2.11.1.so
001eb000-001f5000 r-xp 00000000 08:03 1677 /lib/tls/i686/cmov/libnss_files-2.11.1.so
001f5000-001f6000 r--p 00009000 08:03 1677 /lib/tls/i686/cmov/libnss_files-2.11.1.so
001f6000-001f7000 rw-p 0000a000 08:03 1677 /lib/tls/i686/cmov/libnss_files-2.11.1.so
0021d000-00230000 r-xp 00000000 08:03 318 /lib/libz.so.1.2.3.3
00230000-00231000 r--p 00012000 08:03 318 /lib/libz.so.1.2.3.3
00231000-00232000 rw-p 00013000 08:03 318 /lib/libz.so.1.2.3.3
002b6000-002b7000 r-xp 00000000 00:00 0 [vdso]
002b7000-003ff000 r-xp 00000000 08:03 38606 /usr/lib/libxapian.so.15.6.9
003ff000-00402000 r--p 00147000 08:03 38606 /usr/lib/libxapian.so.15.6.9
00402000-00403000 rw-p 0014a000 08:03 38606 /usr/lib/libxapian.so.15.6.9
004ee000-0052e000 r-xp 00000000 08:03 1663 /lib/libncursesw.so.5.7
0052e000-00530000 r--p 00040000 08:03 1663 /lib/libncursesw.so.5.7
00530000-00531000 rw-p 00042000 08:03 1663 /lib/libncursesw.so.5.7
0060b000-00610000 r-xp 00000000 08:03 2173 /usr/lib/libsigc-2.0.so.0.0.0
00610000-00611000 r--p 00004000 08:03 2173 /usr/lib/libsigc-2.0.so.0.0.0
00611000-00612000 rw-p 00005000 08:03 2173 /usr/lib/libsigc-2.0.so.0.0.0
00612000-006fb000 r-xp 00000000 08:03 900 /usr/lib/libstdc++.so.6.0.13
006fb000-006ff000 r--p 000e9000 08:03 900 /usr/lib/libstdc++.so.6.0.13
006ff000-00700000 rw-p 000ed000 08:03 900 /usr/lib/libstdc++.so.6.0.13
00700000-00707000 rw-p 00000000 00:00 0
00724000-007e9000 r-xp 00000000 08:03 10721 /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
007e9000-007eb000 r--p 000c5000 08:03 10721 /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
007eb000-007ec000 rw-p 000c7000 08:03 10721 /usr/lib/libapt-pkg-libc6.10-6.so.4.8.0
007ec000-00939000 r-xp 00000000 08:03 1479 /lib/tls/i686/cmov/libc-2.11.1.so
00939000-0093a000 ---p 0014d000 08:03 1479 /lib/tls/i686/cmov/libc-2.11.1.so
0093a000-0093c000 r--p 0014d000 08:03 1479 /lib/tls/i686/cmov/libc-2.11.1.so
0093c000-0093d000 rw-p 0014f000 08:03 1479 /lib/tls/i686/cmov/libc-2.11.1.so
0093d000-00940000 rw-p 00000000 00:00 0
009dc000-009e4000 r-xp 00000000 08:03 1688 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
009e4000-009e5000 r--p 00007000 08:03 1688 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
009e5000-009e6000 rw-p 00008000 08:03 1688 /lib/tls/i686/cmov/libnss_nis-2.11.1.so
00aae000-00ad2000 r-xp 00000000 08:03 1537 /lib/tls/i686/cmov/libm-2.11.1.so
00ad2000-00ad3000 r--p 00023000 08:03 1537 /lib/tls/i686/cmov/libm-2.11.1.so
00ad3000-00ad4000 rw-p 00024000 08:03 1537 /lib/tls/i686/cmov/libm-2.11.1.so
00bda000-00bed000 r-xp 00000000 08:03 1543 /lib/tls/i686/cmov/libnsl-2.11.1.so
00bed000-00bee000 r--p 00012000 08:03 1543 /lib/tls/i686/cmov/libnsl-2.11.1.so
00bee000-00bef000 rw-p 00013000 08:03 1543 /lib/tls/i686/cmov/libnsl-2.11.1.so
00bef000-00bf1000 rw-p 00000000 00:00 0
00c7f000-00c9a000 r-xp 00000000 08:03 864 /lib/ld-2.11.1.so
00c9a000-00c9b000 r--p 0001a000 08:03 864 /lib/ld-2.11.1.so
00c9b000-00c9c000 rw-p 0001b000 08:03 864 /lib/ld-2.11.1.so
00e5a000-00e60000 r-xp 00000000 08:03 1625 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
00e60000-00e61000 r--p 00006000 08:03 1625 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
00e61000-00e62000 rw-p 00007000 08:03 1625 /lib/tls/i686/cmov/libnss_compat-2.11.1.so
00e73000-00e8f000 r-xp 00000000 08:03 773 /lib/libgcc_s.so.1
00e8f000-00e90000 r--p 0001b000 08:03 773 /lib/libgcc_s.so.1
00e90000-00e91000 rw-p 0001c000 08:03 773 /lib/libgcc_s.so.1
00ee3000-00ee5000 r-xp 00000000 08:03 3988 /lib/tls/i686/cmov/libutil-2.11.1.so
00ee5000-00ee6000 r--p 00001000 08:03 3988 /lib/tls/i686/cmov/libutil-2.11.1.so
00ee6000-00ee7000 rw-p 00002000 08:03 3988 /lib/tls/i686/cmov/libutil-2.11.1.so
00f45000-00fb4000 r-xp 00000000 08:03 3048 /usr/lib/libept.so.0.5.30
00fb4000-00fb5000 r--p 0006f000 08:03 3048 /usr/lib/libept.so.0.5.30
00fb5000-00fb6000 rw-p 00070000 08:03 3048 /usr/lib/libept.so.0.5.30
08048000-08251000 r-xp 00000000 08:03 74469 /usr/bin/aptitude
08251000-08252000 r--p 00208000 08:03 74469 /usr/bin/aptitude
08252000-08253000 rw-p 00209000 08:03 74469 /usr/bin/aptitude
08253000-08255000 rw-p 00000000 00:00 0
08ead000-091a9000 rw-p 00000000 00:00 0 [heap]
b5900000-b5921000 rw-p 00000000 00:00 0
b5921000-b5a00000 ---p 00000000 00:00 0
b5a4c000-b5a4d000 ---p 00000000 00:00 0
b5a4d000-b6337000 rw-p 00000000 00:00 0
b641a000-b6a1d000 rw-p 00000000 00:00 0
b6a1d000-b7739000 rw-p 00000000 08:03 131502 /var/cache/apt/pkgcache.bin
b7739000-b773f000 r--p 00000000 08:03 163284 /usr/share/locale/en_GB/LC_MESSAGES/libapt-pkg4.8.mo
b773f000-b7740000 r--p 00000000 08:03 167049 /usr/share/locale-langpack/en_GB/LC_MESSAGES/aptitude.mo
b7740000-b777f000 r--p 00000000 08:03 132768 /usr/lib/locale/en_GB.utf8/LC_CTYPE
b777f000-b789d000 r--p 00000000 08:03 132784 /usr/lib/locale/en_GB.utf8/LC_COLLATE
b789d000-b78a2000 rw-p 00000000 00:00 0
b78a2000-b78a4000 r--p 00000000 08:03 136649 /usr/share/locale-langpack/en_GB/LC_MESSAGES/libapt-pkg4.8.mo
b78a4000-b78a5000 rw-p 00000000 00:00 0 [1] 13733 abort (core dumped) sudo aptitude update
andy@ewok>

ProblemType: Crash
Architecture: i386
AssertionMessage: *** glibc detected *** aptitude: free(): invalid next size (fast): 0x09071780 ***
CrashCounter: 1
Date: Thu Mar 4 23:44:50 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/aptitude
Package: aptitude 0.4.11.11-1ubuntu9
ProcCmdline: aptitude update
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
Signal: 6
SourcePackage: aptitude
StacktraceTop:
 __kernel_vsyscall ()
 raise () from /lib/tls/i686/cmov/libc.so.6
 abort () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
 ?? () from /lib/tls/i686/cmov/libc.so.6
Title: aptitude assert failure: *** glibc detected *** aptitude: free(): invalid next size (fast): 0x09071780 ***
Uname: Linux 2.6.32-15-generic i686
UserGroups:

Revision history for this message
Andy Loughran (andylockran) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __kernel_vsyscall ()
 *__GI_raise (sig=6)
 *__GI_abort () at abort.c:92
 __libc_message (do_abort=2,
 malloc_printerr (action=<value optimized out>,

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 aptitude (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Changed in aptitude (Ubuntu):
status: New → Confirmed
Revision history for this message
Lubosz Sarnecki (lubosz) wrote :

I have a simmilar crash on Lucid alpha 3.

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :

Me too.

This happened regularly in the last few days, both on update and dist-upgrade. It seems to happen during cleanup, after aptitude finishes (most) of its job, thankfully. However, it doesn't happen when aptitude doesn't have anything to do, i.e. there are no new packages.

Revision history for this message
genux (ian-porter) wrote :

I am getting that similar error too, with Lucid beta 1 https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/548663

Revision history for this message
kamahat (kamahat) wrote :

similar erroer on Lucid beta 1
réinstallation of aptitude change nothing.

Revision history for this message
Flx Ndres (1980er) wrote :

similar erroer on Lucid beta 1

sudo aptitude update
Treffer http://de.archive.ubuntu.com lucid Release.gpg
(...)
Treffer http://de.archive.ubuntu.com lucid-updates/multiverse Packages
Treffer http://de.archive.ubuntu.com lucid-updates/multiverse Sources
*** glibc detected *** aptitude: free(): invalid next size (fast): 0x0000000001f5ea60 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7f8ae323f5b6]
/lib/libc.so.6(cfree+0x73)[0x7f8ae3245e53]
aptitude[0x526aa9]
aptitude[0x5459ed]
aptitude[0x542fb7]
aptitude[0x506297]
aptitude[0x501f1d]
aptitude[0x41bb76]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f8ae31e6c4d]
aptitude[0x419619]
======= Memory map: ========
00400000-00626000 r-xp 00000000 08:03 1564754 /usr/bin/aptitude
(...)

Also happened with safe-upgrade

Revision history for this message
Robert Grønning (slimg) wrote :

Got this problem once, tried running it again, but with english translation, and that time I got no error:
LC_ALL=en_US sudo aptitude update

Tried again without LC_ALL=en_US and it still works, don't know if this is a workaround or just a coincidence since I've only gotten the error once.

Revision history for this message
Sean Leach (kickdaddy) wrote :

Same problem with 10.04 beta 1 x86_64. Backtrace attached.

$ uname -a
Linux u10l1 2.6.32-19-generic #28-Ubuntu SMP Thu Apr 1 10:39:41 UTC 2010 x86_64 GNU/Linux

Revision history for this message
dino99 (9d9) wrote :

This version is outdated and no more supported

Changed in aptitude (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.