[Bug 16467] Re: [MASTER] aptitude/apt-get segmentation fault on corrupted cache
Bug Watch Updater
16467 at bugs.launchpad.net
Sat Aug 20 06:22:46 UTC 2011
** Changed in: apt (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/16467
Title:
[MASTER] aptitude/apt-get segmentation fault on corrupted cache
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” package in Debian:
Fix Released
Bug description:
I cannot install/update nothing. I always get a segmentation fault.
# gdb apt-get
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...Using
host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run dist-upgrade
Starting program: /usr/bin/apt-get dist-upgrade
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(nS'està llegint la llista de
paquets... Acabatmbols found)...(no debugging symbols found)...(no debugging
symbols found)...
S'està construint l'arbre de dependències... 0%
Program received signal SIGSEGV, Segmentation fault.
0x429c440e in pkgDepCache::StateCache::Update () from
/usr/lib/libapt-pkg-libc6.3-5.so.3.3
(gdb) bt
#0 0x429c440e in pkgDepCache::StateCache::Update () from
/usr/lib/libapt-pkg-libc6.3-5.so.3.3
#1 0x429c1cf4 in pkgDepCache::Init () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#2 0x429e1f71 in pkgCacheFile::Open () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#3 0x0805e03f in std::vector<pkgSrcRecords::Parser::BuildDepRec,
std::allocator<pkgSrcRecords::Parser::BuildDepRec> >::_M_insert_aux ()
#4 0x0805760d in ?? ()
#5 0x429b7871 in CommandLine::DispatchArg () from
/usr/lib/libapt-pkg-libc6.3-5.so.3.3
#6 0x0805d55e in ?? ()
#7 0x4102d7b6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#8 0x41147edc in ?? () from /lib/tls/i686/cmov/libc.so.6
#9 0x41015020 in ?? () from /lib/ld-linux.so.2
#10 0x0805f58c in
std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*,
std::vector<pkgSrcRecords::Parser::BuildDepRec,
std::allocator<pkgSrcRecords::Parser::BuildDepRec> > >,
__gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*,
std::vector<pkgSrcRecords::Parser::BuildDepRec,
std::allocator<pkgSrcRecords::Parser::BuildDepRec> > > > ()
Previous frame inner to this frame (corrupt stack?)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/16467/+subscriptions
More information about the foundations-bugs
mailing list