Title: select.poll is not thread safe · Issue #53111 · python/cpython · GitHub
Open Graph Title: select.poll is not thread safe · Issue #53111 · python/cpython
X Title: select.poll is not thread safe · Issue #53111 · python/cpython
Description: BPO 8865 Nosy @gpshead, @pitrou, @vstinner, @asvetlov, @serhiy-storchaka Files select_threads.py: python2 script that demonstrates the problemconcurrent_poll_and_register.py: python2 script to demonstrate memory corruption issueselect.pa...
Open Graph Description: BPO 8865 Nosy @gpshead, @pitrou, @vstinner, @asvetlov, @serhiy-storchaka Files select_threads.py: python2 script that demonstrates the problemconcurrent_poll_and_register.py: python2 script to demo...
X Description: BPO 8865 Nosy @gpshead, @pitrou, @vstinner, @asvetlov, @serhiy-storchaka Files select_threads.py: python2 script that demonstrates the problemconcurrent_poll_and_register.py: python2 script to demo...
Opengraph URL: https://github.com/python/cpython/issues/53111
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"select.poll is not thread safe","articleBody":"BPO | [8865](https://bugs.python.org/issue8865)\n--- | :---\nNosy | @gpshead, @pitrou, @vstinner, @asvetlov, @serhiy-storchaka\nFiles | \u003cli\u003e[select_threads.py](https://bugs.python.org/file17510/select_threads.py \"Uploaded as text/plain at 2010-06-01.06:35:18 by apexo\"): python2 script that demonstrates the problem\u003c/li\u003e\u003cli\u003e[concurrent_poll_and_register.py](https://bugs.python.org/file17511/concurrent_poll_and_register.py \"Uploaded as text/plain at 2010-06-01.07:09:25 by apexo\"): python2 script to demonstrate memory corruption issue\u003c/li\u003e\u003cli\u003e[select.patch](https://bugs.python.org/file17675/select.patch \"Uploaded as text/plain at 2010-06-15.10:21:24 by apexo\"): a patch\u003c/li\u003e\u003cli\u003e[select_concurrent_poll.patch](https://bugs.python.org/file27961/select_concurrent_poll.patch \"Uploaded as text/plain at 2012-11-11.19:48:09 by @serhiy-storchaka\"): Updated to 2.7 for review patch\u003c/li\u003e\u003cli\u003e[select_concurrent_poll.patch](https://bugs.python.org/file27963/select_concurrent_poll.patch \"Uploaded as text/plain at 2012-11-11.21:50:30 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[issue8865-poll-multithread-gps01.diff](https://bugs.python.org/file27964/issue8865-poll-multithread-gps01.diff \"Uploaded as text/plain at 2012-11-11.21:51:04 by @gpshead\"): updated, against 3.2\u003c/li\u003e\u003cli\u003e[issue8865_v2.diff](https://bugs.python.org/file27967/issue8865_v2.diff \"Uploaded as text/plain at 2012-11-12.09:22:09 by apexo\"): forbid concurrent poll() invocation\u003c/li\u003e\u003cli\u003e[issue8865_v3.diff](https://bugs.python.org/file27968/issue8865_v3.diff \"Uploaded as text/plain at 2012-11-12.10:02:00 by apexo\"): RuntimeError instead of TypeError\u003c/li\u003e\u003cli\u003e[test.py](https://bugs.python.org/file28687/test.py \"Uploaded as text/plain at 2013-01-11.09:00:32 by neologix\"): crasher\u003c/li\u003e\u003cli\u003e[issue8865_test.patch](https://bugs.python.org/file28855/issue8865_test.patch \"Uploaded as text/plain at 2013-01-26.18:15:18 by @serhiy-storchaka\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/serhiy-storchaka'\nclosed_at = \u003cDate 2013-08-20.18:23:29.244\u003e\ncreated_at = \u003cDate 2010-05-31.22:20:13.881\u003e\nlabels = ['library', 'type-crash']\ntitle = 'select.poll is not thread safe'\nupdated_at = \u003cDate 2013-08-20.18:23:29.243\u003e\nuser = 'https://bugs.python.org/apexo'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2013-08-20.18:23:29.243\u003e\nactor = 'serhiy.storchaka'\nassignee = 'serhiy.storchaka'\nclosed = True\nclosed_date = \u003cDate 2013-08-20.18:23:29.244\u003e\ncloser = 'serhiy.storchaka'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2010-05-31.22:20:13.881\u003e\ncreator = 'apexo'\ndependencies = []\nfiles = ['17510', '17511', '17675', '27961', '27963', '27964', '27967', '27968', '28687', '28855']\nhgrepos = []\nissue_num = 8865\nkeywords = ['patch']\nmessage_count = 31.0\nmessages = ['106815', '106816', '106827', '106829', '107863', '175387', '175389', '175390', '175394', '175395', '175397', '175400', '175409', '175429', '175431', '175432', '175501', '175525', '176894', '176895', '176969', '176998', '179657', '179659', '180696', '181822', '181823', '186736', '194334', '195705', '195707']\nnosy_count = 9.0\nnosy_names = ['gregory.p.smith', 'exarkun', 'pitrou', 'vstinner', 'asvetlov', 'neologix', 'apexo', 'python-dev', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'crash'\nurl = 'https://bugs.python.org/issue8865'\nversions = ['Python 2.7', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/apexo","@type":"Person","name":"apexo"},"datePublished":"2010-05-31T22:20:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":31},"url":"https://github.com/53111/cpython/issues/53111"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:267e97f0-3736-ec40-4e91-cf753de6c866 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FC2:13EE66:1EF7E42:2C483A2:6A50F10A |
| html-safe-nonce | 4c212b628ebd30f3adca8cca8cfce3c28f03183eed1f86af524870097706ed80 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkMyOjEzRUU2NjoxRUY3RTQyOjJDNDgzQTI6NkE1MEYxMEEiLCJ2aXNpdG9yX2lkIjoiMjQzMzI5NTI1NDk3MzExNjY4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 25979f2f5a4463c8e1fa21d889ddfb24c6faf6fbc589eb5db340f40260881f65 |
| hovercard-subject-tag | issue:1198856134 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/53111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec9be7dcd3a6b62984ed52afb601ac7b1624790c6099fc604e86f2fc6a35154b/python/cpython/issues/53111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec9be7dcd3a6b62984ed52afb601ac7b1624790c6099fc604e86f2fc6a35154b/python/cpython/issues/53111 |
| og:image:alt | BPO 8865 Nosy @gpshead, @pitrou, @vstinner, @asvetlov, @serhiy-storchaka Files select_threads.py: python2 script that demonstrates the problemconcurrent_poll_and_register.py: python2 script to demo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | apexo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5ec60191a48933536a90c8a19f47142fcd0d4739 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width