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 DB2_db.cc, 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)
at String.cc:587
#6 0x26e55 in String::copy (this=0xbfbfd32c,
s=0x802a100
"\amail-index.netbsd.org/tech-net/1998/01/29/0000\f/0000.html\fK\001\025faces.",
len=48, allocation_hint=48) at String.cc:613
#7 0x26290 in String::String (this=0xbfbfd32c, s=@0xbfbfd26c) at String.cc:67
#8 0x30c36 in HtWordCodec::code (this=0x870e0, orig_string=@0xbfbfd31c,
match=@0x8c000, replacements=@0x872e0) at HtWordCodec.cc:402
#9 0x30cb6 in HtWordCodec::encode (this=0x870e0, orig=@0xbfbfd31c)
at HtWordCodec.cc:418
#10 0x18e3e in DocumentDB::operator[] (this=0x7580c,
u=0x7a70180 "http://mail-index.netbsd.org/tech-net/1998/01/29/0000.html")
at ../htlib/HtURLCodec.h:26
#11 0xed2c in Retriever::got_href (this=0xbfbfd814, url=@0x1be900,
description=0x9d500 "ICMP_UNREACH_ADMIN_PROHIBIT") at Retriever.cc:1185
#12 0x667e in HTML::do_tag (this=0x9d600, retriever=@0xbfbfd814, tag=@0x9d668)
at HTML.cc:622
#13 0x5979 in HTML::parse (this=0x9d600, retriever=@0xbfbfd814,
baseURL=@0xc5700) at HTML.cc:315
#14 0xc15d in Retriever::RetrievedDocument (this=0xbfbfd814, doc=@0xc5680,
ref=0x1b5800) at Retriever.cc:574
#15 0xbd6b in Retriever::parse_url (this=0xbfbfd814, urlRef=@0x2a6d40)
at Retriever.cc:472
#16 0xb465 in Retriever::Start (this=0xbfbfd814) at Retriever.cc:292
#17 0x13392 in main (ac=1, av=0xbfbfda90) at htdig.cc:254
(gdb)
---
Tim Rightnour <[EMAIL PROTECTED]>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
NetBSD Mailing lists on the web: http://mail-index.netbsd.org/
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.