Hi, Gilles:

Thanks for your prompt response.

1. I have followed the FAQ 5.14 instruction to recompile
htdig-3.2.0-1.b4.0.72 src RPM package with the HAVE_BROKEN_REGEX define to 1
and remove the htlib/regex.h, but the recompiled htdig -i -vvvvvv still gave
me seg. fault.

2. I am going to try htdig-3.2.0b4-010602 src.tgz and see how it works.

3. I will create a core file with gdb output for your reference if the 2nd
step still fails.

Thank you.

Jin
-----Original Message-----
From: Gilles Detillieux [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 3:17 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [htdig] htdig seg. fault after adding external_protocols
option.


According to Tsai, Jin:
> The htdig seg. fault after I added external_protocols option into
> /etc/htdig.conf
>  
> external_protocols:    https /usr/local/bin/handler.pl
>  
> when I ran htdig -i -vvv to begin to index an Intranet https web site,
htdig
> crashed and below is the output from htdig
> ht://dig Start Time: Thu Jan 10 14:31:42 2002
>            1:1:https://fhlx004-www.flhosp.org/
> New server: fhlx004-www.flhosp.org, 443
>  - Persistent connections: enabled
>  - Head before GET: disabled
>  - Timeout: 30
>  - Connection space: 0
>  - Max Documents: -1
>  - TCP retries: 1
>  - TCP wait time: 5
> Trying to retrieve robots.txt file
> Segmentation fault
>  
> I'd very appreciate if anyone can point me what is wrong and/or where to
> find a patch or solution for this htdig https external protocols issue.
> Thank you.
>  
> My testing box is running RedHat Linux v. 7.2 on i686 box.  The kernel is
> 2.4.9-13 and htdig is htdig-3.2.0-1.b4.0.72, which I download it from
RedHat
> Linux.

htdig-3.2.0-1.b4.0.72 is built from the Oct 21/2001 snapshot of 3.2.0b4,
which is fairly recent code.  It would appear likely you've run into a
bug in the ExternalTransport.cc code, which is fairly new and not heavily
tested.  Two things may be useful in helping us narrow down the problem:

1) Try getting more verbose output, e.g. -vvvvvv, to see if we can get more
details of what led to the segmentation fault.

2) It appears you didn't get a core dump, so try running htdig from gdb,
and after it fails, get a backtrace using gdb's "bt" command.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:
http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to