Re: [htdig] serious htdig 3.1.5 problems


Subject: Re: [htdig] serious htdig 3.1.5 problems
From: Tim Rightnour (root@garbled.net)
Date: Thu Mar 02 2000 - 12:44:43 PST


On 02-Mar-00 Geoff Hutchison wrote:
> It looks like somehow it's hitting a memory wall--it tried to
> allocate some memory for this and it couldn't. How early did this
> happen in a run? Is this now a consistent thing? Is there any chance
> that you've run out of RAM?

Well.. it's really impossible to know how early it happened.. but I would guess
it happened about halfway through.

But I have no idea how you could be segfualting just because a malloc failed..
unless you just missed a check somewhere.. ;) I suppose it is possible I ran
out of ram for this user process.. I'll have to look at that possibility.. In
the meantime I'm running it again, to see if I can get the db problem to show
up again.

Sigh.. now it just cores out all the time..

(gdb) bt
#0 0x4015e068 in _GLOBAL_OFFSET_TABLE_ ()
#1 0x4015001f in __errno ()
#2 0x4014dd8a in malloc ()
#3 0x6042f in __builtin_new ()
#4 0x1e0af in WordList::Word (this=0x1c4140, word=0x806e7e0 "littleendian",
    location=0, anchor_number=0, weight_factor=150) at WordList.cc:78
#5 0x1d4f4 in DocumentRef::AddDescription (this=0x1b5900,
    d=0x1b5800 "Re: am79900.c assumes little-endian processor?")
    at DocumentRef.cc:592
#6 0xee07 in Retriever::got_href (this=0xbfbfd814, url=@0x1be900,
    description=0x1b5800 "Re: am79900.c assumes little-endian processor?")
    at Retriever.cc:1203
#7 0x667e in HTML::do_tag (this=0x9d600, retriever=@0xbfbfd814, tag=@0x9d668)
    at HTML.cc:622
#8 0x5979 in HTML::parse (this=0x9d600, retriever=@0xbfbfd814,
    baseURL=@0xc5700) at HTML.cc:315
#9 0xc15d in Retriever::RetrievedDocument (this=0xbfbfd814, doc=@0xc5680,
    ref=0x1b5b00) at Retriever.cc:574
#10 0xbd6b in Retriever::parse_url (this=0xbfbfd814, urlRef=@0x2a6e00)
    at Retriever.cc:472
#11 0xb465 in Retriever::Start (this=0xbfbfd814) at Retriever.cc:292
#12 0x13392 in main (ac=1, av=0xbfbfda90) at htdig.cc:254

---
Tim Rightnour <root@garbled.net>
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 htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Mar 02 2000 - 12:49:42 PST