[Python-Dev] Re: Re: mysterious hangs in socket code (original) (raw)
Guido van Rossum guido@python.org
Fri, 20 Sep 2002 12:16:38 -0400
- Previous message: [Python-Dev] Re: Re: mysterious hangs in socket code
- Next message: [Python-Dev] Re: Re: mysterious hangs in socket code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gives me a headache, too, especially once it vectors off into _the glibc nss code. These routines (gethostbyname2r is the _likely suspect, _gethostbyaddrr and getservbynamer 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/)
- Previous message: [Python-Dev] Re: Re: mysterious hangs in socket code
- Next message: [Python-Dev] Re: Re: mysterious hangs in socket code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]