Title: queue.Queue() is not reentrant, so signals and GC can cause deadlocks · Issue #59181 · python/cpython · GitHub
Open Graph Title: queue.Queue() is not reentrant, so signals and GC can cause deadlocks · Issue #59181 · python/cpython
X Title: queue.Queue() is not reentrant, so signals and GC can cause deadlocks · Issue #59181 · python/cpython
Description: BPO 14976 Nosy @gvanrossum, @tim-one, @rhettinger, @gpshead, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @applio PRs #3346 Files queue_deadlock.py: signal hander reading/writing a queuequeue_sendint.c: send 2 signals to specified proce...
Open Graph Description: BPO 14976 Nosy @gvanrossum, @tim-one, @rhettinger, @gpshead, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @applio PRs #3346 Files queue_deadlock.py: signal hander reading/writing a queuequeue_send...
X Description: BPO 14976 Nosy @gvanrossum, @tim-one, @rhettinger, @gpshead, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @applio PRs #3346 Files queue_deadlock.py: signal hander reading/writing a queuequeue_send...
Opengraph URL: https://github.com/python/cpython/issues/59181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"queue.Queue() is not reentrant, so signals and GC can cause deadlocks","articleBody":"BPO | [14976](https://bugs.python.org/issue14976)\n--- | :---\nNosy | @gvanrossum, @tim-one, @rhettinger, @gpshead, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @applio\nPRs | \u003cli\u003epython/cpython#3346\u003c/li\u003e\nFiles | \u003cli\u003e[queue_deadlock.py](https://bugs.python.org/file25786/queue_deadlock.py \"Uploaded as text/plain at 2012-06-01.09:39:02 by JohanAR\"): signal hander reading/writing a queue\u003c/li\u003e\u003cli\u003e[queue_sendint.c](https://bugs.python.org/file25787/queue_sendint.c \"Uploaded as text/plain at 2012-06-01.09:40:01 by JohanAR\"): send 2 signals to specified process in rapid succession\u003c/li\u003e\u003cli\u003e[queuebug2.py](https://bugs.python.org/file46806/queuebug2.py \"Uploaded as text/plain at 2017-04-16.20:44:33 by itamarst\"): gc-based-queue-problem.py\u003c/li\u003e\u003cli\u003e[q_reentrancy.patch](https://bugs.python.org/file47092/q_reentrancy.patch \"Uploaded as text/plain at 2017-08-18.09:06:19 by @pitrou\")\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 = None\nclosed_at = \u003cDate 2018-01-15.23:27:50.989\u003e\ncreated_at = \u003cDate 2012-06-01.08:43:03.911\u003e\nlabels = ['3.7', 'type-bug', 'library']\ntitle = 'queue.Queue() is not reentrant, so signals and GC can cause deadlocks'\nupdated_at = \u003cDate 2018-01-17.01:04:26.008\u003e\nuser = 'https://bugs.python.org/JohanAR'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-01-17.01:04:26.008\u003e\nactor = 'gregory.p.smith'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2018-01-15.23:27:50.989\u003e\ncloser = 'pitrou'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-06-01.08:43:03.911\u003e\ncreator = 'JohanAR'\ndependencies = []\nfiles = ['25786', '25787', '46806', '47092']\nhgrepos = []\nissue_num = 14976\nkeywords = ['patch']\nmessage_count = 51.0\nmessages = ['162062', '162065', '162069', '162076', '211436', '275181', '275377', '275404', '275421', '275485', '291764', '300421', '300422', '300455', '300478', '300489', '300491', '300499', '300504', '300505', '300509', '300510', '300511', '300532', '300567', '300574', '300575', '300577', '300581', '300723', '300825', '301170', '301173', '301175', '301176', '301207', '301299', '301321', '301322', '301378', '301379', '301380', '301383', '301386', '301409', '310014', '310025', '310026', '310109', '310111', '310125']\nnosy_count = 15.0\nnosy_names = ['gvanrossum', 'tim.peters', 'rhettinger', 'gregory.p.smith', 'ncoghlan', 'pitrou', 'zzzeek', 'python-dev', 'sbt', 'serhiy.storchaka', 'JohanAR', 'yselivanov', 'itamarst', 'davin', 'Catalin Patulea']\npr_nums = ['3346']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue14976'\nversions = ['Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/JohanAR","@type":"Person","name":"JohanAR"},"datePublished":"2012-06-01T08:43:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":51},"url":"https://github.com/59181/cpython/issues/59181"}
| 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:a0d16061-ce4b-4ea1-0ea9-c843fa25a931 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A00E:2F55C:66728A:8D62B8:698E08DB |
| html-safe-nonce | 0a3f239eab96323a212cb999750d4f04d089e450231f9e4beb9c161bb0698568 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDBFOjJGNTVDOjY2NzI4QTo4RDYyQjg6Njk4RTA4REIiLCJ2aXNpdG9yX2lkIjoiNDcxNTM3MTcxOTA0NDIzNzUzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bb12b657717f311bec6386b513f150c657da6b06e24d1b2779123b0f008ef22 |
| hovercard-subject-tag | issue:1198881852 |
| 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/59181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec6d15c59427b6f697c474950af2fa541944dfebbf21844d3f379fde7ac46e34/python/cpython/issues/59181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec6d15c59427b6f697c474950af2fa541944dfebbf21844d3f379fde7ac46e34/python/cpython/issues/59181 |
| og:image:alt | BPO 14976 Nosy @gvanrossum, @tim-one, @rhettinger, @gpshead, @ncoghlan, @pitrou, @serhiy-storchaka, @1st1, @applio PRs #3346 Files queue_deadlock.py: signal hander reading/writing a queuequeue_send... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JohanAR |
| hostname | github.com |
| expected-hostname | github.com |
| None | 70a88bfe6d9639434ae7f5a46d15c336b8884978a51526bc55fc57d848f1e3c1 |
| 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 | 2519b16db5550494a653f9a8837c14ef7df80804 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width