apt crashes during update, in /usr/lib/libapt-pkg-libc6.9-6.so.4.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
I get a segfault when doing a apt-get update (or update-manager -c, etc)
The segfault happens after this line is printed (stacktrace below)
Reading package lists... 0%
I tried clearing out my /var/lib/apt/lists/ files and fetching from scratch, this failed the first time, but succeeded later (perhaps it was a duff file on the server, but that shouldn't crash it).
Infuriatingly, doing a diff of /var/lib/apt/lists/ from when it was broken and when it was fixed shows no differences!
root@iffish:~# apt-get -v
apt 0.7.20.2ubuntu6 for i386 compiled on Apr 17 2009 04:25:29
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Standard Debian binary tree
S.L: 'deb-src' Standard Debian source tree
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
root@iffish:~# gdb apt-get
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) r update
Starting program: /usr/bin/apt-get update
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... 0%
Program received signal SIGSEGV, Segmentation fault.
0xb7d1e5eb in strlen () from /lib/tls/
(gdb) bt
#0 0xb7d1e5eb in strlen () from /lib/tls/
#1 0xb7ed4b33 in std::string:
#2 0xb7fd31df in debPackagesInde
#3 0xb7f9a372 in ?? () from /usr/lib/
#4 0xb7f9aae0 in pkgMakeStatusCache () from /usr/lib/
#5 0xb7f910c9 in pkgCacheFile:
#6 0x080538da in ?? ()
#7 0xb7f5accf in CommandLine:
#8 0x0805bc38 in ?? ()
#9 0xb7cbd775 in __libc_start_main () from /lib/tls/
#10 0x0804cdb1 in ?? ()
(gdb) q
The program is running. Exit anyway? (y or n) y
Thank you for reporting this bug to Ubuntu. Ubuntu 9.04 reached EOL in October 2010. /wiki.ubuntu. com/Releases
Please see this document for currently supported Ubuntu releases:
https:/
Please feel free to report any other bugs you may find.