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 yselivanov
Recipients emptysquare, ionelmc, vstinner, yselivanov
Date 2015-12-21.23:55:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Maybe instead of releasing the lock in the forked child process, we should try to acquire the lock in the os.fork() implementation, and then release it?

Otherwise, suppose that a call to getaddrinfo (call #1) takes a long amount of time.  In the middle of it we fork, and then immediately try to call getaddrinfo (call #2, and call #1 is still happening) for some other address. At this point, since getaddrinfo isn't threadsafe, something bad will happen.
Date User Action Args
2015-12-21 23:55:27yselivanovsetrecipients: + yselivanov, vstinner, ionelmc, emptysquare
2015-12-21 23:55:27yselivanovsetmessageid: <>
2015-12-21 23:55:27yselivanovlinkissue25920 messages
2015-12-21 23:55:27yselivanovcreate