Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 64B0A1337B8D for ; Wed, 2 Feb 2011 22:40:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 46995-03 for ; Thu, 3 Feb 2011 02:40:23 +0000 (UTC) X-Greylist: delayed 00:06:34.576947 by SQLgrey-1.7.6 Received: from eminence.partnercomm.com (eminence.partnercomm.com [204.9.43.164]) by mail.postgresql.org (Postfix) with SMTP id DAE521337B5D for ; Wed, 2 Feb 2011 22:40:21 -0400 (AST) Received: (qmail 29684 invoked by uid 99); 3 Feb 2011 02:33:35 -0000 Received: from matt.home (matt.home [75.68.37.86]) by eminence.partnercomm.com (IMP) with HTTP for ; Wed, 2 Feb 2011 21:33:35 -0500 Message-ID: <1296700415.4d4a13ffe433d@eminence.partnercomm.com> Date: Wed, 2 Feb 2011 21:33:35 -0500 From: Matt Zinicola To: Craig Ringer Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt References: <4D497E91020000250003A25E@gw.wicourts.gov> <1296697991.8678.8.camel@infinity.localdomain> <4D4A0EE7.6040502@postnewspapers.com.au> In-Reply-To: <4D4A0EE7.6040502@postnewspapers.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 75.68.37.86 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/45 X-Sequence-Number: 29317 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 : > 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 >