Bug#385138: man-db: segfault with -a

2006-09-17 Thread Colin Watson
tags 385138 moreinfo
thanks

On Tue, Aug 29, 2006 at 12:15:12PM +0100, Michael Stevens wrote:
 Package: man-db
 Version: 2.4.3-3
 Severity: normal
 
 Segfault when running 'man -a ip'. Output from running with --debug
 below:
[...]
 Succeeded in opening /var/cache/man/local/index.db O_RDONLY
 trying a db located file.

Could I have a copy of /var/cache/man/local/index.db, please, plus the
output of 'find /usr/local/share/man -type f'?

Thanks,

-- 
Colin Watson   [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#385138: man-db: segfault with -a

2006-08-29 Thread Michael Stevens
Package: man-db
Version: 2.4.3-3
Severity: normal

Segfault when running 'man -a ip'. Output from running with --debug
below:

Script started on Tue 29 Aug 2006 12:13:54 BST
[EMAIL PROTECTED]:~

 apt-cache show zeroconf

 sudo aptitude remove kde

 aptitude show
 aptitude show kde

 [EMAIL PROTECTED] aptitude remove
 sudo aptitude remove kde

 apt-cache show zeroconf

 man -debug -debug -a ip
ruid=1514, euid=1514
++priv_drop_count = 1
From the config file /etc/manpath.config:

Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/X11R6/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/X11R6/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'
is a tty
real user = 1514; effective user = 1514

using /usr/bin/pager -s as pager
add_nls_manpath(): processing 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
checking for locale en
add_nls_manpath(): processing 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
checking for locale en
add_nls_manpath(): processing 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
checking for locale en
add_nls_manpath(): processing 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
checking for locale en
add_nls_manpath(): processing 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
adding /export/home/mstevens/pub/Linux/man to manpathlist
adding /usr/man to manpathlist
adding /usr/local/man to manpathlist
adding /usr/share/man to manpathlist
adding /usr/local/share/man to manpathlist
man: warning: /usr/X11R6/man: No such file or directory
*manpath search path* = 
/export/home/mstevens/pub/Linux/man:/usr/man:/usr/local/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man
--priv_drop_count = 0
++priv_drop_count = 1
searching in /export/home/mstevens/pub/Linux/man, section 1
trying section 1 with globbing
Layout is GNU (1)
update_directory_cache /export/home/mstevens/pub/Linux/man/man1: miss
can't open directory /export/home/mstevens/pub/Linux/man/man1: No such file or 
directory
directory cache update failed
update_directory_cache