psql core dump on login

Started by PostgreSQL Bugs Listabout 25 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Leandro Peracchi (peracchi@totobola.com.br) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
psql core dump on login

Long Description
The default pg_hba.conf file have these two entries:

local trust
host 127.0.0.1 255.255.255.255 trust

So, when psql is called no password is required.
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.

- Conectiva Linux 6.0 (RedHat like)
- Pentium III 700MHz, 192MB RAM, HD 12GB
- PostgreSQL 7.0.2

Sample Code

No file was uploaded with this report

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: psql core dump on login

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