Ok tried that, I still get a seg fault, however the backtrace looks like it might
be more useful:

(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;


Appears its trying to free something that it shouldn't as the bottom frame is at:
delete node->object;

    --- Alex

Gilles Detillieux wrote:

> According to Alexander Cohen:
> >     I'm still unable to get a version of htdig newer than 3.1.5 to work
> > under digital under digital unix. Currently I can successfully configure
> > and compile and install htdig. However if I do a rundig it will die
> > quite quickly in htdig with a Segmentation fault. If i compile it with
> > symbols and try to run it via gdb I get a not very informative errors
> > of:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x3ff8019ddc8 in valloc () from /usr/shlib/libc.so
> >
> > while a bt just gives me:
> >
> > #0  0x3ff8019ddc8 in valloc () from /usr/shlib/libc.so
> > #1  0x3ff800d5984 in malloc () from /usr/shlib/libc.so
> >
> > htdig doesn't like the libc on this system? Anyway doe anyone have a
> > better clue than that about whats going on here?
>
> Just a hunch, but did you try configuring with the --disable-shared
> option to see if that makes a difference?  I know that on some other
> systems, users get SIGFPEs on initialization when using shared libraries,
> so maybe this is a similar situation.  Please let us know either way
> whether this works.
>
> --
> 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-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to