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

segfaults w/ apropos



I've noticed apropos segfaulting over the past few weeks on
testing/unstable x86.  Wondering if anyone's seeing anything similar.
Possibly permissions/settings or stray crud files lying around?

This is inconsistent -- some queries work fine, others die.

One current example:

    [karsten@ego:karsten]$ apropos mime
    MIME-tools (3pm) [MIME::Tools] - (unknown)
    MIME (1) [mime]      - Multipurpose Internet Mail Extensions
    MIME::Base64 (3perl) - Encoding and decoding of base64 strings
    MIME::Base64 (3pm)   - Encoding and decoding of base64 strings
    MIME::QuotedPrint (3perl) - Encoding and decoding of quoted-printable strings
    MIME::QuotedPrint (3pm) - Encoding and decoding of quoted-printable strings
    dh_installmime (1)   - install mime files into package build directories
    Encode::MIME::Header (3perl) - - MIME 'B' and 'Q' header encoding
    Segmentation fault


Running strace, output ends with the following:

------------------------------------------------------------------------
<...>
stat64("/var/cache/man/index.bt", {st_mode=S_IFREG|0644, st_size=1048576, ...}) = 0
open("/var/cache/man/index.bt", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1048576, ...}) = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0b1\5\0\10\0\0\0\0\20\0\0\0\t\0"..., 256) = 256
close(3)                                = 0
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=108, ...}) = 0
old_mmap(NULL, 274432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40260000
open("/var/cache/man/index.bt", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1048576, ...}) = 0
mmap2(NULL, 1048576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x402a3000
flock(3, LOCK_SH|LOCK_NB)               = 0
brk(0x805c000)                          = 0x805c000
brk(0x805d000)                          = 0x805d000
brk(0x805e000)                          = 0x805e000
brk(0x805f000)                          = 0x805f000
brk(0x8060000)                          = 0x8060000
brk(0x8061000)                          = 0x8061000
brk(0x8062000)                          = 0x8062000
brk(0x8063000)                          = 0x8063000
brk(0x8064000)                          = 0x8064000
brk(0x8065000)                          = 0x8065000
brk(0x8066000)                          = 0x8066000
brk(0x8067000)                          = 0x8067000
brk(0x8068000)                          = 0x8068000
brk(0x8069000)                          = 0x8069000
brk(0x806a000)                          = 0x806a000
brk(0x806b000)                          = 0x806b000
brk(0x806c000)                          = 0x806c000
brk(0x806d000)                          = 0x806d000
brk(0x806e000)                          = 0x806e000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

------------------------------------------------------------------------

The last file opened appears to be /var/cache/man/index.bt.
Permissions:

    [karsten@ego:karsten]$ ll /var/cache/man/index.bt 
    -rw-r--r--  1 man  root  1048576 2002-11-07 08:01 /var/cache/man/index.bt


Thanks.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
 TWikIWeThey: An experiment in collective intelligence.  Stupidity.  Whatever.
   http://twiki.iwethey.org/

Attachment: pgpXzhuEWtO9T.pgp
Description: PGP signature


Reply to: