Re: [htdig] serious htdig 3.1.5 problems

Subject: Re: [htdig] serious htdig 3.1.5 problems
From: Tim Rightnour (
Date: Wed Mar 01 2000 - 22:56:37 PST

On 02-Mar-00 Geoff Hutchison wrote:
> You're indexing from scratch? Did this come early or late in the
> indexing? This section of code should be called right at the
> beginning and only when there's already a database.

No.. You're right.. I ran it on the old partial database.. so I rm'ed db/* and
got this..

The data in #6 looks extremely hosed.. This is not the problem I was seeing
earlier.. once again.. I've left it in gdb for you.

Breakpoint 1 at 0x2384f: file, line 393.
(gdb) run
Starting program: /u2/util/nbsdwww/htdig/bin/htdig

Program received signal SIGSEGV, Segmentation fault.
0x4015e068 in _GLOBAL_OFFSET_TABLE_ ()
(gdb) bt
#0 0x4015e068 in _GLOBAL_OFFSET_TABLE_ ()
#1 0x4015001f in __errno ()
#2 0x4014dd8a in malloc ()
#3 0x6042f in __builtin_new ()
#4 0x60095 in __builtin_vec_new ()
#5 0x26de2 in String::allocate_fix_space (this=0xbfbfd32c, len=48)
#6 0x26e55 in String::copy (this=0xbfbfd32c,
 len=48, allocation_hint=48) at
#7 0x26290 in String::String (this=0xbfbfd32c, s=@0xbfbfd26c) at
#8 0x30c36 in HtWordCodec::code (this=0x870e0, orig_string=@0xbfbfd31c,
    match=@0x8c000, replacements=@0x872e0) at
#9 0x30cb6 in HtWordCodec::encode (this=0x870e0, orig=@0xbfbfd31c)
#10 0x18e3e in DocumentDB::operator[] (this=0x7580c,
    u=0x7a70180 "")
    at ../htlib/HtURLCodec.h:26
#11 0xed2c in Retriever::got_href (this=0xbfbfd814, url=@0x1be900,
    description=0x9d500 "ICMP_UNREACH_ADMIN_PROHIBIT") at
#12 0x667e in HTML::do_tag (this=0x9d600, retriever=@0xbfbfd814, tag=@0x9d668)
#13 0x5979 in HTML::parse (this=0x9d600, retriever=@0xbfbfd814,
    baseURL=@0xc5700) at
#14 0xc15d in Retriever::RetrievedDocument (this=0xbfbfd814, doc=@0xc5680,
    ref=0x1b5800) at
#15 0xbd6b in Retriever::parse_url (this=0xbfbfd814, urlRef=@0x2a6d40)
#16 0xb465 in Retriever::Start (this=0xbfbfd814) at
#17 0x13392 in main (ac=1, av=0xbfbfda90) at

Tim Rightnour <>
NetBSD: Free multi-architecture OS
NetBSD Mailing lists on the web:

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Wed Mar 01 2000 - 23:02:01 PST