[aseek-users] RH 8.0 issues

From: Andrej Filipcic (no email)
Date: Thu Dec 26 2002 - 19:17:32 EST


Hi,

I have problems with aspseek on RedHat 8.0. There are several issues.
First, autoconf+autmake does not work for aspseek cvs version. This is not
a major problem, since it compiles well if configure is generated on RH
7.3.

There are however two major problems, First with gcc 3.2 or 3.2.1. The
code on line parse.cpp:299
   while (*p) *p++ = tolower(*p);
results in "http" -> "ttp". The first character is skipped. This is the
reason for "Invalid URL" message for "Server ..." config directive.
Is this a gcc optimization bug or something else?
I have replaced that line with
  while(*p) {
     *p=tolower(*p);
     p++;
  }

The other problem is with glibc 2.3 and threads. If I run "index -N 2",
the program aborts with
-----------
Loading configuration from /usr/aspseek/etc/aspseek.conf
( 1 1 2 924 0 0 0 1) Adding URL: http://www.win-ini.si/robots.txt
( 0 2 2 924 0 0 0 1) Adding URL: http://validator.w3.org/robots.txt
Address of param: bf7f5340
Read pipe in resolver process 32732 is broken, exiting
Segmentation fault
-----------

The error is the same if I run native 8.0 compiled cvs index or 7.3
compiled index from 1.2.10. If I copy "/lib" from 7.3 to "/tmplib" on 8.0
and I run
"/tmplib/ld-linux.so.2 --library-path /tmplib index -N 2"
it works OK. In summary, glibc 2.2.5 on RH 8.0 works fine with threads.

BTW, how can I use "Address of param" to debug the code? gdb was not too
helpful.

Best regards,

Andrej

-- 
_____________________________________________________________
   doc. dr. Andrej Filipcic,   E-mail: 
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-1-477-3674    Fax: +386-1-425-7074
-------------------------------------------------------------







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD