Re: BUG #1151: Initdb fails ... - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1151: Initdb fails ...
Date
Msg-id 25900.1084378909@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1151: Initdb fails ...  (Laurent FAILLIE <l_faillie@yahoo.com>)
Responses Re: BUG #1151: Initdb fails ...
Re: BUG #1151: Initdb fails ...
List pgsql-bugs
Laurent FAILLIE <l_faillie@yahoo.com> writes:
> I do a full recompile (I have removed the directory
> and restart from the tarball) => Same result :-(
> I got the same error from initdb.

Hm.  It's starting to sound like an actual bug --- though whether it's
in HPUX 11.00, gcc, or Postgres is difficult to guess.  The Postgres
code is certainly known to work on many platforms, but it could have
an unsuspected platform dependency that only shows up here.

One thing I'd ask is whether you are up-to-date on libc patches for your
HPUX installation.  It's plausible that this could be the result of
buggy libc code (such as strtol or related routines).  And my
recollection is that 11.00 was about as bulletproof as you'd expect for
a dot-zero release :-(

If no joy there, the only thing I can suggest is to rebuild with
--enable-debug (if you didn't already) and start digging into it with
gdb.  If that sounds a bit out of your league, I'd be willing to do it
if you can give me ssh access to the machine.  (I don't need root,
an unprivileged user account is enough.)
        regards, tom lane


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1147: Getting rid of LD_LIBRARY_PATH
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1153: to_ascii() doesn't work on eth (ðÐ)