"Joe R. Jah" <[EMAIL PROTECTED]> writes:

> On 8 Jul 2002, Scott Gifford wrote:
> 
> > Date: 08 Jul 2002 04:08:00 -0500
> > From: Scott Gifford <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > Subject: [htdig-dev] Updated Patch for supporting multiple
>     noindex_start/noindex_end
> > 
> > My multiple noindex_start/noindex_end has been updated.  The old one
> > had some typos that I didn't notice, which caused crashes on some
> > systems.
> > 
> > You can get the new version at:
> > 
> >     http://www.suspectclass.com/~sgifford/htdig/htdig-3.1.6-multiple-noindex.patch
> 
> FYI, I applied the patch, but:

That looks like the sort of crash the newer version of this patch
should fix.  Look in the code and make sure that on the lines where
skip_start and skip_end are being set, the number are all typed in
correctly (subscripts to skip_start should go consecutively from to
10, and ditto for skip_end).  Otherwise, you've got the old version of
the patch; get a fresh copy of htdig and re-apply the latest version
of the patch.

If it still crashes, show me what lines you've got for noindex_* in
your configuration, and at the crash look at what i is when htdig
crashes, and what skip_start[i] and skip_end[i] are.

Good luck,

---ScottG.


> ---------------------------8<---------------------------
> gdb htdig htdig.core
> GNU gdb 
> This GDB was configured as "i386-unknown-bsdi4.3"...
> Core was generated by `htdig'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/lib/libz.so...done.
> Reading symbols from /usr/lib/libstdc++.so.1...done.
> Reading symbols from /shlib/libgcc.so.1...done.
> Reading symbols from /shlib/libc.so.2...done.
> Reading symbols from /shlib/ld-bsdi.so...done.
> #0  0x80585ce in HTML::parse (this=0x86a2200, retriever=@0x8047a80, 
>baseURL=@0x8224680)
>     at HTML.cc:186
> 186             skip_end_len[i] = strlen(skip_end[i]);
> (gdb) bt
> #0  0x80585ce in HTML::parse (this=0x86a2200, retriever=@0x8047a80, 
>baseURL=@0x8224680)
>     at HTML.cc:186
> #1  0x805cfa4 in Retriever::RetrievedDocument (this=0x8047a80, doc=@0x8224500, 
>ref=0x8692000)
>     at Retriever.cc:577
> #2  0x805cb29 in Retriever::parse_url (this=0x8047a80, urlRef=@0x81c8780) at 
>Retriever.cc:473
> #3  0x805c3c5 in Retriever::Start (this=0x8047a80) at Retriever.cc:292
> #4  0x80629e6 in main (ac=6, av=0x8047c7c) at htdig.cc:338
> #5  0x8055853 in __start ()
> (gdb) q
> ---------------------------8<---------------------------
> 
> Regards,
> 
> Joe
> -- 
>      _/   _/_/_/       _/              ____________    __o
>      _/   _/   _/      _/         ______________     _-\<,_
>  _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
>   _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to