Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 689511337B5E for ; Tue, 8 Feb 2011 21:50:40 -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 10857-04 for ; Wed, 9 Feb 2011 01:50:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mail.postgresql.org (Postfix) with ESMTP id AB74A133655C for ; Tue, 8 Feb 2011 21:50:32 -0400 (AST) Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90]) by qmta03.westchester.pa.mail.comcast.net with comcast id 5cUk1g0031wpRvQ53dqZK9; Wed, 09 Feb 2011 01:50:33 +0000 Received: from [192.168.1.14] ([75.68.37.86]) by omta18.westchester.pa.mail.comcast.net with comcast id 5dqY1g01z1rX7UB3edqYwr; Wed, 09 Feb 2011 01:50:33 +0000 Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt From: Matthew Zinicola To: Tom Lane Cc: Craig Ringer , pgsql-bugs@postgresql.org In-Reply-To: <8762.1296789787@sss.pgh.pa.us> 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> <8762.1296789787@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Date: Tue, 08 Feb 2011 20:50:31 -0500 Message-ID: <1297216231.3555.8.camel@infinity.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 (2.32.1-1.fc14) Content-Transfer-Encoding: 7bit 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, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201102/80 X-Sequence-Number: 29352 On Thu, 2011-02-03 at 22:23 -0500, Tom Lane wrote: > Craig Ringer writes: > > 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. > > Hmm ... gdb is evidently lying to us to some extent, because some of > those variables can't possibly be NULL, and control wouldn't have got > to where it says if others of them were. However, it seems clear that > it's dying while trying to determine the actual location of the initdb > executable. Are there any symlinks involved in the path > /usr/local/pgsql/bin/initdb ? Is that located on an unusual filesystem? > > regards, tom lane It wasn't an unusual filesystem (other than being within a logical volume). Nothing out of the ordinary -- a local /ext3 filesystem. I did a clean re-install of Fedora from scratch, and boom! Postgres compiled and installed just fine. Two interesting tidits here (perhaps of note) -- 1) Against my judgment, I had been using Fedora's upgrade process the last two times I updated (from F12 to F13, and from F13 to F14). I wonder if that botched something in my environment and 2) Nothing else on the system seemed to have trouble (at least up until that point in time). I suspect it was definitely something underneath Postgres, as when I deleted everything in /usr/local/pgsql and my cluster (/data/postgres) and started anew, it still had the very same problem. Just some additional points of info. In any case... a "clean" install of Fedora 14 did not yield this problem, so feel free to close this issue if/when you feel appropriate. Thanks to everyone that was lending assistance. It's much appreciated. - Matt