Title: returning after forking a child thread doesn't call Py_Finalize · Issue #50891 · python/cpython · GitHub
Open Graph Title: returning after forking a child thread doesn't call Py_Finalize · Issue #50891 · python/cpython
X Title: returning after forking a child thread doesn't call Py_Finalize · Issue #50891 · python/cpython
Description: BPO 6642 Nosy @gpshead, @vstinner, @tiran, @rnk Dependencies bpo-6643: Throw away more radioactive locks that could be held across a fork in threading.py Files thread_fork_hang.py: Failing fork/threads test case.finalize-patch.diff: Stra...
Open Graph Description: BPO 6642 Nosy @gpshead, @vstinner, @tiran, @rnk Dependencies bpo-6643: Throw away more radioactive locks that could be held across a fork in threading.py Files thread_fork_hang.py: Failing fork/thr...
X Description: BPO 6642 Nosy @gpshead, @vstinner, @tiran, @rnk Dependencies bpo-6643: Throw away more radioactive locks that could be held across a fork in threading.py Files thread_fork_hang.py: Failing fork/thr...
Opengraph URL: https://github.com/python/cpython/issues/50891
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"returning after forking a child thread doesn't call Py_Finalize","articleBody":"BPO | [6642](https://bugs.python.org/issue6642)\n--- | :---\nNosy | @gpshead, @vstinner, @tiran, @rnk\nDependencies | \u003cli\u003ebpo-6643: Throw away more radioactive locks that could be held across a fork in threading.py\u003c/li\u003e\nFiles | \u003cli\u003e[thread_fork_hang.py](https://bugs.python.org/file14646/thread_fork_hang.py \"Uploaded as text/plain at 2009-08-04.18:21:45 by @rnk\"): Failing fork/threads test case.\u003c/li\u003e\u003cli\u003e[finalize-patch.diff](https://bugs.python.org/file14653/finalize-patch.diff \"Uploaded as text/plain at 2009-08-05.01:06:22 by @rnk\"): Straw man patch to do finalization when returning from a forked child thread.\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/rnk'\nclosed_at = None\ncreated_at = \u003cDate 2009-08-04.18:21:49.307\u003e\nlabels = ['interpreter-core', 'type-bug', '3.9', '3.10', '3.11', 'expert-subinterpreters', 'library']\ntitle = \"returning after forking a child thread doesn't call Py_Finalize\"\nupdated_at = \u003cDate 2021-12-12.19:10:33.814\u003e\nuser = 'https://github.com/rnk'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-12-12.19:10:33.814\u003e\nactor = 'iritkatriel'\nassignee = 'rnk'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Interpreter Core', 'Library (Lib)', 'Subinterpreters']\ncreation = \u003cDate 2009-08-04.18:21:49.307\u003e\ncreator = 'rnk'\ndependencies = ['6643']\nfiles = ['14646', '14653']\nhgrepos = []\nissue_num = 6642\nkeywords = ['patch']\nmessage_count = 5.0\nmessages = ['91263', '91290', '192367', '192370', '396681']\nnosy_count = 6.0\nnosy_names = ['gregory.p.smith', 'vstinner', 'christian.heimes', 'rnk', 'neologix', 'sbt']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue6642'\nversions = ['Python 3.9', 'Python 3.10', 'Python 3.11']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/rnk","@type":"Person","name":"rnk"},"datePublished":"2009-08-04T18:21:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/50891/cpython/issues/50891"}
| 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:a9c6f40e-0fed-8d3c-6456-c280038e4b62 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A988:1F08C5:3ED11FE:5719552:6A54CF27 |
| html-safe-nonce | 1b42a749fbb6495fe597a6a9405de601e5c8481f3b0734f5f9fc9e3dafc9135d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTg4OjFGMDhDNTozRUQxMUZFOjU3MTk1NTI6NkE1NENGMjciLCJ2aXNpdG9yX2lkIjoiMzAzMDk3OTQzMzU1MTE1NDk4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee61c7804ad3856324af134f3148b28bfbf40595447c4c68216575de92486e6f |
| hovercard-subject-tag | issue:1198846981 |
| 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/50891/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45d040718b2327ff4dacdd5a512ba04de0cd16846402f5b1bbf7b5290116cd2b/python/cpython/issues/50891 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45d040718b2327ff4dacdd5a512ba04de0cd16846402f5b1bbf7b5290116cd2b/python/cpython/issues/50891 |
| og:image:alt | BPO 6642 Nosy @gpshead, @vstinner, @tiran, @rnk Dependencies bpo-6643: Throw away more radioactive locks that could be held across a fork in threading.py Files thread_fork_hang.py: Failing fork/thr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rnk |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| 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 | 840b5d20d5a883c23cf56f5240b2c343d6cc0867 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width