pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Zinicola <matt@zinicola.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
Date: Wed,  2 Feb 2011 21:33:35 -0500
Message-ID: <1296700415.4d4a13ffe433d@eminence.partnercomm.com> (raw)
In-Reply-To: <4D4A0EE7.6040502@postnewspapers.com.au>
References: <4D497E91020000250003A25E@gw.wicourts.gov>
	<1296697991.8678.8.camel@infinity.localdomain>
	<4D4A0EE7.6040502@postnewspapers.com.au>


Hrm.

I did see the Fedora stashed copies of libpq.so.5 and libpq.so.5.2 in
/usr/lib64.  I looked everywhere on the system for libpq.so*, and saw that the
only remaining copies where those in my source directory... so I re-built
9.0.3.  A 'make check' still died in the same place within the regression
tests.  I did a 'make install' anyhow.  I cleaned out my data directory and
attempted a new initdb with 9.0.3.  That seg faulted as well:

[postgres@infinity local]$ /usr/local/pgsql/bin/initdb -D /data/postgres
Segmentation fault (core dumped)

Any other suggestions?
- Matt



Quoting Craig Ringer <craig@postnewspapers.com.au>:

> On 03/02/11 09:53, Matt Zinicola wrote:
> > Apologies for lack of detail.  Although I've been using Postgres for
> > years, this is the first time I've had such an issue.
> > 
> > Build options were only --with-perl and --with-python
> > 
> > Below is the output when two different applications attempt to connect
> > to my 9.0.3 server (note, the second is psql itself):
> > 
> > [root@infinity postgres]# /etc/init.d/archiveopteryx start
> > Starting Archiveopteryx: aox: Couldn't connect to PostgreSQL. (on
> > backend 1)
> > /etc/init.d/archiveopteryx: line 24:  4240 Segmentation
> > fault      /usr/local/archiveopteryx/bin/aox start
> > done.
> > 
> > [postgres@infinity scripts]$ psql template1
> > Segmentation fault (core dumped)
> 
> OK, so it's not the PostgreSQL backend that's crashing, it's psql.
> 
> You almost certainly have conflicting libraries lurking around
> somewhere, so psql was built against one libpq but lands up getting
> linked to another at runtime.
> 
> -- 
> System & Network Administrator
> POST Newspapers
> 





view thread (14+ messages)  latest in thread

Message-ID: <1296700415.4d4a13ffe433d@eminence.partnercomm.com>
Permalink:  ../1296700415.4d4a13ffe433d@eminence.partnercomm.com/
Also on:    postgresql.org/message-id/1296700415.4d4a13ffe433d@eminence.partnercomm.com

 · 

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: matt@zinicola.com, craig@postnewspapers.com.au
  Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
  In-Reply-To: <1296700415.4d4a13ffe433d@eminence.partnercomm.com>
  References: <4D497E91020000250003A25E@gw.wicourts.gov> <1296697991.8678.8.camel@infinity.localdomain> <4D4A0EE7.6040502@postnewspapers.com.au> <1296700415.4d4a13ffe433d@eminence.partnercomm.com>

* 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