Thread: psql - Segmentation Fault

psql - Segmentation Fault

From
wstrzalka
Date:
I'm having problems with psql. Looks like bug.

Steps to reproduce on my box (100% segfaults):

#psql -U postgres -d mydb
$EXPLAIN ANALYZE SELECT .....
after 20s I'm getting a plan & at the end there is smth like "stdin:
END"
then I press ENTER and I have back psql console\
finally I press up arrow to reexecute and that causes "Segmentation
fault" and psql to exit

bash-3.00$ uname -a
SunOS sss01 5.10 Generic_142900-08 sun4v sparc SUNW,Netra-T5220
bash-3.00$ psql -version
psql (8.4.4)

Re: psql - Segmentation Fault

From
Tom Lane
Date:
wstrzalka <wstrzalka@gmail.com> writes:
> finally I press up arrow to reexecute and that causes "Segmentation
> fault" and psql to exit

That would be a problem in libreadline, not in our code.  There was
somebody else complaining of a bug in Solaris' readline just recently
:-(.  Might be worthwhile to install your own copy instead of relying
on the one provided by Su^H^HOracle.

            regards, tom lane

Re: psql - Segmentation Fault

From
wstrzalka
Date:
On 30 Sie, 20:10, t...@sss.pgh.pa.us (Tom Lane) wrote:
> wstrzalka <wstrza...@gmail.com> writes:
> > finally I press up arrow to reexecute and that causes "Segmentation
> > fault" and psql to exit
>
> That would be a problem in libreadline, not in our code. =A0There was
> somebody else complaining of a bug in Solaris' readline just recently
> :-(. =A0Might be worthwhile to install your own copy instead of relying
> on the one provided by Su^H^HOracle.
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 regards, tom lane
>
> --
> Sent via pgsql-bugs mailing list (pgsql-b...@postgresql.org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/p=
gsql-bugs

Thanks for clarification - I'll problably have to live with this.
This is kind of certified system (looks like together with
segfault  :) ) - so installing own copy is not so easy.
Paper work is feature kill :)
Anyway