Please compile with -g cc flags:
export CFLAGS=-g
./configure ....
make
then run gdb backtrace again after crash. It's interesting
what's happening in UdmAddURL() function. Use "frame 3" then "where"
commands.
"Briggs, Gary" wrote:
>
> I'm getting this too.
> Solaris 2.6
> MySQL 3.23.33
> Mnogo 3.1.11
> compiled with
> CC="/opt/SUNWspro/bin/cc";export CC
> CFLAGS="-fast";export CFLAGS
> CXX="/opt/SUNWspro/bin/CC";export CXX
> ./configure --cache-file=/dev/null --prefix=/opt/udmsearch \
> --with-mysql=/opt/mySQL --disable-syslog --disable-mp3 \
> --disable-news --enable-shared
>
> It's in CRC-multi mode.
> Here's a BackTrace:
>
> [lonwebhost20:/opt/udmsearch/sbin/]$ pwd
> /opt/udmsearch/sbin
>
> [lonwebhost20:/opt/udmsearch/sbin/]$ cat ./chunkystuff
>
> #!/bin/sh
> export LD_LIBRARY_PATH=/opt/mySQL/lib/mysql:$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/]$ echo "bt" | 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.6...(no
> debugging symbols found)...done.
> Reading symbols from /usr/lib/libc.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/libm.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) #0 0xef5a4734 in strlen ()
> #1 0xef5da62c in _doprnt ()
> #2 0xef5e3804 in sprintf ()
> #3 0xef71374c in UdmAddURL ()
> #4 0xef71f5c8 in UdmStoreHrefs ()
> #5 0xef709a4c in UdmIndexNextURL ()
> #6 0x113f4 in thread_main ()
> #7 0x11dbc in main ()
> (gdb)
> [lonwebhost20:/opt/udmsearch/sbin/]$
>
> Thank-you very much,
> Gary Briggs
>
> > -----Original Message-----
> > From: filip.sergeys [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, February 22, 2001 7:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: Segmentation Fault core dump (gdb report include in this
> > mail)
> >
> > Hi,
> > When trying to start the indexer I get a core dump.
> > The complete installation is new
> > Linux : 6.2 kernel 2.2.14
> > Mysql : 3.23.33
> > Mnogosearch : 3.1.11
> > compiled with --enable-syslog=LOG_LOCAL6
> > --enable-linux-pthreads --with-mysql
> >
> > The dbg report:
> >
> > GNU gdb 19991004
> > 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-redhat-linux"...
> > Core was generated by `./indexer -v 3'.
> > Program terminated with signal 11, Segmentation fault.
> > Reading symbols from /lib/libpthread.so.0...done.
> > Reading symbols from /lib/libm.so.6...done.
> > Reading symbols from /usr/lib/libz.so.1...done.
> > Reading symbols from /lib/libc.so.6...done.
> > Reading symbols from /lib/ld-linux.so.2...done.
> > Reading symbols from /lib/libnss_files.so.2...done.
> > #0 0x400e9c61 in __libc_nanosleep () from /lib/libc.so.6
> > (gdb) backtrace
> > #0 0x400e9c61 in __libc_nanosleep () from /lib/libc.so.6
> > #1 0x400e9bed in __sleep (seconds=1) at
> > ../sysdeps/unix/sysv/linux/sleep.c:82
> > #2 0x804b0ec in main (argc=3, argv=0xbffffd70) at main.c:593
> > (gdb) q
> >
> > Hope you can help me. Thanks in advance
> >
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]