Bug 44815

GemStone/S 64 Bit

3.2.3, 3.2.2, 3.2.1, 3.2, 3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.3, 3.1.0.2, 3.1.0.1, 3.1

All Platforms

3.2.4

GsSocket getHostAddressByName/getHostAddressesByName can hang

Calls to GsSocket>>getHostAddressesByName: can hang indefinitely.  Since GsSocket>>getHostAddressByName: calls this method, it is also affected.

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

Workaround

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


                

Last updated: 3/9/15