pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: egoitz@sarenet.es
To: pgsql-bugs@postgresql.org
Subject: BUG #12344: libcurses issue with psql binary of Solaris package
Date: Fri, 26 Dec 2014 10:16:35 +0000
Message-ID: <20141226101635.11499.86889@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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...
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
<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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <20141226101635.11499.86889@wrigleys.postgresql.org>
Permalink:  ../20141226101635.11499.86889@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20141226101635.11499.86889@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: egoitz@sarenet.es
  Subject: Re: BUG #12344: libcurses issue with psql binary of Solaris package
  In-Reply-To: <20141226101635.11499.86889@wrigleys.postgresql.org>
  References: <20141226101635.11499.86889@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox