BUG #12344: libcurses issue with psql binary of Solaris package

From: egoitz(at)sarenet(dot)es
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #12344: libcurses issue with psql binary of Solaris package
Date: 2014-12-26 10:16:35
Message-ID: 20141226101635.11499.86889@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 12344
Logged by: Egoitz Aurrekoetxea
Email address: egoitz(at)sarenet(dot)es
PostgreSQL version: 9.4.0
Operating system: Solaris 11.2 (5.11 11.2 i86pc i386 i86pc)
Description:

Good morning,

I'm giving a try to
https://ftp.postgresql.org/pub/binary/v9.4.0/solaris/solaris11/i386/postgresql-9.4.0-S11.i386-64.tar.bz2
under Solaris 11.2. All seems to be running fine although I have found an
issue running the psql binary. It generates a core if you hit for example
CTRL+A after writting an amount of text. I do paste here the test content
and the core in order to fixed...

pgsql(at)themachine:~$ /usr/postgres/9.4-pgdg/bin/psql
theconnectingdatabase
psql (9.4.0)
Type "help" for help.

theconnectingdatabase=#
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaSegmentation Fault
(`core' generado)

(you write the aaaaas and later CTRL+A)

pgsql(at)themachine:~$
pgsql(at)themachine:~$
pgsql(at)themachine:~$
pgsql(at)themachine:~$ gdb /usr/postgres/9.4-pgdg/bin/psql core
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.11".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/postgres/9.4-pgdg/bin/psql...done.
[New LWP 1]
[New LWP 1]
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `/usr/postgres/9.4-pgdg/bin/psql
theconnectingdatabase'.
Program terminated with signal 11, Segmentation fault.
#0 0xffff80ffbd5636b1 in tputs () from /lib/64/libcurses.so.1
(gdb) bt
#0 0xffff80ffbd5636b1 in tputs () from /lib/64/libcurses.so.1
#1 0x00000000004612fb in term_move_to_char ()
#2 0x000000000045f366 in re_refresh_cursor ()
#3 0x000000000045e39f in el_gets ()
#4 0x00000000004561d0 in readline ()
#5 0x0000000000425f75 in gets_interactive ()
#6 0x0000000000426c0b in MainLoop ()
#7 0x000000000042bd89 in main ()
(gdb)

uname -ar
SunOS themachine 5.11 11.2 i86pc i386 i86pc

The server part seems to be running fine.

Thank you so much,
Best regards

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2014-12-26 15:23:37 Re: BUG #12330: ACID is broken for unique constraints
Previous Message Michael Paquier 2014-12-25 00:29:48 Re: BUG #12292: index row size 1480 exceeds maximum 1352 for index