pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Zinicola <matt@zinicola.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
Date: Tue, 08 Feb 2011 20:50:31 -0500
Message-ID: <1297216231.3555.8.camel@infinity.localdomain> (raw)
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>

On Thu, 2011-02-03 at 22:23 -0500, Tom Lane wrote:
> Craig Ringer <craig@postnewspapers.com.au> 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





view thread (14+ messages)  latest in thread

Message-ID: <1297216231.3555.8.camel@infinity.localdomain>
Permalink:  ../1297216231.3555.8.camel@infinity.localdomain/
Also on:    postgresql.org/message-id/1297216231.3555.8.camel@infinity.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: matt@zinicola.com, tgl@sss.pgh.pa.us, craig@postnewspapers.com.au
  Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
  In-Reply-To: <1297216231.3555.8.camel@infinity.localdomain>
  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> <1297216231.3555.8.camel@infinity.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox