#6 Segfault in HtRegexList

cannot reproduce
closed-works-for-me
htdig (103)
9
2002-01-26
2001-03-01
Geoff Hutchison
No

As reported by Alexander Cohen:

<http://www.geocrawler.com/mail/thread.php3?subject=%5Bhtdig-dev%5D+htdig+3.2.0b3+Under+OSF%2F1&list=8825>

This is *not* fixed by disabling list rearrangement.
(Not surprising since I tested that code carefully) and
needs to be reproduced.

(gdb) bt
#0 0x1200950f0 in List::Destroy
(this=0x11fffe858) at List.cc:82
#1 0x120094fd8 in List::~List (this=0x11fffe858,
__in_chrg=2) at List.cc:48
#2 0x120099a28 in HtRegexList::~HtRegexList
(this=0x11fffe858, __in_chrg=2) at
HtRegexList.cc:38
#3 0x12003bd78 in Retriever::IsValidURL
(this=0x11ffff200, u=@0x141003c40) at
Retriever.cc:990
#4 0x12003e510 in Retriever::got_href
(this=0x11ffff200, url=@0x141003c40,
description=0x1400698dd "", hops=1) at
Retriever.cc:1423
#5 0x120034878 in HTML::do_tag (this=0x140fcdd00,
retriever=@0x11ffff200,
tag=@0x140fcdda0) at HTML.cc:552
#6 0x120033668 in HTML::parse (this=0x140fcdd00,
retriever=@0x11ffff200,
baseURL=@0x1) at HTML.cc:324
#7 0x12003ae44 in Retriever::RetrievedDocument
(this=0x11ffff200,
doc=@0x1402ecd00, url=@0x1, ref=0x140f89280) at
Retriever.cc:802
#8 0x12003a580 in Retriever::parse_url
(this=0x11ffff200, urlRef=@0x0) at
Retriever.cc:647
#9 0x120039778 in Retriever::Start
(this=0x11ffff200) at Retriever.cc:423
#10 0x1200457a0 in main (ac=1, av=0x11ffffa48) at
htdig.cc:317

(gdb) frame 0
#0 0x1200950f0 in List::Destroy
(this=0x11fffe858) at List.cc:82
82 delete node->object;

Discussion

  • Logged In: YES
    user_id=21420

    Commented out potential problem section--HtRegexList now
    does not do list rearrangement. Need to find out if this
    fixes the problem or not. I still cannot reproduce it.

     
    • milestone: --> 103281
     
    • milestone: 103281 --> cannot reproduce
    • status: open --> closed-works-for-me