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

Bug#166049: apt-cache gencaches: segfaults for low values of APT::Cache-Limit



Package: apt
Version: 0.5.4
Severity: normal

When doing my trial-and-error to find a suitable value, I started with
ridiculously low values, causing segfaults with giving a value less
than 8192.  But that's most likely not the real minimum, as for 8192 I
get strange things:

# apt-cache -o APT::Cache-Limit=8192 gencaches
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: This APT does not support the Versioning System 'Üvþ'

                                                    ^^^
					That's surely not normal :)

If the algorithm used for the cache has specific needs in terms of
minimal size for this parameter, it should be enforced.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux vitel 2.4.19-station #1 Tue Aug 6 11:36:58 CEST 2002 i686
Locale: LANG=french, LC_CTYPE=french

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

-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org)                        Développeur Debian



Reply to: