(Sorry for sending such a long message to the list, but I don't think I should send it 
directly to Geoff.)

The only warnings I get when compiling (without optimization, this time) are these:

        HtHTTP.cc: In function `static bool HtHTTP::isParsable(const char *)':
        HtHTTP.cc:827: warning: choosing `String::operator char *()' over 
`String::operator const char *() const'
        HtHTTP.cc:827: warning:   for conversion from `String' to `const char *'
        HtHTTP.cc:827: warning:   because conversion sequence for the argument is 
better

And they repeat in the following sources and lines:
        Synonym.cc:84
        Server.cc:51 52 54 56 57 61 74 77 80
        Display.cc:626 628

But I read in the list that you (or Gilles, I'm not sure) told someone not to worry 
about them.

The full backtrace (wiht no optimization, stopping at the same point) looks like this:

---------------------------------8<-------------------------------------------
#0  0x1003c77c in List::Destroy (this=0x2ff20470) at List.cc:81
        node = (listnode *) 0x218c1358
#1  0x1003c600 in List::~List (this=0x2ff20470, __in_chrg=2) at List.cc:47
No locals.
#2  0x1006539c in StringList::~StringList (this=0x2ff20470, __in_chrg=2)
    at ../htlib/StringList.h:161
No locals.
#3  0x1005d5f0 in Retriever::IsValidURL (this=0x2ff22210, u=@0x21741148)
    at Retriever.cc:913
        config = (HtConfiguration *) 0x200486d8
        invalids = {<Object> = {_vptr. = 0x20001928}, table = 0x2182a678, 
  tableLength = 101, initialCapacity = 1, count = 25, threshold = 1010, 
  loadFactor = 10, cursor = {currentTableIndex = 804389848, 
    currentDictionaryEntry = 0xd0196334}}
        valids = {<Object> = {_vptr. = 0x20001928}, table = 0x218c0838, 
  tableLength = 101, initialCapacity = 804391744, count = 0, threshold = 1010, 
  loadFactor = 10, cursor = {currentTableIndex = 804389848, 
    currentDictionaryEntry = 0x216d9d58}}
        aUrl = {_url = {<Object> = {_vptr. = 0x20000bb0}, Length = 28, 
    Allocated = 32, Data = 0x218c0a28 "http://www.xxxx.es/frame1.htm"}, 
  _path = {<Object> = {_vptr. = 0x20000bb0}, Length = 11, Allocated = 16, 
    Data = 0x218c0a08 "/frame1.htm"}, _service = {<Object> = {
      _vptr. = 0x20000bb0}, Length = 4, Allocated = 5, 
    Data = 0x21741798 "http"}, _host = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 10, Allocated = 11, Data = 0x2182a818 "www.xxxx.es"}, _port = 80, 
  _normal = 0, _hopcount = 0, _signature = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 0, Allocated = 4, Data = 0x2182a5f8 "!\202�\020"}, 
  _user = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, Allocated = 4, 
    Data = 0x2182a608 ""}}
        tmpList = {<List> = {<Object> = {_vptr. = 0x20001538}, 
    head = 0x21eef930, tail = 0x218c1218, cursor = {current = 0x0, 
      prev = 0x218c1088, current_index = -1}, number = 7}, <No data fields>}
        t = {<Object> = {_vptr. = 0x20000e60}, Length = 0, Allocated = 125, 
  Data = 0x218c0b68 "!\214\017�"}
        lowerp = {<Object> = {_vptr. = 0x20000e60}, Length = 4, Allocated = 7, 
  Data = 0x21741678 ""}
        p = 0x0
        url = {<Object> = {_vptr. = 0x20000bb0}, Length = 28, Allocated = 32, 
  Data = 0x218c0f58 "http://www.xxxx.es/frame1.htm"}
        excludes = {<List> = {<Object> = {_vptr. = 0x200015c0}, head = 0x0, 
    tail = 0x0, cursor = {current = 0x0, prev = 0x0, current_index = -1}, 
    number = 0}, compiled = 0, lastErrorMessage = {<Object> = {
      _vptr. = 0x20000e60}, Length = 0, Allocated = 0, Data = 0x0}}
        badquerystr = {<List> = {<Object> = {_vptr. = 0xd0196464}, 
    head = 0xf00439a4, tail = 0x21740b94, cursor = {current = 0x2ff20580, 
      prev = 0x216d9d58, current_index = -559038737}, number = 32}, 
  compiled = 536875816, lastErrorMessage = {<Object> = {_vptr. = 0x2ff205d0}, 
    Length = 804390536, Allocated = 268570048, 
    Data = 0xf00043e0 "�\005�R�����\005�0�\006\0160"}}
        ext = 0x0
        lowerext = {<Object> = {_vptr. = 0x20000e60}, Length = 14, 
  Allocated = 15, Data = 0x218c0fa8 "!\214\020@"}
        testURL = {_url = {<Object> = {_vptr. = 0x2ff20608}, 
    Length = 536875816, Allocated = 268570160, Data = 0x20026b50 ""}, 
  _path = {<Object> = {_vptr. = 0x10026fb0}, Length = 1, Allocated = 0, 
    Data = 0x20026b50 ""}, _service = {<Object> = {_vptr. = 0x0}, 
    Length = 561254728, Allocated = 536875276, Data = 0x0}, 
  _host = {<Object> = {_vptr. = 0x2ff20638}, Length = 0, 
    Allocated = 804390480, Data = 0x0}, _port = 268570780, 
  _normal = 537029456, _hopcount = 268617644, _signature = {<Object> = {
      _vptr. = 0x2ff20620}, Length = 804390536, Allocated = 1210196034, 
    Data = 0x2ff20648 "����/�\006\210/�\006\210"}, _user = {<Object> = {
      _vptr. = 0x2002d304}, Length = -6, Allocated = 804390456, 
    Data = 0x2ff20688 "/�\t\020!t\016�\020\006*�!t\016\217/�+l"}}
        server = (Server *) 0x2ff20688
#4  0x10062ac4 in Retriever::got_href (this=0x2ff22210, url=@0x21741148, 
    description=0x1018cbb8 "", hops=0) at Retriever.cc:1431
        ref = (DocumentRef *) 0x0
        server = (Server *) 0x0
#5  0x1000b7bc in HTML::do_tag (this=0x216d9d58, retriever=@0x2ff22210, 
    tag=@0x216d9dc0) at HTML.cc:845
        wordindex = 1
        position = 0x217411d8 "frame src=\"frame1.htm\" name=\"frame1\" 
bordercolor=\"#FBEAA4\" frameborder=\"no\" noresize scrolling=\"No\" 
marginheight=\"0\" marginwidth=\"3\""
        which = 21
        length = 5
        config = (HtConfiguration *) 0x200486d8
        attrs = {<Configuration> = {<Object> = {_vptr. = 0x20001b28}, 
    dcGlobalVars = {<Object> = {_vptr. = 0x20001928}, table = 0x217412e8, 
      tableLength = 101, initialCapacity = 0, count = 9, threshold = 1010, 
      loadFactor = 10, cursor = {currentTableIndex = 0, 
        currentDictionaryEntry = 0x0}}, separators = {<Object> = {
        _vptr. = 0x20000bb0}, Length = 1, Allocated = 4, 
      Data = 0x2004afd8 "="}, allow_multiple = 0}, dcBlocks = {<Object> = {
      _vptr. = 0x20001928}, table = 0x21741488, tableLength = 101, 
    initialCapacity = 0, count = 0, threshold = 1010, loadFactor = 10, 
    cursor = {currentTableIndex = 0, currentDictionaryEntry = 0x0}}, 
  dcUrls = {<Object> = {_vptr. = 0x20001928}, table = 0x2182a2a8, 
    tableLength = 101, initialCapacity = 0, count = 0, threshold = 1010, 
    loadFactor = 10, cursor = {currentTableIndex = 0, 
      currentDictionaryEntry = 0x0}}, FileName = {<Object> = {
      _vptr. = 0x20000bb0}, Length = 0, Allocated = 0, Data = 0x0}, 
  static _config = 0x200486d8}
#6  0x1000611c in HTML::parse (this=0x216d9d58, retriever=@0x2ff22210, 
    baseURL=@0x216d6de8) at HTML.cc:333
        config = (HtConfiguration *) 0x200486d8
        wordindex = 6
        in_space = 1
        in_punct = 0
        scratch = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, 
  Allocated = 0, Data = 0x0}
        textified = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, 
  Allocated = 0, Data = 0x0}
        q = (
    unsigned char *) 0x21740da4 ">\r\n  <frame src=\"frame2.htm\" name=\"frame2\"  
bordercolor=\"#FBEAA4\" frameborder=\"no\" noresize 
scrolling=\"AUTO\">\r\n</frameset>\r\n<noframes><body bgcolor=\"#FFFFFF\">\r\n<P>Si su 
navegador no tiene la capacidad"...
        start = (
    unsigned char *) 0x21740ba8 "<html>\r\n<head>\r\n<title>XXXX WEB</title>\r\n<meta 
http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n<meta  
name=\"Keywords\" content=\"XXXXX XXXXX XXXXX"...
        position = (
    unsigned char *) 0x21740d20 "frame src=\"frame1.htm\" name=\"frame1\" 
bordercolor=\"#FBEAA4\" frameborder=\"no\" noresize scrolling=\"No\" 
marginheight=\"0\" marginwidth=\"3\">\r\n  <frame src=\"frame2.htm\" name=\"frame2\"  
bordercolor=\"#FBEAA4\" fr"...
        text = (
    unsigned char *) 0x21740ba8 "<html>\r\n<head>\r\n<title>XXXXX WEB</title>\r\n<meta 
http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n<meta  
name=\"Keywords\" content=\"XXXXX XXXXX XXXXX"...
        ptext = (unsigned char *) 0x21740ee8 ""
        skip_start = {<Object> = {_vptr. = 0x20000bb0}, Length = 20, 
  Allocated = 21, Data = 0x216da2f8 "<!--htdig_noindex-->"}
        skip_end = {<Object> = {_vptr. = 0x20000bb0}, Length = 21, 
  Allocated = 22, Data = 0x2173a6c8 "<!--/htdig_noindex-->ds"}
#7  0x1005cc5c in Retriever::RetrievedDocument (this=0x2ff22210, 
    doc=@0x20ed0f38, url=@0x2ff21ad8, ref=0x216d6cf8) at Retriever.cc:812
        parsable = (Parsable *) 0x216d9d58
#8  0x1005c158 in Retriever::parse_url (this=0x2ff22210, urlRef=@0x216d4a38)
    at Retriever.cc:657
        config = (HtConfiguration *) 0x200486d8
        url = {_url = {<Object> = {_vptr. = 0x20000bb0}, Length = 18, 
    Allocated = 32, Data = 0x216d1098 "http://www.xxxx.es/"}, 
  _path = {<Object> = {_vptr. = 0x20000bb0}, Length = 1, Allocated = 4, 
    Data = 0x2004b288 "/"}, _service = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 4, Allocated = 5, Data = 0x2004b5a8 "http"}, _host = {<Object> = {
      _vptr. = 0x20000bb0}, Length = 10, Allocated = 11, 
    Data = 0x216d0fe8 "www.xxxx.es"}, _port = 80, _normal = 1, _hopcount = 0, 
  _signature = {<Object> = {_vptr. = 0x20000bb0}, Length = 21, Allocated = 32, 
    Data = 0x216d6ee8 "http://www.xxxx.es:80/"}, _user = {<Object> = {
      _vptr. = 0x20000bb0}, Length = 0, Allocated = 4, 
    Data = 0x2004e0d8 " \005> "}}
        ref = (DocumentRef *) 0x216d6cf8
        old_document = 0
        date = 0
        index = 1
        local_urls_only = 0
        server = (Server *) 0x216d4938
        status = Document_ok
        local_filenames = (StringList *) 0x0
        shash = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, Allocated = 0, 
  Data = 0x0}
        sx = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, Allocated = 0, 
  Data = 0x0}
        bhash = "\000\000\000\000�\0049�\000\000\000\n \000\021\f"
        ddate = 804396064
