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



The following reply was made to PR bin/46637; it has been noted by GNATS.

From: "I'Khala X" <nubisci%gmail.com@localhost>
To: Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
        port-ia64-maintainer%netbsd.org@localhost
Subject: Re: bin/46637: makemandb fails with segmentation fault
Date: Sat, 30 Jun 2012 19:08:33 -0400

 --14dae9d7171ad36b8f04c3b8a4a6
 Content-Type: text/plain; charset=ISO-8859-1
 
 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
 >
 >
 
 --14dae9d7171ad36b8f04c3b8a4a6
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 Thanks Abhinav.<br>I&#39;ll perform the upgrade to 6.99.8 first and see how=
  it goes!!!<br><br>./i&#39;khala<br><br><br><div class=3D"gmail_quote">On S=
 at, Jun 30, 2012 at 2:30 AM, Abhinav Upadhyay <span dir=3D"ltr">&lt;<a href=
 =3D"mailto:er.abhinav.upadhyay%gmail.com@localhost"; 
target=3D"_blank">er.abhinav.upad=
 hyay%gmail.com@localhost</a>&gt;</span> wrote:<br>
 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
 x #ccc solid;padding-left:1ex">The following reply was made to PR bin/46637=
 ; it has been noted by GNATS.<br>
 <br>
 From: Abhinav Upadhyay &lt;<a 
href=3D"mailto:er.abhinav.upadhyay%gmail.com@localhost"=
 >er.abhinav.upadhyay%gmail.com@localhost</a>&gt;<br>
 To: <a 
href=3D"mailto:gnats-bugs%netbsd.org@localhost";>gnats-bugs%netbsd.org@localhost</a><br>
 Cc: <a 
href=3D"mailto:gnats-admin%netbsd.org@localhost";>gnats-admin%netbsd.org@localhost</a>,
 <=
 a 
href=3D"mailto:netbsd-bugs%netbsd.org@localhost";>netbsd-bugs%netbsd.org@localhost</a><br>
 Subject: Re: bin/46637: makemandb fails with segmentation fault<br>
 Date: Sat, 30 Jun 2012 11:55:48 +0530<br>
 <br>
 =A0On Sat, Jun 30, 2012 at 1:10 AM, =A0&lt;<a href=3D"mailto:nubisci@gmail.=
 com">nubisci%gmail.com@localhost</a>&gt; wrote:<br>
 =A0&gt;&gt;Number: =3DA0 =3DA0 =3DA0 =3DA0 46637<br>
 =A0&gt;&gt;Category: =3DA0 =3DA0 =3DA0 bin<br>
 =A0&gt;&gt;Synopsis: =3DA0 =3DA0 =3DA0 makemandb fails with segmentation fa=
 ult<br>
 =A0&gt;&gt;Confidential: =3DA0 no<br>
 =A0&gt;&gt;Severity: =3DA0 =3DA0 =3DA0 serious<br>
 =A0&gt;&gt;Priority: =3DA0 =3DA0 =3DA0 medium<br>
 =A0&gt;&gt;Responsible: =3DA0 =3DA0bin-bug-people<br>
 =A0&gt;&gt;State: =3DA0 =3DA0 =3DA0 =3DA0 =3DA0open<br>
 =A0&gt;&gt;Class: =3DA0 =3DA0 =3DA0 =3DA0 =3DA0sw-bug<br>
 =A0&gt;&gt;Submitter-Id: =3DA0 net<br>
 =A0&gt;&gt;Arrival-Date: =3DA0 Fri Jun 29 19:40:00 +0000 2012<br>
 =A0&gt;&gt;Originator: =3DA0 =3DA0 I&#39;Khala X<br>
 =A0&gt;&gt;Release: =3DA0 =3DA0 =3DA0 =3DA06.99.7<br>
 =A0&gt;&gt;Organization:<br>
 =A0&gt; LowTech Industries<br>
 =A0&gt;&gt;Environment:<br>
 =A0&gt; [ronin:g95]# uname -a<br>
 =A0&gt; NetBSD <a href=3D"http://ronin.nubiscilabs.net"; target=3D"_blank">r=
 onin.nubiscilabs.net</a> 6.99.7 NetBSD 6.99.7 (RONIN) #0: Mon Jun =3DA0=3D<=
 br>
 =A04 11:43:47 EDT 2012 
=3DA0toor%ronin.nubiscilabs.net@localhost:/usr/obj/sys/arch/am=
 d64/c=3D<br>
 =A0ompile/RONIN amd64<br>
 =A0&gt;<br>
 =A0&gt;&gt;Description:<br>
 =A0&gt; I&#39;ve been having issues with the new man pages for a few weeks =
 now. =3DA0I =3D<br>
 =A0submitted a pr about apropos, but the real issue seems to be with makema=
 ndb=3D<br>
 =A0. =3DA0It never completes and always fail with a &quot;segmentation faul=
 t&quot;.<br>
 =A0&gt;<br>
 =A0&gt;<br>
 =A0&gt;&gt;How-To-Repeat:<br>
 =A0&gt; Note the following output ...<br>
 =A0&gt; [ronin:/root]# ls /var/db/man*<br>
 =A0&gt; /var/db/man.db =3DA0/var/db/man.db-journal<br>
 =A0&gt; [ronin:/root]# rm -rf /var/db/man*<br>
 =A0&gt; [ronin:/root]# makemandb -f<br>
 =A0&gt; Building temporary file cache<br>
 =A0&gt; makemandb: stat failed: /usr/share/man/man1/acroread.1: No such fil=
 e or d=3D<br>
 =A0irectory<br>
 =A0&gt; makemandb: Error in indexing /usr/local/man/man1/vdcomp.1.gz<br>
 =A0&gt; makemandb: /usr/share/man/man2/lstat.2: Parse failure<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man2/lstat.2<br>
 =A0&gt; makemandb: /usr/share/man/man2/pathconf.2: Parse failure<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man2/pathconf.2<br>
 =A0&gt; makemandb: /usr/share/man/man2/setpriority.2: Parse failure<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man2/setpriority.2<br>
 =A0&gt; makemandb: /usr/share/man/man2/unmount.2: Parse failure<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man2/unmount.2<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man3/prop_array_get_cst=
 ring_n=3D<br>
 =A0ocopy.3<br>
 =A0&gt; makemandb: Error in indexing /usr/share/man/man3/prop_dictionary_ge=
 t_cstr=3D<br>
 =A0ing_nocopy.3<br>
 =A0&gt; Segmentation fault<br>
 =A0&gt;<br>
 =A0&gt;<br>
 =A0&gt;<br>
 =A0&gt;&gt;Fix:<br>
 =A0&gt; Unknown.<br>
 =A0&gt;<br>
 <br>
 =A0Are you having the current copies of the man pages ? Many of those man<b=
 r>
 =A0pages were fixed to let makemandb index them without any errors. I<br>
 =A0just upgraded my NetBSD installation to 6.99.8 and ran makemand, no<br>
 =A0problems here.<br>
 <br>
 =A0Also, use the -v flag for verbose output from makemandb when reporting<b=
 r>
 =A0a bug. It would help in identifying which page exactly caused the<br>
 =A0segfault. :-)<br>
 <br>
 =A0Thanks<br>
 <span class=3D"HOEnZb"><font color=3D"#888888">=A0Abhinav<br>
 <br>
 </font></span></blockquote></div><br>
 
 --14dae9d7171ad36b8f04c3b8a4a6--
 



Home | Main Index | Thread Index | Old Index