berkeley_db_svc on xerces:

aacis@xerces:~/acis$ LD_LIBRARY_PATH=/home/aacis/lib /home/aacis/bin/berkeley_db_svc
Segmentation fault (core dumped)
aacis@xerces:~/acis$ LD_LIBRARY_PATH=/home/aacis/acis/lib gdb  --core=core  --args /home/aacis/bin/berkeley_db_svc -h /home/aacis/acis/SID
GNU gdb 5.3-debian
Copyright 2002 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-linux"...
Core was generated by `/home/aacis/bin/berkeley_db_svc'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /home/aacis/lib/libdb-4.1.so...done.
Loaded symbols for /home/aacis/lib/libdb-4.1.so
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_db.so.2...done.
Loaded symbols for /lib/libnss_db.so.2
Reading symbols from /usr/lib/libdb3.so.3...done.
Loaded symbols for /usr/lib/libdb3.so.3
#0  0x08052570 in ?? ()
(gdb) tb
Breakpoint 1 at 0x8052570
(gdb) bt
#0  0x08052570 in ?? ()
#1  0x401d73e3 in _nss_db_getspnam_r () from /lib/libnss_db.so.2
#2  0x401d6187 in _nss_db_endprotoent () from /lib/libnss_db.so.2
#3  0x401d63a3 in _nss_db_getprotobyname_r () from /lib/libnss_db.so.2
#4  0x4018f171 in getprotobyname_r () from /lib/libc.so.6
#5  0x401956c0 in clnt_create () from /lib/libc.so.6
#6  0x0804e31c in main (argc=1, argv=0xbffffb04) at ../rpc_server/c/db_server_util.c:91
(gdb) r
Starting program: /home/aacis/bin/berkeley_db_svc -h /home/aacis/acis/SID
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x8052570: Input/output error.
The same program may be running in another process.
(gdb) q
A debugging session is active.
Do you still want to close the debugger?(y or n) y
aacis@xerces:~/acis$ exit
