Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4VcE-0006nT-3r for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Dec 2014 14:11:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y4VcD-00023D-Im for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Dec 2014 14:11:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y4RxF-0003qG-3c for pgsql-bugs@postgresql.org; Fri, 26 Dec 2014 10:17:09 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4RxA-0005Ew-VL for pgsql-bugs@postgresql.org; Fri, 26 Dec 2014 10:17:07 +0000 MIME-Version: 1.0 Subject: BUG #12344: libcurses issue with psql binary of Solaris package To: pgsql-bugs@postgresql.org From: egoitz@sarenet.es Date: Fri, 26 Dec 2014 10:16:35 +0000 Message-ID: <20141226101635.11499.86889@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 12344 Logged by: Egoitz Aurrekoetxea Email address: egoitz@sarenet.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@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@themachine:~$ pgsql@themachine:~$ pgsql@themachine:~$ pgsql@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 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: ... 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs