Please find a patch which fixes this here:
http://gw.udmsearch.izhnet.ru/~bar/patches/server.c.diff.gz
Steven Torrance wrote:
>
> Redhat 6.2 all patches running on a p3-500 SMP system
> MySQL v3.23.32 compiled from src
> Mnogosearch v3.1.11
>
> Indexer is seg faulting when there's any more than 16 Server entries
>
> <gdb output>
>
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.10...done.
> Reading symbols from /lib/libm.so.6...done.
> Reading symbols from /lib/libc.so.6...done.
> Reading symbols from /lib/libcrypt.so.1...done.
> Reading symbols from /lib/libnsl.so.1...done.
> Reading symbols from /lib/ld-linux.so.2...done.
> Reading symbols from /lib/libnss_files.so.2...done.
> #0 0x40099431 in _IO_vfprintf (s=0xbfff5170,
> format=0x80717a0 "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES ('%s',%d,%d,0,%d,%d,0,'%s','%s')",
> ap=0xbfff5250) at vfprintf.c:1259
> 1259 vfprintf.c: No such file or directory.
>
> (gdb) backtrace
>
> #0 0x40099431 in _IO_vfprintf (s=0xbfff5170,
> format=0x80717a0 "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES ('%s',%d,%d,0,%d,%d,0,'%s','%s')",
> ap=0xbfff5250) at vfprintf.c:1259
> #1 0x400a5a73 in _IO_vsprintf (
> string=0xbfff528c "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES
> ('http://www.bbdirectory.com/robots.txt',0,0,0,983931473,983931473,0,'",
> format=0x80717a0 "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES ('%s',%d,%d,0,%d,%d,0,'%s','%s')",
> args=0xbfff5238) at iovsprintf.c:47
> #2 0x400a009f in sprintf (
> s=0xbfff528c "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES
> ('http://www.bbdirectory.com/robots.txt',0,0,0,983931473,983931473,0,'",
> format=0x80717a0 "INSERT INTO url
> (url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category)
> VALUES ('%s',%d,%d,0,%d,%d,0,'%s','%s')")
> at sprintf.c:38
> #3 0x8053e22 in UdmAddURL (Indexer=0x807de40,
> url=0x807fe00 "http://www.bbdirectory.com/robots.txt", referrer=0,
> hops=0,
> msg_id=0x8086050 "", Server=0x807ddd0) at sql.c:2695
> #4 0x805f065 in UdmStoreHrefs (Indexer=0x807de40) at hrefs.c:119
> #5 0x804b3e7 in UdmIndexNextURL (Indexer=0x807de40, index_flags=4)
> at indexer.c:315
> #6 0x804a054 in thread_main (arg=0x0) at main.c:256
> #7 0x804a9ed in main (argc=2, argv=0xbffffb68) at main.c:596
>
> </gdb output>
>
> If you need anymore information to help diagnose this just let me know.
>
> Thanks
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]