Re: [db-wg] 3.2.0 make_db getvar cores
- Date: Wed, 17 Dec 2003 09:46:10 +0100
Hi Randy,
On 2003-12-16 21:31:14 -0800, Randy Bush wrote:
> o freebsd 4.9-stable, quite recent
> o all ports just rebuilt
> o wanted to do a clean fresh install of whois 3.2.0, as i could
> not successfully convert
This should be possible with the suggestion I've just sent.
> o successful build
> o successful install
>
> conf/rip.config same as used for 3.1.1 excpt did emacs diff merge
> to get the syntax changes
>
> conf/sources.rip same as used for 3.1.1 except added
> trx_support: n
>
> in mysql, i deleted both databases, RIPADMIN and dbrgnet
>
> /scripts# ./make_db -c ../conf/rip.config -s RGNET -0
> Error: Non-existent database "dbrgnet" referenced !!!
> died: +792 ca_sourceLoader.c
> Segmentation fault (core dumped)
> ************** ERROR ***************
> *** 05:19:01 unknown source RGNET
> ************************************
Could you please send dbrip@localhost (only to dbrip@localhost) the config
files you have (../conf/rip.config and /usr/home/whois/conf/sources.config ).
Please obfuscate the passwords in them.
If you have any more questions, please don't hesitate
to contact ripe-dbm@localhost or dbrip@localhost for the
questions regarding RIPE Whois Software.
Best regards,
--
Engin Gunduz
RIPE NCC Software Engineering Department
> # gdb /usr/local/src/net/ripe-dbase-3.2.0/utils/getvar/getvar getvar.core
> GNU gdb 4.18 (FreeBSD)
> 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"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
> Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf
>
> Core was generated by `getvar'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libgthread12.so.3...done.
> Reading symbols from /usr/local/lib/libglib12.so.3...done.
> Reading symbols from /usr/local/lib/mysql/libmysqlclient_r.so.10...done.
> Reading symbols from /usr/lib/libm.so.2...done.
> Reading symbols from /usr/lib/libcrypt.so.2...done.
> Reading symbols from /usr/lib/libpam.so.1...done.
> Reading symbols from /usr/lib/libcipher.so.2...done.
> Reading symbols from /usr/local/lib/libxml2.so.5...done.
> Reading symbols from /usr/local/lib/libiconv.so.3...done.
> Reading symbols from /usr/local/lib/libxslt.so.2...done.
> Reading symbols from /usr/lib/libc_r.so.4...done.
> Reading symbols from /usr/lib/libz.so.2...done.
> Reading symbols from /usr/libexec/ld-elf.so.1...done.
> #0 0x805087d in ca_parseSrcLine (lineStr=0xbfbff74c "database:\tdbrgnet",
> srcStructPtr=0x80c8400) at ca_sourceLoader.c:792
> 792 die;
> (gdb) back
> #0 0x805087d in ca_parseSrcLine (lineStr=0xbfbff74c "database:\tdbrgnet",
> srcStructPtr=0x80c8400) at ca_sourceLoader.c:792
> #1 0x8050147 in ca_readSources (
> sourcesDefFile=0x80c2840 "/usr/home/whois/conf/sources.config",
> confVars=0x80b1840) at ca_sourceLoader.c:464
> #2 0x804faa2 in ca_init (configFile=0xbfbff9b1 "../conf/rip.config")
> at ca_initFn.c:87
> #3 0x804bc2f in main (argc=7, argv=0xbfbff858) at getvar.c:84
>
> randy
|