Re: Unexpected crash

From: Richard Huxton <dev(at)archonet(dot)com>
To: Mikko Partio <mpartio(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unexpected crash
Date: 2007-07-19 05:55:53
Message-ID: 469EFCE9.4040901@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mikko Partio wrote:
> Hello all,
>
> I installed the latest version from rpms and everythings ok, except when I
> connect to a db with psql and press shift+return the backend crashes with
> "Segmentation fault"! I guess the problem is with my installation but I
> don't know how to debug. It's not a very disconcerning thing per se, but I
> wonder what other surprises might be hiding behind the scenes.

Hmm. Very odd.

> test2=> select version();
> version
> --------------------------------------------------------------------------------------------------------------
>
> PostgreSQL 8.2.4 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC)
> 3.2.320030502 (Red Hat Linux
> 3.2.3-58)
> (1 row)

OK. This is RH Enterprise Server, then?

> relevant log line:
>
> Jul 19 08:33:36 mihin postgres[24584]: [2-1] LOG: unexpected EOF on client
> connection

That's not a backend crash, that's just saying the client disconnected
unexpectedly. That implies a client (psql) crash. Is there a server
log-line saying you have a sig-11 crash?

What's puzzling me is why shift+return is different from just plain
return (which presumably works). I'd suspect readline or similar. Try
something like "rpm -q --requires postgresql-client" (you'll need to
check the details, haven't used rpm much recently) to see what packages
psql is depending on. Then just check they look OK for your installation.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mikko Partio 2007-07-19 05:58:06 Re: Unexpected crash
Previous Message Tom Lane 2007-07-19 05:52:22 Re: Unexpected crash