Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 799331336B42 for ; Tue, 8 Feb 2011 22:54:27 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 81433-01 for ; Wed, 9 Feb 2011 02:54:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.catalyst.net.nz (bertrand.catalyst.net.nz [202.78.240.40]) by mail.postgresql.org (Postfix) with ESMTP id 84A55133655C for ; Tue, 8 Feb 2011 22:54:19 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 1CF0132129; Wed, 9 Feb 2011 15:54:17 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vs+1HZf7pCJc; Wed, 9 Feb 2011 15:54:15 +1300 (NZDT) Received: from [IPv6:2404:130:0:1000:222:15ff:fe5c:2471] (unknown [IPv6:2404:130:0:1000:222:15ff:fe5c:2471]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id C42C731FF5; Wed, 9 Feb 2011 15:54:15 +1300 (NZDT) Message-ID: <4D5201D7.7020001@catalyst.net.nz> Date: Wed, 09 Feb 2011 15:54:15 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Craig Ringer CC: Matt Zinicola , 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> <1296700415.4d4a13ffe433d@eminence.partnercomm.com> <4D4A16DF.6000402@postnewspapers.com.au> <1296702137.4d4a1ab94ce32@eminence.partnercomm.com> <4D4A1BB9.5090600@postnewspapers.com.au> <1296702712.4d4a1cf864515@eminence.partnercomm.com> <4D4A219B.10202@postnewspapers.com.au> <1296746122.4d4ac68a4f280@eminence.partnercomm.com> <4D4B606C.6030604@postnewspapers.com.au> In-Reply-To: <4D4B606C.6030604@postnewspapers.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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/81 X-Sequence-Number: 29353 On 04/02/11 15:11, Craig Ringer wrote: > On 02/03/2011 11:15 PM, Matt Zinicola wrote: >> >> I re-compiled with '--enable-debug' and got the symbols. The >> pastebin is at >> http://pastebin.com/xMhEHFdT > > That's really interesting. It's getting a NULL path pointer when - I > think - it tries to determine the location of the executables. > > Presumably this is something bizarre in your environment - but I have > no idea what it might be. Maybe someone else reading will have an idea. > (Coming in too late, but...) I'd be interested to see what happens if you do: $ export PATH=/usr/local/pgsql/bin:$PATH $ export LD_LIBRARY_PATH=/usr/local/pgsql/lib $ initdb -D /data/postgres $ pg_ctl -D /data/postgres start; $ psql I'm guessing that there are older libraries or binaries earlier in your various env paths, and these are tripping up postgres. Cheers Mark