In trying to use gdb to step through the code, it appears that the problem
is manifesting itself in PQsetdb():
(gdb) s
2518 if (settings.getPassword)
(gdb) s
2533 settings.db = PQsetdb(host, port, NULL, NULL, dbname);
(gdb) s
psql in free(): warning: junk pointer, too high to make sense.
2534 }
(gdb)
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org