NetBSD-Bugs archive

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

Re: bin/46637: makemandb fails with segmentation fault



On Sat, Jun 30, 2012 at 1:10 AM,  <nubisci%gmail.com@localhost> wrote:
>>Number:         46637
>>Category:       bin
>>Synopsis:       makemandb fails with segmentation fault
>>Confidential:   no
>>Severity:       serious
>>Priority:       medium
>>Responsible:    bin-bug-people
>>State:          open
>>Class:          sw-bug
>>Submitter-Id:   net
>>Arrival-Date:   Fri Jun 29 19:40:00 +0000 2012
>>Originator:     I'Khala X
>>Release:        6.99.7
>>Organization:
> LowTech Industries
>>Environment:
> [ronin:g95]# uname -a
> NetBSD ronin.nubiscilabs.net 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun  4 
> 11:43:47 EDT 2012 
>  toor%ronin.nubiscilabs.net@localhost:/usr/obj/sys/arch/amd64/compile/RONIN 
> amd64
>
>>Description:
> I've been having issues with the new man pages for a few weeks now.  I 
> submitted a pr about apropos, but the real issue seems to be with makemandb. 
>  It never completes and always fail with a "segmentation fault".
>
>
>>How-To-Repeat:
> Note the following output ...
> [ronin:/root]# ls /var/db/man*
> /var/db/man.db  /var/db/man.db-journal
> [ronin:/root]# rm -rf /var/db/man*
> [ronin:/root]# makemandb -f
> Building temporary file cache
> makemandb: stat failed: /usr/share/man/man1/acroread.1: No such file or 
> directory
> makemandb: Error in indexing /usr/local/man/man1/vdcomp.1.gz
> makemandb: /usr/share/man/man2/lstat.2: Parse failure
> makemandb: Error in indexing /usr/share/man/man2/lstat.2
> makemandb: /usr/share/man/man2/pathconf.2: Parse failure
> makemandb: Error in indexing /usr/share/man/man2/pathconf.2
> makemandb: /usr/share/man/man2/setpriority.2: Parse failure
> makemandb: Error in indexing /usr/share/man/man2/setpriority.2
> makemandb: /usr/share/man/man2/unmount.2: Parse failure
> makemandb: Error in indexing /usr/share/man/man2/unmount.2
> makemandb: Error in indexing 
> /usr/share/man/man3/prop_array_get_cstring_nocopy.3
> makemandb: Error in indexing 
> /usr/share/man/man3/prop_dictionary_get_cstring_nocopy.3
> Segmentation fault
>
>
>
>>Fix:
> Unknown.
>

Are you having the current copies of the man pages ? Many of those man
pages were fixed to let makemandb index them without any errors. I
just upgraded my NetBSD installation to 6.99.8 and ran makemand, no
problems here.

Also, use the -v flag for verbose output from makemandb when reporting
a bug. It would help in identifying which page exactly caused the
segfault. :-)

Thanks
Abhinav


Home | Main Index | Thread Index | Old Index