#9  0x1005add8 in Retriever::Start (this=0x2ff22210) at Retriever.cc:431
        count = 1
        max_connection_requests = 1
        more = 1
        server = (Server *) 0x216d4938
        ref = (URLRef *) 0x216d4a38
        config = (HtConfiguration *) 0x200486d8
#10 0x100027dc in main (ac=4, av=0x2ff22b58) at htdig.cc:338
        c = -1
        credentials = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, 
  Allocated = 0, Data = 0x0}
        initial = 0
        alt_work_area = 0
        create_text_database = 0
        max_hops = 0x0
        _cookie_jar = (HtCookieJar *) 0x200484e8
        config = (HtConfiguration *) 0x200486d8
        url_part_errors = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, 
  Allocated = 0, Data = 0x0}
        url_rewrite_rules = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, 
  Allocated = 0, Data = 0x0}
        l = {<List> = {<Object> = {_vptr. = 0x20023e60}, head = 0x0, 
    tail = 0x0, cursor = {current = 0x0, prev = 0x0, current_index = -1}, 
    number = 0}, <No data fields>}
        filename = {<Object> = {_vptr. = 0x20000bb0}, Length = 32, 
  Allocated = 33, Data = 0x2004c8a8 "/var/opt/www/var/htdig2/db.docdb"}
        index_filename = {<Object> = {_vptr. = 0x20000bb0}, Length = 37, 
  Allocated = 38, Data = 0x2004d248 "/var/opt/www/var/htdig2/db.docs.index"}
        head_filename = {<Object> = {_vptr. = 0x20000bb0}, Length = 35, 
  Allocated = 36, Data = 0x2004d3a8 "/var/opt/www/var/htdig2/db.excerpts"}
        word_filename = {<Object> = {_vptr. = 0x20000bb0}, Length = 35, 
  Allocated = 36, Data = 0x20281e88 "/var/opt/www/var/htdig2/db.words.db"}
        retriever = {visited = {<Object> = {_vptr. = 0x20001928}, 
    table = 0x20ed0778, tableLength = 101, initialCapacity = 1600611694, 
    count = 1, threshold = 1010, loadFactor = 10, cursor = {
      currentTableIndex = 1701732706, currentDictionaryEntry = 0x6c65706c}}, 
  base = 0x216d6de8, current_title = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 23, Allocated = 24, Data = 0x216da2d8 "XXXX WEB"}, 
  current_head = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, Allocated = 0, 
    Data = 0x0}, current_meta_dsc = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 31, Allocated = 32, 
    Data = 0x217418c8 "XXXX Web"}, 
  current_time = 0, current_id = 2, current_ref = 0x216d6cf8, 
  current_anchor_number = 1684698483, trackWords = 1, n_links = 1, 
  credentials = {<Object> = {_vptr. = 0x20000bb0}, Length = 0, Allocated = 0, 
    Data = 0x0}, word_context = {<WordReference> = {<Object> = {
        _vptr. = 0x20021d98}, key = {setbits = 2, 
        numerical_fields = 0x20282408, kword = {<Object> = {
            _vptr. = 0x20000bb0}, Length = 0, Allocated = 0, Data = 0x0}}, 
      record = {type = 1 '\001', info = {data = 0, stats = {noccurrence = 0, 
            ndoc = 0}}}}, <No data fields>}, words = {<WordList> = {wtype = {
        valid_punctuation = {<Object> = {_vptr. = 0x20000bb0}, Length = 10, 
          Allocated = 16, Data = 0x20ed0ab8 ".-_/!#%^&'ers"}, 
        extra_word_characters = {<Object> = {_vptr. = 0x20000bb0}, 
          Length = 52, Allocated = 64, 
          Data = 0x20ed0b18 
"������������������������������������������������������������������������ �"}, 
other_chars_in_word = {<Object> = {
            _vptr. = 0x20000bb0}, Length = 62, Allocated = 64, 
          Data = 0x20ed0c28 
"����������������������������������������������������.-_/!#%^&'"}, 
        chrtypes = "\000", '\020' <repeats 31 times>, 
"\000\b\000\b\000\b\b\b\000\000\000\000\000\b\b\b\002\002\002\002\002\002\002\002\002\002\000\000\000\000\000\000\000",
 '\001' <repeats 26 times>, "\000\000\000\b\b\000", '\001' <repeats 26 times>, 
"\000\000\000\000", '\020' <repeats 33 times>, 
"\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\001\000\000\000\000\000\005\005\005\005\005\005\001\005\005\005\005\005\005\005\005\005\001\005\005\005\005\005\005\000\001\005\005\005\005\005\001\001\005\005\005\005\005\005\001\005\005\005\005\005\005\005\005\005\001\005\005\005\005\005\005\000\001\005\005\005\005\005\001\001",
 minimum_length = 2, 
        maximum_length = 32, allow_numbers = 0, badwords = {<Object> = {
            _vptr. = 0x20001928}, table = 0x20ed0918, tableLength = 101, 
          initialCapacity = 1919251055, count = 0, threshold = 1010, 
          loadFactor = 10, cursor = {currentTableIndex = 1767859048, 
            currentDictionaryEntry = 0x65636b5f}}, 
        static instance = 0x20281eb8, _vptr. = 0x200018d0}, 
      config = @0x200486d8, isopen = 0, isread = 0, extended = 0, db = {
        is_open = 0, db = 0x20ed0c78, dbenv = 0x202824e8}, compressor = 0x0, 
      verbose = 0, _vptr. = 0x20001ce8}, words = 0x20ed0bc8}, 
  check_unique_md5 = 0, check_unique_date = 0, log = Retriever_logUrl, 
  factor = {0, 2, 4, 4, 4, 4, 4, 4, 0, 8, 16}, currenthopcount = 0, 
  max_hop_count = 999999, servers = {<Object> = {_vptr. = 0x20001928}, 
    table = 0x20ed0d98, tableLength = 101, initialCapacity = 1600940403, 
    count = 1, threshold = 1010, loadFactor = 10, cursor = {
      currentTableIndex = 40, currentDictionaryEntry = 0x216d1078}}, 
  doc = 0x20ed0f38, d_md5 = 0x0, notFound = {<Object> = {_vptr. = 0x20000bb0}, 
    Length = 0, Allocated = 0, Data = 0x0}, minimumWordLength = 2, 
  _vptr. = 0x20001cc8}
