Re: signal 11 on AIX: 7.4.2 - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: signal 11 on AIX: 7.4.2
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D10A@m0114.s-mxs.net
Whole thread Raw
In response to signal 11 on AIX: 7.4.2  (Andrew Sullivan <ajs@crankycanuck.ca>)
List 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


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: pgsql-server: Tablespaces.
Next
From: Mark Gibson
Date:
Subject: CREATE TABLE ... LIKE composite type