Bug#403985: apt-get update crashes in pkgAcqDiffIndex::ParseDiffIndex
Package: apt
Version: 0.6.46.4
Severity: serious
Justification: breaks unrelated software
I just did a fresh install from the stable netinst iso and then
dist-upgraded to unstable. Now when I try to aptitude update or
apt-get update, I get a crash:
# apt-get update
Get: 1 http://cudlug.cudenver.edu unstable Release.gpg [378B]
Get: 2 http://security.debian.org
testing/updates Release.gpg [189B]
Hit http://cudlug.cudenver.edu unstable Release
Hit http://security.debian.org testing/updates Release
Get: 3 http://www.debian-multimedia.org unstable Release.gpg [189B]
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
99% [Waiting for headers] [Waiting for headers]Segmentation fault
Here's the stack trace:
#0 0xb7a41818 in ?? ()
#1 0x000006b8 in ?? ()
#2 0xb7e8ea44 in std::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >::~basic_stringstream () from
/usr/lib/libstdc++.so.6
#3 0xb7f5902a in pkgAcqDiffIndex::ParseDiffIndex ()
from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#4 0xb7f59e32 in pkgAcqDiffIndex::Done ()
from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#5 0xb7f41029 in pkgAcquire::Worker::RunMessages ()
from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#6 0xb7f41fe0 in pkgAcquire::Worker::InFdReady ()
from /usr/lib/libapt-
pkg-libc6.3-6.so.3.11
#7 0xb7f39ac9 in pkgAcquire::RunFds ()
from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#8 0xb7f3cd86 in pkgAcquire::Run () from
/usr/lib/libapt-pkg-libc6.3-6.so.3.11
#9 0x0805324e in ?? ()
#10 0xb7f174ab in CommandLine::DispatchArg ()
from /usr/lib/libapt-pkg-libc6.3-6.so.3.11
#11 0x0804f59f in ?? ()
#12 0xb7cbaea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#13 0x0804c5a1 in ?? ()
I can provide any additional output that would be helpful, access to my
machine, etc. I might even dive into the source myself if I get a
chance...
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list
";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "
apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
# Main
# Berkeley, WHY YOU CRASH???
#deb
http://linux.csua.berkeley.edu/debian/ unstable main non-free contrib
#deb-src http://linux.csua.berkeley.edu/debian/
unstable main non-free contrib
deb http://cudlug.cudenver.edu/debian/ unstable main non-free contrib
deb-src http://cudlug.cudenver.edu/debian/
unstable main non-free contrib
# Security
deb http://security.debian.org/ testing/updates main contrib
# MPlayer
deb
http://www.debian-multimedia.org unstable main
deb-src http://www.debian-multimedia.org unstable main
# MythTV
#deb
http://dijkstra.csh.rit.edu/~mdz/debian/ unstable mythtv
#deb-src http://dijkstra.csh.rit.edu/~mdz/debian/ unstable mythtv
-- System Information:
Debian Release:
4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages apt depends on:
ii debian-archive-keyring 2006.11.22 GnuPG archive keys of the Debian a
ii libc6 2.3.6.ds1-9 GNU C Library: Shared libraries
ii libgcc1 1:
4.1.1-21 GCC support library
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: