Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4Wzi-00021M-9f for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Dec 2014 15:40:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y4Wzh-0003wV-QD for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Dec 2014 15:40:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y4Wzg-0003wM-NZ for pgsql-bugs@postgresql.org; Fri, 26 Dec 2014 15:40:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y4WzZ-00072J-Mv for pgsql-bugs@postgresql.org; Fri, 26 Dec 2014 15:39:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sBQFdqRx031413; Fri, 26 Dec 2014 10:39:52 -0500 From: Tom Lane To: egoitz@sarenet.es cc: pgsql-bugs@postgresql.org 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> Comments: In-reply-to egoitz@sarenet.es message dated "Fri, 26 Dec 2014 10:16:35 +0000" Date: Fri, 26 Dec 2014 10:39:52 -0500 Message-ID: <31412.1419608392@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 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.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... 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