UdmSearch version 3.0.16
Platform: K6-2/350, 128MB
OS: FreeBSD 4.0-STABLE
Database: Easysoft ODBC-ODBC bridge with MSSQL and Postgresql 7.0
Compiler: gcc 2.95.2
When importing large file of URLs:
amnesia% /net/www/udmsearch-test/sbin/indexer -i -f ~tomaz/work/urls.txt
zsh: segmentation fault (core dumped) /net/www/udmsearch-test/sbin/indexer
-i -f /home/tomaz/work/urls.txt
amnesia% gdb /net/www/udmsearch-test/sbin/indexer indexer.core
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
Core was generated by `indexer'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libutil.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/easysoft/unixODBC/lib/libodbc.so.1...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/compat/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x804b8ab in UdmURLFile (Indexer=0x0, action=4) at indexer.c:657
657
UdmLog(Indexer->handle,UDM_LOG_ERROR,"URL too long: '%s'",str)
;
(gdb) bt
#0 0x804b8ab in UdmURLFile (Indexer=0x0, action=4) at indexer.c:657
#1 0x8049e0b in main (argc=4, argv=0xbfbff860) at main.c:404
#2 0x8049791 in _start ()
(gdb) print str
$1 =
"http://www2.arnes.si/~oskksavokl1s/Seminarske_naloge/Seminarska_naloga_Tatjana_Hafner/Presernova_poezija
_in_pesniske_oblike.htm", '\000' <repeats 4992 times>
(gdb) where
#0 0x804b8ab in UdmURLFile (Indexer=0x0, action=4) at indexer.c:657
#1 0x8049e0b in main (argc=4, argv=0xbfbff860) at main.c:404
#2 0x8049791 in _start ()
(gdb)
I checked the url in the file and looks good. Can provide binary, core and
file if needed.
Tomaz
----
Tomaz Borstnar <[EMAIL PROTECTED]>
"Love is the answer to the final question you ask" - Unknown
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]