Author: Richard
Email: [EMAIL PROTECTED]
Message:
Hi guys having some grief with Indexer Seg Faulting :O(
I've had a poke about anyone got any ideas ?
/usr/local/mnogosearch/sbin/indexer -a /usr/local/mnogosearch/etc/indexer_closed.conf
is cron'd to run nightly.
the output of gdb is.
bash-2.04# gdb indexer core
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.6"...
Core was generated by `/usr/local/mnogosearch/sbin/indexer -a
/usr/local/mnogosearch/etc/indexer_close'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib//libsocket.so.1...done.
Loaded symbols for /usr/lib//libsocket.so.1
Reading symbols from /usr/lib//libxnet.so.1...done.
Loaded symbols for /usr/lib//libxnet.so.1
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.6...done.
Loaded symbols for /usr/local/lib/mysql/libmysqlclient.so.6
Reading symbols from /usr/lib//libm.so.1...done.
Loaded symbols for /usr/lib//libm.so.1
Reading symbols from /usr/lib//libc.so.1...done.
Loaded symbols for /usr/lib//libc.so.1
Reading symbols from /usr/lib//libnsl.so.1...done.
Loaded symbols for /usr/lib//libnsl.so.1
Reading symbols from /usr/lib//libdl.so.1...done.
Loaded symbols for /usr/lib//libdl.so.1
Reading symbols from /usr/lib//libmp.so.2...done.
Loaded symbols for /usr/lib//libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
Reading symbols from /usr/lib//nss_files.so.1...done.
Loaded symbols for /usr/lib//nss_files.so.1
Reading symbols from /usr/local/lib/nss_dns.so.1...done.
Loaded symbols for /usr/local/lib/nss_dns.so.1
Reading symbols from /usr/lib//libresolv.so.2...done.
Loaded symbols for /usr/lib//libresolv.so.2
#0 0x0 in ?? ()
(gdb) backtrace
#0 0x0 in ?? ()
#1 0xef4d7494 in res_init () from /usr/lib//libresolv.so.2
#2 0xef4daeac in gethostbyname2 () from /usr/lib//libresolv.so.2
#3 0xef5c0c28 in _gethostbyname () from /usr/local/lib/nss_dns.so.1
#4 0xef5c0ce8 in getbyname () from /usr/local/lib/nss_dns.so.1
#5 0xef655244 in nss_search () from /usr/lib//libc.so.1
#6 0xef5197ac in _switch_gethostbyname_r () from /usr/lib//libnsl.so.1
#7 0xef52fcb4 in _door_gethostbyname_r () from /usr/lib//libnsl.so.1
#8 0xef5179cc in _get_hostserv_inetnetdir_byname () from /usr/lib//libnsl.so.1
#9 0xef52f6d0 in gethostbyname_r () from /usr/lib//libnsl.so.1
#10 0x2b85c in UdmHostLookup (Conf=0x55300, connp=0x852d8) at host.c:144
#11 0x23568 in open_host (Indexer=0x7d940, hostname=0xefffcc34 "www.cimaglobal.com",
port=80, timeout=30) at proto.c:259
#12 0x23948 in UdmHTTPGet (Indexer=0x7d940,
header=0xefffe638 "GET /main/index.htm HTTP/1.0\r\nIf-Modified-Since: Wed, 22 Aug
2001 04:30:05 GMT\r\nUser-Agent: UdmSearch/3.1.12\r\nHost:
www.cimaglobal.com\r\n\r\n", host=0xefffcc34 "www.cimaglobal.com", port=80) at
proto.c:370
#13 0x148cc in UdmIndexNextURL (Indexer=0x7d940, index_flags=0) at indexer.c:712
#14 0x12364 in thread_main (arg=0x0) at main.c:256
#15 0x12d44 in main (argc=1, argv=0xeffffccb) at main.c:596
i've also tried running it verbosely from the command line..
bash-2.04# /usr/local/mnogosearch/sbin/indexer -v 5 -a
/usr/local/mnogosearch/etc/indexer_closed.conf
indexer from mnogosearch-3.1.12/MySQL started with
'/usr/local/mnogosearch/etc/indexer_closed.conf'
[1] Load stopword table 'stopword'
[1] http://www.cimaglobal.com/main/index.htm
[1] Server 'http://www.cimaglobal.com/'
[1] Allow by default
Segmentation Fault (core dumped)
i'm really short of ideas
cheers,
==
Richard
Reply: <http://www.mnogosearch.org/board/message.php?id=3061>
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]