From: Tom Lane <tgl@sss.pgh.pa.us>
To: egoitz@sarenet.es
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12344: libcurses issue with psql binary of Solaris package
Date: Fri, 26 Dec 2014 10:39:52 -0500
Message-ID: <31412.1419608392@sss.pgh.pa.us> (raw)
In-Reply-To: <20141226101635.11499.86889@wrigleys.postgresql.org>
References: <20141226101635.11499.86889@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
egoitz@sarenet.es writes:
> 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...
This is evidently a bug in libreadline or libedit (whichever you're
using), and almost certainly has nothing to do with psql proper.
The mention of el_gets() in the stack trace makes me suspect that it's
libedit, which is not terribly surprising because frankly we've seen a
darn lot of nasty bugs in that library. They do fix 'em, so you could try
getting a newer version of libedit. Or you could get GNU readline and
rebuild against that. TBH I'd recommend the latter solution.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, egoitz@sarenet.es
Subject: Re: BUG #12344: libcurses issue with psql binary of Solaris package
In-Reply-To: <31412.1419608392@sss.pgh.pa.us>
References: <20141226101635.11499.86889@wrigleys.postgresql.org> <31412.1419608392@sss.pgh.pa.us>
* 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