Package: aptitude Version: 0.4.4-1 Severity: major Major because it stops aptitude from working (but not grave - there are work around, using apt-get update seem to help)
# dpkg --list "apt*" | grep ii ii apt 0.6.46.4 Advanced front-end for dpkg ii apt-file 2.0.8 APT package searching utility -- command-lin ii apt-howto-common 2.0.2-2 example-based guide to APT ii apt-howto-pl 2.0.2-2 example-based guide to APT (Polish) ii apt-listbugs 0.0.69 Lists critical bugs before each apt installa ii apt-utils 0.6.46.4 APT utility programs ii aptitude 0.4.4-1 terminal-based apt frontend # dpkg --list "libapt*" | grep ii ii libapt-pkg-perl 0.1.20 Perl interface to libapt-pkg # dpkg --list "dpkg*" | grep ii ii dpkg 1.13.25 package maintenance system for Debian ii dpkg-dev 1.13.25 package building tools for Debian aptitude crashes when doing anything (like install foo) while parsing data. I also saw others reporting simillar problems btw (like on NEWS groups). blackelf:/home/raf256# gdb aptitude GNU gdb 6.4.90-debian Copyright (C) 2006 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 "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run search foo Starting program: /usr/bin/aptitude search foo Failed to read a valid object file image from memory. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1212254528 (LWP 21019)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1212254528 (LWP 21019)] 0xb7efc066 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 (gdb) bt #0 0xb7efc066 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #1 0xb7f25d5a in debListParser::ParseDepends () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #2 0xb7f25fdc in debListParser::NewVersion () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #3 0xb7efcfc3 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #4 0xb7f3567d in debPackagesIndex::Merge () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #5 0xb7efd749 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #6 0xb7eff1cf in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.3-6.so.3.11 #7 0x081e1401 in std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > () #8 0x081e62ce in std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > () #9 0x0813fec7 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> () #10 0x08053207 in ?? () #11 0xb7c01ea8 in __libc_start_main () from /lib/tls/libc.so.6 #12 0x08051211 in ?? () (gdb) q The program is running. Exit anyway? (y or n) y strace -ostrace aptitude search foo execve("/usr/bin/aptitude", ["aptitude", "search", "foo"], [/* 34 vars */]) = 0 uname({sys="Linux", node="blackelf", ...}) = 0 brk(0) = 0x82cdddc access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f96000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 [...] msync(0xb6eec000, 8536, MS_SYNC) = 0 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 open("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages", O_RDONLY) = 5 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 read(5, "Package: 3270-common\nPriority: o"..., 32768) = 32768 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 fstat64(5, {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 read(5, "es to create bootable media for "..., 32233) = 32233 read(5, ".8), libgcc1 (>= 1:4.1.1-12), li"..., 32524) = 32524 so file 5 is /var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages read(5, "Package: 3270-common\nPriority: o"..., 32768) = 32768 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 fstat64(5, {st_mode=S_IFREG|0644, st_size=20731446, ...}) = 0 read(5, "es to create bootable media for "..., 32233) = 32233 read(5, ".8), libgcc1 (>= 1:4.1.1-12), li"..., 32524) = 32524 read(5, "6bd0f35ed21dfd67b2\nDescription: "..., 32185) = 32185 [... reading it ...] read(5, "", 22524) = 0 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_unstable_Release", {st_mode=S_IFREG|0644, st_size=79562, ...}) = 0 done reading it and so on the last file is: open("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_stable_main_binary-i386_Packages", O_RDONLY) = 5 fcntl64(5, F_SETFD, FD_CLOEXEC) = 0 read(5, "Package: 3dchess\nPriority: optio"..., 32768) = 32768 stat64("/var/lib/apt/lists/192.168.44.20:9999_debian_dists_stable_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=14939855, ...}) = 0 fstat64(5, {st_mode=S_IFREG|0644, st_size=14939855, ...}) = 0 read(5, ">> 4.1.0), zlib1g (>= 1:1.2.1)\nF"..., 32535) = 32535 read(5, " addressmanager.app\nPriority: op"..., 32760) = 32760 and the reading ends as: read(5, "am which will display its output"..., 32098) = 32098 read(5, "arsons <[EMAIL PROTECTED]>\nArc"..., 32685) = 32685 read(5, "e: pool/main/x/xshisen/xshisen_1"..., 32312) = 32312 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ now strace -s99999 to see the data the last read is about 32 kB in length - so truncating it (email me if you need entire file) information.\n\nPackage: xshisen\nPriority: optional\nSection: games\nInstalled-Size: 724\nMaintainer: Grzegorz Prokopski (Debian Developer) <[EMAIL PROTECTED]>\nArchitecture: i386\nVersion: 1.51-1-1.2\nDepends: libc6 (>= 2.3.2.ds1-4), libgcc1 (>= 1:3.4.1-3), libice6 | xlibs (>> 4.1.0), libsm6 | xlibs (>> 4.1.0), libstdc++5 (>= 1:3.3.4-1), libx11-6 | xlibs (>> 4.1.0), libxaw7 (>> 4.1.0), libxmu6 | xlibs (>> 4.1.0), libxpm4 | xlibs (>> 4.1.0), libxt6 | xlibs (>> 4.1.0)\nFilenam", 32685) = 3268 read(5, "e: pool/main/x/xshisen/xshisen_1.51-1-1.2_i386.deb\nSize: 68778\nMD5sum: b4887b1eaa77614f7f85f27aff38b20c\nSHA1: ecd9d6e6933abc40e282667826ca2256c3c8dbdd\nSHA256: 8a7b2eb680f2e862da2c3f5e687f00a21306dae13160e0723fb2bfed916a5f19\nDescription: Shisen-sho puzzle game for X11\n xshisen is a puzzle game for X11. [...] [...] xteddy\nPriority: optional\nSection: games\nInstalled-Size: 484\nMaintainer: Andreas Tille <[EMAIL PROTECTED]>\nArchitecture: i386\nVersion: 2.0.2-2.1\nDepends: imlib11, libc6 (>= 2.3.2.ds1-4), libice6 | xlibs (>> 4.1.0), libjpeg62, libpng12-0 (>= 1.2.5.0-4), libsm6 | xlibs (>> 4.1.0), libtiff4, libungif4g (>= 4.1.3), libx11-6 | xlibs (>> 4.1.0), libxext6 | xlibs (>> 4.1.0), zlib1g (>= 1:1.2.1)\nFilename: pool/main/x/xteddy/xteddy_2.0.2-2.1_i386.deb\nSize: 306064\nMD5sum: 46398d3cb2519c3aac6542a488509177\nSHA1: f0526cda97d874abddf4f2307a63ec86d5634426\nSHA256: 6f63cf2af89086ea2344ed3fdd46e4f3d2df3b701cee66391d2ea357160f54b9\nDescription: a cuddly teddy bear (or other image) for your X desktop\n Normally, xteddy just sits around doing nothing. After all, that\'s what\n teddy bears are for. Look at him, talk to him, place heavy windows on\n top of him, zap him around until he becomes dizzy, do what you like;\n he will always be your true (albeit virtual) friend.\n Now you can load other pixmaps than the nice teddy, too.\n\nPackage: xtel\nPriority: extra\nSection: comm\nInstalled-Size: 644\nMaintainer: Eric Delaunay", 32312) = 32312 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ so the file /var/lib/apt/lists/192.168.44.20:9999_debian_dists_stable_main_binary-i386_Packages is perhaps corrupted #sha1sum /var/lib/apt/lists/192.168.44.20:9999_debian_dists_stable_main_binary-i386_Packages 964ffa005e2af942b784271935d5c47a5598a1b5 -rw-r--r-- 1 root root 15M 2006-10-29 10:40 /var/lib/apt/lists/192.168.44.20:9999_debian_dists_stable_main_binary-i386_Packages I have it's copy if anyone needs it. -- LimCore JID: limcore-office//jabber.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]