This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author emptysquare
Recipients emptysquare
Date 2015-12-21.23:19:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On some platforms there's an exclusive lock in socketmodule, used for getaddrinfo, gethostbyname, gethostbyaddr. A thread can hold this lock while another forks, leaving it locked forever in the child process. Calls to these functions in the child process will hang.

(I wrote some more details here: )

I propose that this is a bug, and that it can be fixed in PyOS_AfterFork, where a few similar locks are already reset.
Date User Action Args
2015-12-21 23:19:32emptysquaresetrecipients: + emptysquare
2015-12-21 23:19:32emptysquaresetmessageid: <>
2015-12-21 23:19:32emptysquarelinkissue25920 messages
2015-12-21 23:19:32emptysquarecreate