Title: Leaked semaphore objects in test_concurrent_futures · Issue #104090 · python/cpython · GitHub
Open Graph Title: Leaked semaphore objects in test_concurrent_futures · Issue #104090 · python/cpython
X Title: Leaked semaphore objects in test_concurrent_futures · Issue #104090 · python/cpython
Description: Bug report Configuration: ./configure --with-pydebug $ ./python -m test test_concurrent_futures 0:00:00 load avg: 5.30 Run tests sequentially 0:00:00 load avg: 5.30 [1/1] test_concurrent_futures /workspace/cpython/Lib/multiprocessing/pop...
Open Graph Description: Bug report Configuration: ./configure --with-pydebug $ ./python -m test test_concurrent_futures 0:00:00 load avg: 5.30 Run tests sequentially 0:00:00 load avg: 5.30 [1/1] test_concurrent_futures /w...
X Description: Bug report Configuration: ./configure --with-pydebug $ ./python -m test test_concurrent_futures 0:00:00 load avg: 5.30 Run tests sequentially 0:00:00 load avg: 5.30 [1/1] test_concurrent_futures /w...
Opengraph URL: https://github.com/python/cpython/issues/104090
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Leaked semaphore objects in test_concurrent_futures","articleBody":"# Bug report\n\nConfiguration:\n```\n./configure --with-pydebug\n```\n\n```sh\n$ ./python -m test test_concurrent_futures\n0:00:00 load avg: 5.30 Run tests sequentially\n0:00:00 load avg: 5.30 [1/1] test_concurrent_futures\n/workspace/cpython/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=150426) is multi-threaded, use of fork() may lead to deadlocks in the child.\n self.pid = os.fork()\n/workspace/cpython/Lib/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown\n warnings.warn('resource_tracker: There appear to be %d '\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\nTraceback (most recent call last):\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 300, in _run_finalizers\n finalizer()\n File \"/workspace/cpython/Lib/multiprocessing/util.py\", line 224, in __call__\n res = self._callback(*self._args, **self._kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/workspace/cpython/Lib/multiprocessing/synchronize.py\", line 87, in _cleanup\n sem_unlink(name)\nFileNotFoundError: [Errno 2] No such file or directory\ntest_concurrent_futures passed in 2 min 17 sec\n\n== Tests result: SUCCESS ==\n\n1 test OK.\n\nTotal duration: 2 min 17 sec\nTests result: SUCCESS\n```\n\n# Your environment\n\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in --\u003e\n\n- CPython versions tested on: CPython 3.12.0a7+\n- Operating system and architecture: Ubuntu 22.04.2 LTS | Linux-5.15.0-47-generic-x86_64-with-glibc2.35 little-endian\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-106795\n* gh-106807\n* gh-106888\n* gh-115410\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/furkanonder","@type":"Person","name":"furkanonder"},"datePublished":"2023-05-02T13:50:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/104090/cpython/issues/104090"}
| 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:2ba449d3-9bd7-f5ca-24ce-046721940f0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D87E:1C7E2D:9D8BB3:DA7007:696A8388 |
| html-safe-nonce | ca8e7410ec76b2f412b1080e85ddf2027a33bbfd53a7c43c54f9b4bedd12182c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODdFOjFDN0UyRDo5RDhCQjM6REE3MDA3OjY5NkE4Mzg4IiwidmlzaXRvcl9pZCI6IjgwNTU5MDg3OTI2NTk1MTAxNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a90c03ab7b0609bfa99d47d3002bd0e5c8644ddd1d4fe196ec147f16166a00e6 |
| hovercard-subject-tag | issue:1692465608 |
| 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/104090/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47baa0a0e3cf1f7067d40a857853a6030cef048aa87edf53981e35abdbfc2a63/python/cpython/issues/104090 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47baa0a0e3cf1f7067d40a857853a6030cef048aa87edf53981e35abdbfc2a63/python/cpython/issues/104090 |
| og:image:alt | Bug report Configuration: ./configure --with-pydebug $ ./python -m test test_concurrent_futures 0:00:00 load avg: 5.30 Run tests sequentially 0:00:00 load avg: 5.30 [1/1] test_concurrent_futures /w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | furkanonder |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width