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

Bug#501274: apt-cache show segfaults when APT::Cache::AllVersions is false



Package: apt
Version: 0.7.14
Severity: important
File: /usr/bin/apt-cache

        Hi!

 I notice a strange segfault in apt-cache show. When handing it a source
package name that isn't available as binary package, and when
APT::Cache::AllVersions is set to false, apt-cache show will segfault:

#v+
rhonda@edna:~$ apt-cache show vimoutliner
rhonda@edna:~$ echo 'APT::Cache::AllVersions "false";' | sudo tee -a /etc/apt/apt.conf
APT::Cache::AllVersions "false";
rhonda@edna:~$ apt-cache show vimoutliner
Segmentation fault
rhonda@edna:~$ apt-cache show -a vimoutliner
rhonda@edna:~$ 
#v-

 I'm not too sure what exactly is going on here, but I think this should
be enough informations to be able to reproduce it relyable.

 Thanks,
Rhonda

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-13          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-9       GCC support library
ii  libstdc++6               4.3.1-9         The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc                       0.7.14     Documentation for APT
ii  aptitude                      0.4.11.8-1 terminal-based package manager
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  synaptic                      0.62.1     Graphical package manager

-- no debconf information



Reply to: