Re: signal 11 on AIX: 7.4.2

From: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
To: "Andrew Sullivan" <ajs(at)crankycanuck(dot)ca>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: signal 11 on AIX: 7.4.2
Date: 2004-06-18 08:20:47
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA40184D10A@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > My only guess is that getaddrinfo in your libc has a bug somehow that is
> > corrupting the stack (hance the improper backtrace), then crashing.
>
> It could be libc on AIX, I suppose, but it strikes me as sort of odd
> that nobody else ever seens this. Unless nobody else is using AIX
> 5.1, which is of course possible.

I can confirm, that AIX 4.3.2 getaddrinfo is at least a bit *funny*.
getaddrinfo seems to not honour nsorder and only does dns, even though the manual sais:
"Should there be any discrepancies between this description and the POSIX description,
the POSIX description takes precedence."
The function does return multiple entries, often the first is not the best.

Log is:
LOG: could not translate service "5432" to address: Host not found
WARNING: could not create listen socket for "*"
LOG: could not bind socket for statistics collector: Can't assign requested address
LOG: disabling statistics collector for lack of working socket

This area probably needs a fix/workaround on AIX :-(

Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Gibson 2004-06-18 10:07:00 CREATE TABLE ... LIKE composite type
Previous Message Gavin Sherry 2004-06-18 07:02:58 Re: Tablespace patch review