Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4D9501337B68 for ; Thu, 3 Feb 2011 23:23:55 -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 21563-01 for ; Fri, 4 Feb 2011 03:23:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id AC585133616B for ; Thu, 3 Feb 2011 23:23:47 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p143N7d7008763; Thu, 3 Feb 2011 22:23:08 -0500 (EST) To: Craig Ringer cc: Matt Zinicola , pgsql-bugs@postgresql.org Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt In-reply-to: <4D4B606C.6030604@postnewspapers.com.au> 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> Comments: In-reply-to Craig Ringer message dated "Fri, 04 Feb 2011 10:11:56 +0800" Date: Thu, 03 Feb 2011 22:23:07 -0500 Message-ID: <8762.1296789787@sss.pgh.pa.us> From: Tom Lane 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/54 X-Sequence-Number: 29326 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