geman@typhon psql]$ gdb psql core 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 `./psql testdb -f test.sql'. Program terminated with signal 11, Segmentation fault. Reading symbols from /home/dhageman/src/PostgreSQL/postgresql-7.1.build/install/lib/libpq.so.2...done. Reading symbols from /usr/lib/libssl.so.1...done. Reading symbols from /usr/lib/libcrypto.so.1...done. Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done. Reading symbols from /usr/kerberos/lib/libk5crypto.so.3...done. Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done. Reading symbols from /usr/lib/libz.so.1...done. Reading symbols from /lib/libcrypt.so.1...done. Reading symbols from /lib/libresolv.so.2...done. Reading symbols from /lib/libnsl.so.1...done. Reading symbols from /lib/libdl.so.2...done. Reading symbols from /lib/libm.so.6...done. Reading symbols from /usr/lib/libreadline.so.3...done. Reading symbols from /lib/libc.so.6...done. Reading symbols from /lib/ld-linux.so.2...done. Reading symbols from /lib/libtermcap.so.2...done. Reading symbols from /lib/libnss_files.so.2...done. #0 0x40021f51 in ?? () from /home/dhageman/src/PostgreSQL/postgresql-7.1.build/install/lib/libpq.so.2 (gdb) bt #0 0x40021f51 in ?? () from /home/dhageman/src/PostgreSQL/postgresql-7.1.build/install/lib/libpq.so.2 #1 0xffff4001 in ?? () Cannot access memory at address 0xe1dfbfff