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



Thanks Abhinav.
I'll perform the upgrade to 6.99.8 first and see how it goes!!!

./i'khala


On Sat, Jun 30, 2012 at 2:30 AM, Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost> wrote:
The following reply was made to PR bin/46637; it has been noted by GNATS.

From: Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/46637: makemandb fails with segmentation fault
Date: Sat, 30 Jun 2012 11:55:48 +0530

 On Sat, Jun 30, 2012 at 1:10 AM,  <nubisci%gmail.com@localhost> wrote:
 >>Number: =A0 =A0 =A0 =A0 46637
 >>Category: =A0 =A0 =A0 bin
 >>Synopsis: =A0 =A0 =A0 makemandb fails with segmentation fault
 >>Confidential: =A0 no
 >>Severity: =A0 =A0 =A0 serious
 >>Priority: =A0 =A0 =A0 medium
 >>Responsible: =A0 =A0bin-bug-people
 >>State: =A0 =A0 =A0 =A0 =A0open
 >>Class: =A0 =A0 =A0 =A0 =A0sw-bug
 >>Submitter-Id: =A0 net
 >>Arrival-Date: =A0 Fri Jun 29 19:40:00 +0000 2012
 >>Originator: =A0 =A0 I'Khala X
 >>Release: =A0 =A0 =A0 =A06.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 =A0=
 4 11:43:47 EDT 2012 =A0toor%ronin.nubiscilabs.net@localhost:/usr/obj/sys/arch/amd64/c=
 ompile/RONIN amd64
 >
 >>Description:
 > I've been having issues with the new man pages for a few weeks now. =A0I =
 submitted a pr about apropos, but the real issue seems to be with makemandb=
 . =A0It 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 =A0/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 d=
 irectory
 > 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_n=
 ocopy.3
 > makemandb: Error in indexing /usr/share/man/man3/prop_dictionary_get_cstr=
 ing_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