Skip site navigation (1) Skip section navigation (2)

Re: BUG #5862: Postgres dumps core upon a connection attempt

From: Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: Matt Zinicola <matt(at)zinicola(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt
Date: 2011-02-09 02:54:15
Message-ID: 4D5201D7.7020001@catalyst.net.nz (view raw or flat)
Thread:
Lists: pgsql-bugs
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



In response to

pgsql-bugs by date

Next:From: Greg Sabino MullaneDate: 2011-02-09 03:05:22
Subject: Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]
Previous:From: Matthew ZinicolaDate: 2011-02-09 01:50:31
Subject: Re: BUG #5862: Postgres dumps core upon a connection attempt

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group