Bug 45077

GemStone/S 64 Bit

3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2,,,,,,, 3.1

All Platforms


GsSocket getHostNameByAddress can hang

Calls to GsSocket>>getHostNameByAddress: can hang indefinitely.

This is caused when a partially-qualified address argument is passed to getHostNameByAddress:, and the underlying code executes a getnameinfo call to the DNS name server, which responds with an EAI_AGAIN error (see the man page for getnameinfo for details).  GemStone keeps repeating the operation, hoping to get a correct response, which never comes.


Investigate the configuration of your DNS name server in terms of this address argument to determine the root cause.

Last updated: 3/9/15