pgsql-bugs@postgresql.org writes:
> But when change "trust" to "password" (or "crypt") psql require a password.
> Then, entering the correct password or not, psql exit with a core dump.
Stack trace from core file, please?
gdb /path/to/psql core
bt
quit
Also, where did you get your psql executable from, or how did you
configure/build if you built it locally?
regards, tom lane