Colin Watson wrote Hi,
certain manual hierarchy structures. Could you please send me the full output of 'LC_ALL=C man -d -k some_argument'?
Yes, attached. Best Regards, robert
Script started on Pt, 12 X 2007, 09:06:28 [1]/home/robert> LC_ALL=C /usr/bin/man -d -k some_argument ruid=1000, euid=1000 ++priv_drop_count = 1 >From the config file /etc/manpath.config: Mandatory mandir `/usr/man'. Mandatory mandir `/usr/share/man'. Mandatory mandir `/usr/local/man'. Path `/bin' mapped to mandir `/usr/share/man'. Path `/usr/bin' mapped to mandir `/usr/share/man'. Path `/sbin' mapped to mandir `/usr/share/man'. Path `/usr/sbin' mapped to mandir `/usr/share/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'. Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'. Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'. Path `/usr/games' mapped to mandir `/usr/share/man'. Path `/opt/bin' mapped to mandir `/opt/man'. Path `/opt/sbin' mapped to mandir `/opt/man'. Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'. Global mandir `/usr/share/man', catdir `/var/cache/man'. Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'. Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'. Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'. Global mandir `/opt/man', catdir `/var/cache/man/opt'. Added section `1'. Added section `n'. Added section `l'. Added section `8'. Added section `3'. Added section `2'. Added section `3posix'. Added section `3pm'. Added section `3perl'. Added section `5'. Added section `4'. Added section `9'. Added section `6'. Added section `7'. `/usr/man' `' `1' `/usr/share/man' `' `1' `/usr/local/man' `' `1' `/bin' `/usr/share/man' `0' `/usr/bin' `/usr/share/man' `0' `/sbin' `/usr/share/man' `0' `/usr/sbin' `/usr/share/man' `0' `/usr/local/bin' `/usr/local/man' `0' `/usr/local/bin' `/usr/local/share/man' `0' `/usr/local/sbin' `/usr/local/man' `0' `/usr/local/sbin' `/usr/local/share/man' `0' `/usr/X11R6/bin' `/usr/X11R6/man' `0' `/usr/bin/X11' `/usr/X11R6/man' `0' `/usr/games' `/usr/share/man' `0' `/opt/bin' `/opt/man' `0' `/opt/sbin' `/opt/man' `0' `/usr/man' `/var/cache/man/fsstnd' `-1' `/usr/share/man' `/var/cache/man' `-1' `/usr/local/man' `/var/cache/man/oldlocal' `-1' `/usr/local/share/man' `/var/cache/man/local' `-1' `/usr/X11R6/man' `/var/cache/man/X11R6' `-1' `/opt/man' `/var/cache/man/opt' `-1' `1' `' `-5' `n' `' `-5' `l' `' `-5' `8' `' `-5' `3' `' `-5' `2' `' `-5' `3posix' `' `-5' `3pm' `' `-5' `3perl' `' `-5' `5' `' `-5' `4' `' `-5' `9' `' `-5' `6' `' `-5' `7' `' `-5' Starting pipeline: /usr/bin/apropos -d -L pl some_argument [input: {0, NULL}, output: {0, NULL}] main(): locale = pl, internal_locale = pl >From the config file /etc/manpath.config: Mandatory mandir `/usr/man'. Mandatory mandir `/usr/share/man'. Mandatory mandir `/usr/local/man'. Path `/bin' mapped to mandir `/usr/share/man'. Path `/usr/bin' mapped to mandir `/usr/share/man'. Path `/sbin' mapped to mandir `/usr/share/man'. Path `/usr/sbin' mapped to mandir `/usr/share/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'. Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'. Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'. Path `/usr/games' mapped to mandir `/usr/share/man'. Path `/opt/bin' mapped to mandir `/opt/man'. Path `/opt/sbin' mapped to mandir `/opt/man'. Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'. Global mandir `/usr/share/man', catdir `/var/cache/man'. Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'. Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'. Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'. Global mandir `/opt/man', catdir `/var/cache/man/opt'. Added section `1'. Added section `n'. Added section `l'. Added section `8'. Added section `3'. Added section `2'. Added section `3posix'. Added section `3pm'. Added section `3perl'. Started "/usr/bin/apropos", pid 2545 Waiting for pipeline: /usr/bin/apropos -d -L pl some_argument [input: {0, NULL}, output: {0, NULL}] Active processes (1): "/usr/bin/apropos" (2545) -> -1 Added section `5'. Added section `4'. Added section `9'. Added section `6'. Added section `7'. `/usr/man' `' `1' `/usr/share/man' `' `1' `/usr/local/man' `' `1' `/bin' `/usr/share/man' `0' `/usr/bin' `/usr/share/man' `0' `/sbin' `/usr/share/man' `0' `/usr/sbin' `/usr/share/man' `0' `/usr/local/bin' `/usr/local/man' `0' `/usr/local/bin' `/usr/local/share/man' `0' `/usr/local/sbin' `/usr/local/man' `0' `/usr/local/sbin' `/usr/local/share/man' `0' `/usr/X11R6/bin' `/usr/X11R6/man' `0' `/usr/bin/X11' `/usr/X11R6/man' `0' `/usr/games' `/usr/share/man' `0' `/opt/bin' `/opt/man' `0' `/opt/sbin' `/opt/man' `0' `/usr/man' `/var/cache/man/fsstnd' `-1' `/usr/share/man' `/var/cache/man' `-1' `/usr/local/man' `/var/cache/man/oldlocal' `-1' `/usr/local/share/man' `/var/cache/man/local' `-1' `/usr/X11R6/man' `/var/cache/man/X11R6' `-1' `/opt/man' `/var/cache/man/opt' `-1' `1' `' `-5' `n' `' `-5' `l' `' `-5' `8' `' `-5' `3' `' `-5' `2' `' `-5' `3posix' `' `-5' `3pm' `' `-5' `3perl' `' `-5' `5' `' `-5' `4' `' `-5' `9' `' `-5' `6' `' `-5' `7' `' `-5' path directory /home/robert/bin is not in the config file and doesn't have ../man or man subdirectories path directory /home/robert/bin is not in the config file and doesn't have ../man or man subdirectories path directory /usr/local/bin is in the config file adding /usr/local/man to manpath adding /usr/local/share/man to manpath path directory /usr/bin is in the config file adding /usr/share/man to manpath path directory /bin is in the config file /usr/share/man is already in the manpath path directory /usr/bin/X11 is in the config file warning: /usr/X11R6/man: No such file or directory path directory /usr/games is in the config file /usr/share/man is already in the manpath adding mandatory man directories warning: /usr/man: No such file or directory /usr/share/man is already in the manpath /usr/local/man is already in the manpath add_nls_manpath(): processing /usr/local/man:/usr/local/share/man:/usr/share/man adding /usr/share/man/pl to manpathlist adding /usr/share/man/pl.ISO8859-2 to manpathlist adding /usr/share/man/pl.UTF-8 to manpathlist adding /usr/local/man to manpathlist adding /usr/local/share/man to manpathlist adding /usr/share/man to manpathlist lower(some_argument) = "some_argument" path=/usr/share/man/pl hash_free: 1542 entries, 1084 (70%) unique path=/usr/share/man/pl.ISO8859-2 hash_free: 16 entries, 16 (100%) unique path=/usr/share/man/pl.UTF-8 hash_free: 16 entries, 16 (100%) unique path=/usr/local/man hash_free: 46 entries, 45 (97%) unique path=/usr/local/share/man hash_free: 46 entries, 45 (97%) unique path=/usr/share/man hash_free: 21887 entries, 2001 (9%) unique some_argument: nothing appropriate. hash_free: 0 entries, 0 (0%) unique *** glibc detected *** apropos: free(): invalid pointer: 0xbff4cbaf *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7ea9ce5] /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7ead780] apropos[0x804b138] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e56050] apropos[0x8049c71] ======= Memory map: ======== 08048000-08056000 r-xp 00000000 08:05 1457535 /usr/bin/apropos 08056000-08057000 rw-p 0000e000 08:05 1457535 /usr/bin/apropos 08057000-080f9000 rw-p 08057000 00:00 0 [heap] b7b00000-b7b21000 rw-p b7b00000 00:00 0 b7b21000-b7c00000 ---p b7b21000 00:00 0 b7c12000-b7c1c000 r-xp 00000000 08:01 297094 /lib/libgcc_s.so.1 b7c1c000-b7c1d000 rw-p 00009000 08:01 297094 /lib/libgcc_s.so.1 b7c3e000-b7c3f000 rw-p b7c3e000 00:00 0 b7c3f000-b7e3f000 r--p 00000000 08:05 884441 /usr/lib/locale/locale-archive b7e3f000-b7e40000 rw-p b7e3f000 00:00 0 b7e40000-b7f82000 r-xp 00000000 08:01 489273 /lib/i686/cmov/libc-2.6.1.so b7f82000-b7f83000 r--p 00142000 08:01 489273 /lib/i686/cmov/libc-2.6.1.so b7f83000-b7f85000 rw-p 00143000 08:01 489273 /lib/i686/cmov/libc-2.6.1.so b7f85000-b7f88000 rw-p b7f85000 00:00 0 b7f88000-b7f8d000 r-xp 00000000 08:05 873472 /usr/lib/libgdbm.so.3.0.0 b7f8d000-b7f8e000 rw-p 00004000 08:05 873472 /usr/lib/libgdbm.so.3.0.0 b7f8e000-b7fa2000 r-xp 00000000 08:05 867318 /usr/lib/libz.so.1.2.3.3 b7fa2000-b7fa3000 rw-p 00013000 08:05 867318 /usr/lib/libz.so.1.2.3.3 b7fa3000-b7fa4000 rw-p b7fa3000 00:00 0 b7fbe000-b7fc5000 r--s 00000000 08:05 1685017 /usr/lib/gconv/gconv-modules.cache b7fc5000-b7fc6000 rw-p b7fc5000 00:00 0 b7fc6000-b7fc7000 r-xp b7fc6000 00:00 0 [vdso] b7fc7000-b7fe3000 r-xp 00000000 08:01 293329 /lib/ld-2.6.1.so b7fe3000-b7fe5000 rw-p 0001b000 08:01 293329 /lib/ld-2.6.1.so bff38000-bff4e000 rw-p bff38000 00:00 0 [stack] Active processes (1): "/usr/bin/apropos" (2545) -> 134 man: /usr/bin/apropos: Aborted (core dumped) [2]/home/robert> exit Script done on Pt, 12 X 2007, 09:06:44