Title: Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit · Issue #82187 · python/cpython · GitHub
Open Graph Title: Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit · Issue #82187 · python/cpython
X Title: Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit · Issue #82187 · python/cpython
Description: BPO 38006 Nosy @tim-one, @nascheme, @pitrou, @larryhastings, @tiran, @benjaminp, @ned-deily, @encukou, @methane, @ambv, @markshannon, @jdemeyer, @pablogsal, @miss-islington PRs #15641#15787#15789#16495#16499#16502#16788 Files reproducer....
Open Graph Description: BPO 38006 Nosy @tim-one, @nascheme, @pitrou, @larryhastings, @tiran, @benjaminp, @ned-deily, @encukou, @methane, @ambv, @markshannon, @jdemeyer, @pablogsal, @miss-islington PRs #15641#15787#15789#1...
X Description: BPO 38006 Nosy @tim-one, @nascheme, @pitrou, @larryhastings, @tiran, @benjaminp, @ned-deily, @encukou, @methane, @ambv, @markshannon, @jdemeyer, @pablogsal, @miss-islington PRs #15641#15787#15789#1...
Opengraph URL: https://github.com/python/cpython/issues/82187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit","articleBody":"BPO | [38006](https://bugs.python.org/issue38006)\n--- | :---\nNosy | @tim-one, @nascheme, @pitrou, @larryhastings, @tiran, @benjaminp, @ned-deily, @encukou, @methane, @ambv, @markshannon, @jdemeyer, @pablogsal, @miss-islington\nPRs | \u003cli\u003epython/cpython#15641\u003c/li\u003e\u003cli\u003epython/cpython#15787\u003c/li\u003e\u003cli\u003epython/cpython#15789\u003c/li\u003e\u003cli\u003epython/cpython#16495\u003c/li\u003e\u003cli\u003epython/cpython#16499\u003c/li\u003e\u003cli\u003epython/cpython#16502\u003c/li\u003e\u003cli\u003epython/cpython#16788\u003c/li\u003e\nFiles | \u003cli\u003e[reproducer.tar.gz](https://bugs.python.org/file48586/reproducer.tar.gz \"Uploaded as application/gzip at 2019-09-03.08:45:31 by @vstinner\")\u003c/li\u003e\u003cli\u003e[gc_crash.py](https://bugs.python.org/file48587/gc_crash.py \"Uploaded as text/plain at 2019-09-03.14:20:29 by @vstinner\")\u003c/li\u003e\u003cli\u003e[gc_crash.patch](https://bugs.python.org/file48588/gc_crash.patch \"Uploaded as text/plain at 2019-09-03.14:20:38 by @vstinner\")\u003c/li\u003e\u003cli\u003e[gc_disable_wr_callback.txt](https://bugs.python.org/file48630/gc_disable_wr_callback.txt \"Uploaded as text/plain at 2019-09-30.01:06:31 by @nascheme\")\u003c/li\u003e\u003cli\u003e[gc_weakref_bug_demo.py](https://bugs.python.org/file48633/gc_weakref_bug_demo.py \"Uploaded as text/plain at 2019-10-01.03:10:16 by @nascheme\")\u003c/li\u003e\u003cli\u003e[gc_weakref_bug_demo2.py](https://bugs.python.org/file48637/gc_weakref_bug_demo2.py \"Uploaded as text/plain at 2019-10-01.20:55:23 by @nascheme\")\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/nascheme'\nclosed_at = \u003cDate 2021-11-08.21:45:42.669\u003e\ncreated_at = \u003cDate 2019-09-02.09:48:27.174\u003e\nlabels = ['interpreter-core', '3.7', '3.8', '3.9', 'type-crash']\ntitle = 'Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit'\nupdated_at = \u003cDate 2021-11-08.21:45:42.668\u003e\nuser = 'https://github.com/tiran'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-11-08.21:45:42.668\u003e\nactor = 'nascheme'\nassignee = 'nascheme'\nclosed = True\nclosed_date = \u003cDate 2021-11-08.21:45:42.669\u003e\ncloser = 'nascheme'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2019-09-02.09:48:27.174\u003e\ncreator = 'christian.heimes'\ndependencies = []\nfiles = ['48586', '48587', '48588', '48630', '48633', '48637']\nhgrepos = []\nissue_num = 38006\nkeywords = ['patch', '3.8regression']\nmessage_count = 96.0\nmessages = ['350974', '350975', '350976', '350981', '350983', '350985', '350987', '350990', '350991', '350992', '350995', '350996', '350997', '350998', '350999', '351006', '351007', '351009', '351010', '351012', '351015', '351017', '351020', '351037', '351038', '351039', '351040', '351041', '351042', '351067', '351072', '351077', '351082', '351083', '351086', '351098', '351099', '351492', '351519', '351561', '351676', '353371', '353378', '353398', '353399', '353410', '353412', '353414', '353439', '353480', '353506', '353512', '353515', '353520', '353521', '353522', '353524', '353527', '353528', '353531', '353580', '353592', '353593', '353596', '353597', '353598', '353600', '353601', '353602', '353603', '353604', '353605', '353606', '353607', '353608', '353610', '353623', '353631', '353642', '353643', '353708', '353713', '353726', '353729', '353867', '353875', '353883', '353884', '353896', '353961', '354674', '354678', '354685', '354766', '405980', '405984']\nnosy_count = 14.0\nnosy_names = ['tim.peters', 'nascheme', 'pitrou', 'larry', 'christian.heimes', 'benjamin.peterson', 'ned.deily', 'petr.viktorin', 'methane', 'lukasz.langa', 'Mark.Shannon', 'jdemeyer', 'pablogsal', 'miss-islington']\npr_nums = ['15641', '15787', '15789', '16495', '16499', '16502', '16788']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'crash'\nurl = 'https://bugs.python.org/issue38006'\nversions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2019-09-02T09:48:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":96},"url":"https://github.com/82187/cpython/issues/82187"}
| 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:50d1b55e-154c-0f73-5af2-ac79beb10d20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC00:39F98C:E53900:14CB10B:6A54C23F |
| html-safe-nonce | b06eae8d6835f7db97dafd95182a89eac35fb4a435d2537ec02a057229e82840 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzAwOjM5Rjk4QzpFNTM5MDA6MTRDQjEwQjo2QTU0QzIzRiIsInZpc2l0b3JfaWQiOiI0NTk4MDcwMzY4MjkyNjE4ODE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ffb1981bbce936b7df381d992fcbd75b1cde8f7ce38371af273d4192505437c3 |
| hovercard-subject-tag | issue:1199018759 |
| 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/82187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a1f2be6cf95a9ba02eb5f1565eb387a78f667ec52352bff87788a6f79cbaf8b/python/cpython/issues/82187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a1f2be6cf95a9ba02eb5f1565eb387a78f667ec52352bff87788a6f79cbaf8b/python/cpython/issues/82187 |
| og:image:alt | BPO 38006 Nosy @tim-one, @nascheme, @pitrou, @larryhastings, @tiran, @benjaminp, @ned-deily, @encukou, @methane, @ambv, @markshannon, @jdemeyer, @pablogsal, @miss-islington PRs #15641#15787#15789#1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiran |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width