[htdig] 3.1.0 dumps core


Antti Rauramo (antti.rauramo@edita.fi)
Wed, 10 Feb 1999 13:09:56 +0200


Ookay, what gives...

htdig crashes on a certain document
(http://www.edita.fi/oph-tuotantoa/vopas/osa1.html), and dumps core. Gdb
says:

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for
details.
GDB 4.16 (sparc-sun-solaris2.5),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `3.1.0/htdig -i -v -a -s -c ../conf/oph.conf'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/locale/iso_8859_1/iso_8859_1.so.1...done.
Reading symbols from /usr/lib/locale/sv/sv.so.1...done.
#0 0x31e28 in DocumentRef::Deserialize (this=0x1816f0,
stream=@0x16725d)
    at DocumentRef.cc:475
475 getnum(x, s, docSize);
(gdb) bt
#0 0x31e28 in DocumentRef::Deserialize (this=0x1816f0,
stream=@0x16725d)
    at DocumentRef.cc:475
#1 0x30118 in DocumentDB::operator[] (this=0x1816f0, u=0xeffff620 "")
    at DocumentDB.cc:149
#2 0x2ab8c in Retriever::got_href (this=0xeffffa70, url=@0x141e90,
    description=0x143ca8 "Yliopistojen valintaopas") at Retriever.cc:962

#3 0x26858 in HTML::do_tag (this=0x13f530, retriever=@0xeffffa70,
    tag=@0x14be29) at HTML.cc:929
#4 0x252c4 in HTML::parse (this=0x13f530, retriever=@0xeffffa70,
    baseURL=@0x1f8f) at HTML.cc:248
#5 0x299a0 in Retriever::RetrievedDocument (this=0xeffffa70,
doc=@0xfa6e8,
    ref=0x15c6a8) at Retriever.cc:556
#6 0x2956c in Retriever::parse_url (this=0xeffffa70, urlRef=@0x14f2a8)
    at Retriever.cc:458
#7 0x28fb0 in Retriever::Start (this=0xeffffa70) at Retriever.cc:288
#8 0x2d448 in main (ac=7, av=0xeffffc84) at main.cc:245
(gdb)

As you can see, it's a Solaris 2.5. Gcc is 2.8.1. Htdig 3.1.0b4 is still
working fine.

I configured & compiled the 3.1.0, used the existing conf-files, and
this is the result.

--
- Antti Rauramo, WWW- ja tietokanta-asiantuntija, Edita Verkkoviestintä
- antti.rauramo@edita.fi, +358-9-8501 4004 (mobile)

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed Feb 10 1999 - 17:09:06 PST