[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216249: apt utils segfault



Package: apt
Version: 0.5.4
Severity: normal

apt-get update segfaults
backtrace:
#0  0x400a2270 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#1  0x400b7b69 in debListParser::ParseDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#2  0x400b6563 in debListParser::NewVersion () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#3  0x400a0be9 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#4  0x400cb884 in debStatusIndex::Merge () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#5  0x400a44ff in pkgCacheGenerator::WriteUniqString () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#6  0x400a5bae in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#7  0x4009a825 in pkgCacheFile::Open () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#8  0x08056037 in strcpy ()
#9  0x4006931a in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#10 0x08063610 in strcpy ()
#11 0x4018314f in __libc_start_main () from /lib/libc.so.6

apt-get check segfaults:

#0  0x400a2270 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#1  0x400b7b69 in debListParser::ParseDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#2  0x400b6563 in debListParser::NewVersion () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#3  0x400a0be9 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#4  0x400cb884 in debStatusIndex::Merge () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#5  0x400a44ff in pkgCacheGenerator::WriteUniqString () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#6  0x400a5bae in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#7  0x4009a825 in pkgCacheFile::Open () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#8  0x0805d2c0 in strcpy ()
#9  0x4006931a in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#10 0x08063610 in strcpy ()
#11 0x4018314f in __libc_start_main () from /lib/libc.so.6

Hmm perhaps it is because of my sources.list

after removing testing and unstable - there is no segfault anymore
adding testing again => segfault

which one of testing?

ups with this one:
deb http://ftp.de.debian.org/debian testing main contrib non-free
now i get an error message :

Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occured while processing netstd (NewVersion1)
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.
(no debugging symbols found)...(no debugging symbols found)...
Program exited with code 0144.

this one works:
deb http://ftp.de.debian.org/debian-non-US testing/non-US main contrib non-free

and both:
deb http://ftp.de.debian.org/debian testing main contrib non-free
deb http://ftp.de.debian.org/debian-non-US testing/non-US main contrib non-free

give me a segfault:

Program received signal SIGSEGV, Segmentation fault.
0x400a2270 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
(gdb) bt
#0  0x400a2270 in pkgCacheGenerator::ListParser::NewDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#1  0x400b7b69 in debListParser::ParseDepends () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#2  0x400b6563 in debListParser::NewVersion () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#3  0x400a0be9 in pkgCacheGenerator::MergeList () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#4  0x400cb884 in debStatusIndex::Merge () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#5  0x400a44ff in pkgCacheGenerator::WriteUniqString () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#6  0x400a69ba in pkgMakeStatusCache () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#7  0x4009a825 in pkgCacheFile::Open () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#8  0x08056037 in strcpy ()
#9  0x4006931a in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.2-3-2.so.3.2
#10 0x08063610 in strcpy ()
#11 0x4018314f in __libc_start_main () from /lib/libc.so.6

hope this helps


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux quark 2.4.20-quark #1 Fre Mär 21 15:28:04 CET 2003 i586
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages apt depends on:
hi  libc6                  2.2.5-11.5        GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2 1:2.95.4-11woody1 The GNU stdc++ library




Reply to: