Shift-Enter = Segmentation Fault - Mailing list pgsql-bugs

From Dave Jarvis
Subject Shift-Enter = Segmentation Fault
Date
Msg-id 3EA4D851.3030603@joot.com
Whole thread Raw
Responses Re: Shift-Enter = Segmentation Fault
List pgsql-bugs
Hi,

Running RedHat 9.0 on an i686 Athlon CPU, using PostgreSQL v7.3.2.
Compilation:

./configure --prefix=/usr/local --with-java
make
make install

After creating a database (that is password-protected, using an 8
character password; six alpha, two numberic), I do the following:

psql DBName
[password]
[shift-enter pressed]
Segmentation fault

Reproduceable: 100%

ldd /usr/local/bin/postmaster
         libz.so.1 => /usr/lib/libz.so.1 (0x40028000)
         libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40036000)
         libtermcap.so.2 => /lib/libtermcap.so.2 (0x40062000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40066000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x40093000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x400a5000)
         libdl.so.2 => /lib/libdl.so.2 (0x400bb000)
         libm.so.6 => /lib/tls/libm.so.6 (0x400be000)
         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ldd /usr/local/bin/psql
         libpq.so.3 => /usr/local/lib/libpq.so.3 (0x40017000)
         libz.so.1 => /usr/lib/libz.so.1 (0x40039000)
         libreadline.so.4 => /usr/lib/libreadline.so.4 (0x40047000)
         libtermcap.so.2 => /lib/libtermcap.so.2 (0x40073000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40077000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x400a4000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x400b7000)
         libdl.so.2 => /lib/libdl.so.2 (0x400cc000)
         libm.so.6 => /lib/tls/libm.so.6 (0x400cf000)
         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

FYI: The shell (bash) does not have this problem.

Sincerely,
Dave Jarvis

pgsql-bugs by date:

Previous
From: Shibashish
Date:
Subject: pg_dump Crashes and core dumps
Next
From: "Paul Sundling(\"Webdaddy\")"
Date:
Subject: pg_restore hangs on locale