Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id B7DDF1337B8D for ; Wed, 2 Feb 2011 22:12:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 64757-05 for ; Thu, 3 Feb 2011 02:11:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [173.230.139.50]) by mail.postgresql.org (Postfix) with ESMTP id 8BF081337B95 for ; Wed, 2 Feb 2011 22:11:53 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by www.postnewspapers.com.au (Postfix) with ESMTP id 9AC6E14AA; Wed, 2 Feb 2011 21:11:53 -0500 (EST) X-Virus-Scanned: amavisd-new at postnewspapers.com.au.com Received: from www.postnewspapers.com.au ([127.0.0.1]) by localhost (www.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GBed4g8A0TIz; Wed, 2 Feb 2011 21:11:52 -0500 (EST) Received: from mail.postnewspapers.com.au (ppp171-128.static.internode.on.net [150.101.171.128]) by www.postnewspapers.com.au (Postfix) with ESMTP id 26B4119; Wed, 2 Feb 2011 21:11:52 -0500 (EST) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 23F4DAEABC; Thu, 3 Feb 2011 10:11:51 +0800 (WST) Message-ID: <4D4A0EE7.6040502@postnewspapers.com.au> Date: Thu, 03 Feb 2011 10:11:51 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: Matt Zinicola CC: Kevin Grittner , 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> In-Reply-To: <1296697991.8678.8.camel@infinity.localdomain> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/44 X-Sequence-Number: 29316 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