OK, It still breaks:


[lonwebhost20:/opt/udmsearch/sbin/]$ pwd
/opt/udmsearch/sbin
[lonwebhost20:/opt/udmsearch/sbin/]$ cat ./chunkystuff 
#!/bin/sh
LD_LIBRARY_PATH=/opt/mySQL/lib/mysql:$LD_LIBRARY_PATH; export
LD_LIBRARY_PATH
exec ./indexer $*

[lonwebhost20:/opt/udmsearch/sbin/]$ ./chunkystuff 
indexer from mnogosearch-3.1.11/MySQL started with
'/opt/udmsearch/etc/indexer.conf'
Segmentation Fault (core dumped)
[lonwebhost20:/opt/udmsearch/sbin/]$ gdb --core=./core indexer
GDB is free software and you are welcome to 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.
GDB 4.16 (sparc-sun-solaris2.6), Copyright 1996 Free Software Foundation,
Inc...(no debugging symbols found)...
Core was generated by `./indexer'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /opt/udmsearch/lib/libudmsearch-3.1.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libxnet.so.1...(no debugging symbols
found)...done.
Reading symbols from /opt/mySQL/lib/mysql/libmysqlclient.so.10...(no
debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1...(no
debugging symbols found)...done.
Reading symbols from /usr/lib/nss_files.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/nss_nis.so.1...(no debugging symbols
found)...done.
#0  0xef5a4734 in strlen ()
(gdb) bt
#0  0xef5a4734 in strlen ()
#1  0xef5da62c in _doprnt ()
#2  0xef5e3804 in sprintf ()
#3  0xef69fd5c in UdmAddURL ()
#4  0xef6b8850 in UdmStoreHrefs ()
#5  0xef68ab3c in UdmIndexNextURL ()
#6  0x12460 in thread_main ()
#7  0x1387c in main ()
(gdb) frame 3
#3  0xef69fd5c in UdmAddURL ()
(gdb) where
#0  0xef5a4734 in strlen ()
#1  0xef5da62c in _doprnt ()
#2  0xef5e3804 in sprintf ()
#3  0xef69fd5c in UdmAddURL ()
#4  0xef6b8850 in UdmStoreHrefs ()
#5  0xef68ab3c in UdmIndexNextURL ()
#6  0x12460 in thread_main ()
#7  0x1387c in main ()
(gdb)
[lonwebhost20:/opt/udmsearch/sbin/]$ 

I made it with:

[lonwebhost20:/opt/udmsearch/src/]$ cat ./makeconfig 
#!/bin/sh

CC="/opt/SUNWspro/bin/cc";export CC
#CFLAGS="-fast -g";export CFLAGS
CFLAGS="-g";export CFLAGS

CXX="/opt/SUNWspro/bin/CC";export CXX

./configure --prefix=/opt/udmsearch --with-mysql=/opt/mySQL --disable-syslog
--disable-mp3 --disable-news --enable-shared

Hope this helps, [and that you can help me!]
Gary (-;

> -----Original Message-----
> From: Alexander Barkov [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 26, 2001 11:06 AM
> To:   [EMAIL PROTECTED]
> Subject:      Webboard: Segmentation Fault, core dump (gdb report
> included)
> 
> Author: Alexander Barkov
> Email: [EMAIL PROTECTED]
> Message:
> You have very strange place of crash :-(  Probably compiling with
> -g  cc flag will produce backtrace with more information. To compile
> with -g flag run 
> 
>   export CFLAGS=-g
>   ./configure ......
>   make
> 
> 
> then run new indexer and check backtrace after crash
> 
> 
> Reply: <http://search.mnogo.ru/board/message.php?id=1517>
> 
> ___________________________________________
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
> 
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to