Package: debtags
Version: 1.7.9+b1
Severity: normal

Hi,

I noticed that the cronjob running `debtags update' had failed with a
segmentation fault. This can be reproduced by running it from the
command line:

------------------------------------------------------------
# /usr/bin/debtags update
Segmentation fault
------------------------------------------------------------

Running `apt-get source debtags' to investigate the problem hinted at
what the problem was:

------------------------------------------------------------
$ apt-get source debtags
Reading package lists... Error!
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. 
Current value: 25165824. (man 5 apt.conf)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. 
Current value: 25165824. (man 5 apt.conf)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. 
Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing python-numeric (NewVersion1)
E: Problem with MergeList 
/var/lib/apt/lists/ftp.funet.fi_pub_linux_mirrors_debian_dists_testing-i386_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
------------------------------------------------------------

Indeed increasing APT::Cache-Limit in /etc/apt/apt.conf also solved
the debtags crash.

So it seems like debtags cannot handle APT::Cache-Limit being too
small gracefully (with a good error message) and crashes instead.

        Sami


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable-i386
  APT policy: (500, 'unstable-i386'), (500, 'transitional-i386'), (500, 
'transitional'), (500, 'testing-i386'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debtags depends on:
ii  apt [libapt-pkg-libc6. 0.7.21            Advanced front-end for dpkg
ii  libc6                  2.9-13            GNU C Library: Shared libraries
ii  libept0                0.5.26+b1         High-level library for managing De
ii  libgcc1                1:4.4.0-10        GCC support library
ii  libstdc++6             4.4.0-10          The GNU Standard C++ Library v3
ii  libxapian15            1.0.13-3          Search engine library
ii  perl                   5.10.0-23         Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-14 compression library - runtime

debtags recommends no packages.

Versions of packages debtags suggests:
pn  tagcoll                       <none>     (no description available)
ii  wget                          1.11.4-2   retrieves files from the web

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to