psql can crash the backend on login

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: psql can crash the backend on login
Date: 2000-09-03 16:40:58
Message-ID: 200009031640.e83Gewp76761@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Alexandru Popa (razor(at)ldc(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2000-09-03 16:47:10 bugtool horribly wraps the lines
Previous Message Matt Benjamin 2000-09-03 04:44:05 Re: PG still fussy to compile on Solaris + GCC, may still need Sun ld

Browse pgsql-hackers by date

  From Date Subject
Next Message Erich Stamberger 2000-09-03 17:35:05 Re: Yet another LIKE-indexing scheme
Previous Message Jan Wieck 2000-09-03 14:04:04 Re: PL/Perl compilation error