Package: xapian-omega Version: 1.0.16-1 Severity: important I get the following error when trying to index a PDF file:
Indexing "/xxxxx.pdf" as application/pdf ... pdftotext: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory Filter for "application/pdf" not installed - ignoring extension "pdf" As far as I can tell, the problem is that runfilter.cc sets an rlimit of 7/8 of the free memory. And that freemem.cc calculates that using sysconf(_SC_AVPHYS_PAGES), which doesn't include the memory that the kernel is using for temporary caching, even though that really is available. Debian bug 404528 decribes a similar bug in another package, and suggests using _SC_PHYS_PAGES instead of _SC_AVPHYS_PAGES. Here is the output of 'free' on my system: total used free shared buffers cached Mem: 249644 246080 3564 0 0 182332 -/+ buffers/cache: 63748 185896 Swap: 979956 11720 968236 -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i586) Kernel: Linux 2.6.30-1-486 Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xapian-omega depends on: ii libc6 2.9-25 GNU C Library: Shared libraries ii libgcc1 1:4.4.1-1 GCC support library ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3 ii libxapian15 1.0.16-3 Search engine library Versions of packages xapian-omega recommends: ii apache2 2.2.13-2 Apache HTTP Server metapackage ii apache2-mpm-worker [httpd-cgi 2.2.13-2 Apache HTTP Server - high speed th Versions of packages xapian-omega suggests: ii antiword 0.37-6 Converts MS Word files to text, PS ii catdoc 0.94.2-1 MS-Word to TeX or plain text conve pn catdvi <none> (no description available) pn djvulibre-bin <none> (no description available) pn ghostscript <none> (no description available) pn libwpd-tools <none> (no description available) pn libwps-tools <none> (no description available) ii perl 5.10.0-25 Larry Wall's Practical Extraction ii unrtf 0.19.3-1.1 RTF to other formats converter ii unzip 6.0-1 De-archiver for .zip files ii xpdf-utils 3.02-1.4+lenny1 Portable Document Format (PDF) sui -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org