Title: shutdown (exit) can hang or segfault with daemon threads running · Issue #46164 · python/cpython · GitHub
Open Graph Title: shutdown (exit) can hang or segfault with daemon threads running · Issue #46164 · python/cpython
X Title: shutdown (exit) can hang or segfault with daemon threads running · Issue #46164 · python/cpython
Description: BPO 1856 Nosy @birkenfeld, @terryjreedy, @doko42, @gpshead, @kbkaiser, @amauryfa, @pitrou, @vstinner, @benjaminp, @ned-deily, @Trundle Files thread_exit.py: run this several times for several different behaviorspython-trunk-issue1856-thr...
Open Graph Description: BPO 1856 Nosy @birkenfeld, @terryjreedy, @doko42, @gpshead, @kbkaiser, @amauryfa, @pitrou, @vstinner, @benjaminp, @ned-deily, @Trundle Files thread_exit.py: run this several times for several diffe...
X Description: BPO 1856 Nosy @birkenfeld, @terryjreedy, @doko42, @gpshead, @kbkaiser, @amauryfa, @pitrou, @vstinner, @benjaminp, @ned-deily, @Trundle Files thread_exit.py: run this several times for several diffe...
Opengraph URL: https://github.com/python/cpython/issues/46164
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shutdown (exit) can hang or segfault with daemon threads running","articleBody":"BPO | [1856](https://bugs.python.org/issue1856)\n--- | :---\nNosy | @birkenfeld, @terryjreedy, @doko42, @gpshead, @kbkaiser, @amauryfa, @pitrou, @vstinner, @benjaminp, @ned-deily, @Trundle\nFiles | \u003cli\u003e[thread_exit.py](https://bugs.python.org/file9188/thread_exit.py \"Uploaded as text/plain at 2008-01-17.02:01:09 by @gpshead\"): run this several times for several different behaviors\u003c/li\u003e\u003cli\u003e[python-trunk-issue1856-threadexit.diff](https://bugs.python.org/file9199/python-trunk-issue1856-threadexit.diff \"Uploaded as text/plain at 2008-01-17.22:35:35 by Rhamphoryncus\"): Immediately exit non-main threads if the interpreter is exiting\u003c/li\u003e\u003cli\u003e[thread_noswap.patch](https://bugs.python.org/file9200/thread_noswap.patch \"Uploaded as text/plain at 2008-01-17.22:54:38 by @amauryfa\")\u003c/li\u003e\u003cli\u003e[python-thread_noswap-2.diff](https://bugs.python.org/file10208/python-thread_noswap-2.diff \"Uploaded as text/plain at 2008-05-07.18:11:50 by Rhamphoryncus\")\u003c/li\u003e\u003cli\u003e[finalizing.patch](https://bugs.python.org/file21862/finalizing.patch \"Uploaded as text/plain at 2011-05-02.20:49:53 by @pitrou\")\u003c/li\u003e\u003cli\u003e[finalizing2.patch](https://bugs.python.org/file21872/finalizing2.patch \"Uploaded as text/plain at 2011-05-03.17:25:35 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 2014-07-11.21:08:57.822\u003e\ncreated_at = \u003cDate 2008-01-17.02:01:14.628\u003e\nlabels = ['interpreter-core', 'type-crash']\ntitle = 'shutdown (exit) can hang or segfault with daemon threads running'\nupdated_at = \u003cDate 2020-03-26.23:05:06.906\u003e\nuser = 'https://github.com/gpshead'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-03-26.23:05:06.906\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2014-07-11.21:08:57.822\u003e\ncloser = 'ned.deily'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-01-17.02:01:14.628\u003e\ncreator = 'gregory.p.smith'\ndependencies = []\nfiles = ['9188', '9199', '9200', '10208', '21862', '21872']\nhgrepos = []\nissue_num = 1856\nkeywords = ['patch']\nmessage_count = 32.0\nmessages = ['60014', '60016', '60018', '60056', '60059', '60063', '60069', '60070', '60071', '60072', '60073', '60074', '60075', '60077', '66363', '66742', '73720', '81485', '112641', '115330', '116928', '135006', '135007', '135051', '135144', '135146', '194599', '220786', '222768', '222796', '231460', '365120']\nnosy_count = 20.0\nnosy_names = ['georg.brandl', 'terry.reedy', 'doko', 'gregory.p.smith', 'kbk', 'guettli', 'amaury.forgeotdarc', 'ggenellina', 'Rhamphoryncus', 'larsimmisch', 'pitrou', 'vstinner', 'forest', 'flub', 'benjamin.peterson', 'jamescooper', 'ned.deily', 'Trundle', 'Netto', 'python-dev']\npr_nums = []\npriority = 'high'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'crash'\nurl = 'https://bugs.python.org/issue1856'\nversions = ['Python 3.2', 'Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/gpshead","@type":"Person","name":"gpshead"},"datePublished":"2008-01-17T02:01:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":32},"url":"https://github.com/46164/cpython/issues/46164"}
| 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:9f2d7b94-eba7-0e29-43dd-ce22260b2979 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9FF6:319547:23388C6:2DE8097:696B5442 |
| html-safe-nonce | e3a9849e5c5cdde008a0c56a6a2b34bc9d2784ad6d3958a1b8041f6479a6a741 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkY2OjMxOTU0NzoyMzM4OEM2OjJERTgwOTc6Njk2QjU0NDIiLCJ2aXNpdG9yX2lkIjoiODg1NDcyOTE4MDIyMjAxODYyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b43437801f5549f8432ce962fe982cee489adea70ecfcb8278e140e51a951535 |
| hovercard-subject-tag | issue:1198827450 |
| 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/46164/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c7b850954efe776699ca9f7cb54c2ffd08774fa2d675af7610300cd8878eead9/python/cpython/issues/46164 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c7b850954efe776699ca9f7cb54c2ffd08774fa2d675af7610300cd8878eead9/python/cpython/issues/46164 |
| og:image:alt | BPO 1856 Nosy @birkenfeld, @terryjreedy, @doko42, @gpshead, @kbkaiser, @amauryfa, @pitrou, @vstinner, @benjaminp, @ned-deily, @Trundle Files thread_exit.py: run this several times for several diffe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gpshead |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width