============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Erik Rissanen
Your email address : mirty@bahnhof.se
Category : unknown
Severity : critical
Summary: psql always segfaults. libpq doesn't work.
System Configuration
- --------------------
Operating System : Linux 2.1.131, glibc 2.0.7pre6, slackware
PostgreSQL version : 6.4
Compiler used : gcc 2.7.2.3 (also tried egcs-1.1b)
Hardware:
- ---------
Linux mirty 2.1.131 #16 SMP Sat Dec 5 13:55:13 CET 1998 i686 unknown
Pentium Pro, 96M RAM.
Versions of other tools:
- ------------------------
flex 2.5.4, binutils 2.9.1.0.15.
- --------------------------------------------------------------------------
Problem Description:
- --------------------
psql always directly gives a segmentation fault, and at
least libpq and the perl5 interface doesn't work.
psql always segfaults in pqGetc in libpq on the line with:
*result = conn->inBuffer[conn->inCursor++];
The postmaster works fine, and by starting postgres, I
can type for instance "create database foo;", and it will
work fine.
createuser gives "createuser: database access failed."
I also tried the snapshot (downloaded Dec 06), and it has
the same problem.
I did the compilation by first running
./configure --with-tcl --with-perl --with-tcl-config=
/usr/local/lib
then I ran 'make COPT="-g" all' and 'make install'.
(Actually I have tried all kinds
I had a postgres 6.3.something working fine, but that was
compiled before I upgraded to linux 2.1.x, so at least
glibc and binutils were older version then. (Right now
I have been compiling postgres all day long, so I don't
feel like downloading the 6.3 source and trying it out,
but maybe I will do that tomorrow.) (Before I installed
6.4 I
If there is anything I can do to help you, please let
me know, and I will gladly assist you.
(I am sorry for my bad english.)
- --------------------------------------------------------------------------
Test Case:
- ----------
Just type "psql".
- --------------------------------------------------------------------------
Solution:
- ---------
- --------------------------------------------------------------------------