#11 0x100001dc in __start ()
No symbol table info available.

---------------------------------8<-------------------------------------------

Thanks for just getting here :)

    Angel Luis P�rez Hern�ndez     
    Centro de Competencia Arquitectura Avanzadas 




> -----Mensaje original-----
> De: Geoff Hutchison [mailto:[EMAIL PROTECTED]] 
> Enviado el: viernes, 04 de octubre de 2002 6:36
> Para: P�rez Hern�ndez, Angel luis
> CC: [EMAIL PROTECTED]
> Asunto: Re: [htdig] Problem htdig 3.2b4 and AIX 4.3.3
> 
> 
> 
> On Thursday, October 3, 2002, at 08:08  AM, P�rez Hern�ndez, 
> Angel luis 
> wrote:
> 
> > (core dump). I have tried compiling with GCC 2.95, 3.0 and 3.2 and
> > sometimes it gets
> 
> Do any of these seem to give error messages or warnings during 
> compilation?
> 
> > Has anybody compiled and run 3.2 on this platform?
> 
> Probably not recently.
> 
> > The error in gdb looks like this now:
> >
> > Program terminated with signal 11, Segmentation fault.
> > #0  0x1002d9e8 in List::Destroy (this=0x2ff21be8) at List.cc:81
> 
> If you do a full backtrace "bt" in GDB, what do you see? Have 
> you tried 
> compiling and running with no optimization?
> 
> make clean; make CFLAGS="-g" CXXFLAGS="-g"
> 
> Unfortunately, with optimization turned on, debugging is difficult at 
> best, since line numbers may be incorrect.
> 
> --
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to