[Python-Dev] Re: Re: mysterious hangs in socket code

Guido van Rossum guido@python.org
Fri, 20 Sep 2002 12:16:38 -0400


> Gives me a headache, too, especially once it vectors off into
> the glibc nss code.  These routines (__gethostbyname2_r is the
> likely suspect, __gethostbyaddr_r and __getservbyname_r might
> also get called) do have paths that could twiddle a glibc internal
> lock so it's not impossible there's an issue here, although at
> something less than a term-paper-depth look it doesn't SEEM like
> it should ever be able to block for very long.

Are there any tools for observing the locking calls made?  Maybe just
an strace would help.

--Guido van Rossum (home page: http://www.python.org/~guido/)