psql can crash the backend on login - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject psql can crash the backend on login
Date
Msg-id 200009031640.e83Gewp76761@hub.org
Whole thread Raw
Responses Re: psql can crash the backend on login  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Alexandru Popa (razor@ldc.ro) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
psql can crash the backend on login

Long Description
On a FreeBSD 4.1-STABLE system, launching /usr/local/pgsql/bin/psql  and giving control-d as a password will crash the
backend.
Note I only tried this on a localhost connection (Unix sockets)

Sample Code
machine% /usr/local/pgsql/bin/psql -U validuser
Password: (hit control-d here)
Password:
Password:
Password:
Password:
Password:
Password:
Password:
Password:
(more of those)
Password:
psql: pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
machine% /usr/local/pgsql/bin/psql -U validuser
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
machine% ps auxw|grep 'post[m]aster'
machine%



No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: bugtool horribly wraps the lines