Bug#97924: apt-get segfaults on all operations - changing sources.list fixes ?!
Package: apt
Version: 0.5.3
apt-get update (and other operations) segfaulted here:
#0 0x4006c0bc in pkgDepCache::CheckDep ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
(gdb) bt
#0 0x4006c0bc in pkgDepCache::CheckDep ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#1 0x4006cc16 in pkgDepCache::DependencyState ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#2 0x4006cfbd in pkgDepCache::Update ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#3 0x4006c01e in pkgDepCache::Init ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#4 0x4008d8f9 in pkgCacheFile::Open ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#5 0x8056137 in strcpy ()
#6 0x4005fe9e in CommandLine::DispatchArg ()
from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.1
#7 0x8061b33 in strcpy ()
#8 0x401742eb in __libc_start_main () from /lib/libc.so.6
(gdb)
on a friend's machine.
The core is at:
http://noisette.axialys.net/~huggie/apt-core (625k)
The whole contents of /etc/apt are there too in the apt-conf.tar.gz
Now for the really strange thing:
In his /etc/apt/sources.list he has:
deb http://debian.axialys.net/debian/non-US sid/non-US main contrib
non-free
And when I commented out this line I found I could run apt-get update
with no problems.
So naturally I took out the # and reran it expecting it to dump core
again but it didn't.
So I now have a totally working apt-get and I'm filing this bug just in
case you can see (from the core) the bug that caused the original
segfault.
(debian.axialys.net is a local mirror of ftp.uk.debian.org (when it
works) but it should be accessible).
Simon.
--
[ "And I told her it would be a nice trip to the forest." - Mulder ]
Black Cat Networks. http://www.blackcatnetworks.co.uk/
Reply to: