
> > 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

Fri, 18 Jun 2004 10:20:47 +0200
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Re: signal 11 on AIX: 7.4.2