> Dmitriy Tarasov �����(�):
> >
> > Hi,
> > when I use more then one language in query (for ex. "web-������"), the
searchd is
> > died. Why ?
>
> Well, it should not.
>
> Try to debug it as described in this message:
>
> > start searchd, find its PID (by doing "ps ax | grep searchd")
> > and then connect to running searchd with gdb
> > $ gdb /usr/local/aspseek/sbin/searchd <pid>
> > then in gdb do
> > (gdb) continue
> > and run your query. searchd will fail, and then do
> > (gdb) bt
> > and send output to [EMAIL PROTECTED] BTW please don't exit
> > GDB, I may ask you for additional info.
---Cut---
[asp@3s sbin]$ ./searchd -D
Loading charset [cp1251] from table charsets/cp1251
Set localcharset to [cp1251]
Loading stop words from /usr/local/aspseek/etc/stopwords/english
Loading stop words from /usr/local/aspseek/etc/stopwords/russian
[asp@3s sbin]$
[asp@3s sbin]$ ps -ax | grep searchd
3299 ? S 0:00 ./searchd -D
3311 pts/0 S 0:00 grep searchd
[asp@3s sbin]$ gdb /usr/local/aspseek/sbin/searchd 3299
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-redhat-linux"...
/usr/local/aspseek/sbin/3299: No such file or directory.
Attaching to program: /usr/local/aspseek/sbin/searchd, process 3299
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libpthread.so.0...done.
[New Thread 1024 (LWP 3299)]
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/aspseek/lib/libmysqldb-1.2.4a.so...done.
Loaded symbols for /usr/local/aspseek/lib/libmysqldb-1.2.4a.so
Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done.
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x401960a2 in __libc_accept () from /lib/i686/libc.so.6
(gdb) continue
Continuing.
[New Thread 2049 (LWP 3582)]
Delayed SIGSTOP caught for LWP 3582.
[New Thread 1026 (LWP 3584)]
Delayed SIGSTOP caught for LWP 3584.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1026 (LWP 3584)]
0x001319d0 in ?? () at eval.c:41
41 eval.c: No such file or directory.
in eval.c
(gdb) bt
#0 0x001319d0 in ?? () at eval.c:41
#1 0x0806f3f7 in CScanner::scanToken (this=0x40a763cc) at scanner.cpp:375
#2 0x0806e7be in CGeneralParser::peekForType_ (this=0x40a763cc, t1=38)
at parser.cpp:34
#3 0x0805e557 in CQueryParser::Word (this=0x40a763cc) at qparser.cpp:598
#4 0x0805fe3c in CQueryParser::boolTerm_ (this=0x40a763cc) at qparser.cpp:897
#5 0x0805facd in CQueryParser::boolTerm (this=0x40a763cc) at qparser.cpp:872
#6 0x0805ad41 in CQueryParser::boolTerm (this=0x40a763cc, pos=0)
at qparser.cpp:305
#7 0x0805b12d in CQueryParser::boolFactor (this=0x40a763cc) at qparser.cpp:346
#8 0x08059fb6 in CQueryParser::query (this=0x40a763cc) at qparser.cpp:166
#9 0x08060447 in CQueryParser::ParseQuery (this=0x40a763cc,
szQuery=0x80d2d68 "web-������") at qparser.cpp:958
#10 0x08052090 in processReq1 (ctx=0x40a7669c)
at /usr/include/g++-3/std/bastring.h:343
#11 0x0805444f in processReqs (p=0x8130a60) at daemon.cpp:973
#12 0x40039bfd in pthread_start_thread (arg=0x40a76c00) at manager.c:262
#13 0x40039cdf in pthread_start_thread_event (arg=0x40a76c00) at manager.c:285
(gdb)
---End of cut--
>
>
> -- [EMAIL PROTECTED] http://kir.sever.net ICQ 7551596 --
> Bend the facts to fit the conclusion. It's easier that way.
> -- |_ | |\| |_| >< -- |_| |\| | >< -- | ) |\/| --
>
>
-----------------------------------
-= Best Regards, Dmitriy Tarasov =-
mailto:[EMAIL PROTECTED]
ICQ: 81559530
-----------------------------------