Title: test_ctypes are leaked · Issue #104456 · python/cpython · GitHub
Open Graph Title: test_ctypes are leaked · Issue #104456 · python/cpython
X Title: test_ctypes are leaked · Issue #104456 · python/cpython
Description: Tried on last commit. PS C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -R 3:3 test_ctypes Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_ctypes beginning 6 repetitions 123456 a=5, b=10, c=1...
Open Graph Description: Tried on last commit. PS C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -R 3:3 test_ctypes Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_ctypes begin...
X Description: Tried on last commit. PS C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -R 3:3 test_ctypes Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_ctypes be...
Opengraph URL: https://github.com/python/cpython/issues/104456
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_ctypes are leaked","articleBody":"Tried on last commit.\r\n```python\r\n PS C:\\Users\\KIRILL-1\\CLionProjects\\cpython\u003e ./python -m test -R 3:3 test_ctypes \r\nRunning Debug|x64 interpreter...\r\n0:00:00 Run tests sequentially\r\n0:00:00 [1/1] test_ctypes\r\nbeginning 6 repetitions\r\n123456\r\na=5, b=10, c=15\r\na=5, b=10, c=15\r\n.a=5, b=10, c=15\r\na=5, b=10, c=15\r\n.a=5, b=10, c=15\r\na=5, b=10, c=15\r\n.a=5, b=10, c=15\r\na=5, b=10, c=15\r\n.a=5, b=10, c=15\r\na=5, b=10, c=15\r\n.a=5, b=10, c=15\r\na=5, b=10, c=15\r\n.\r\ntest_ctypes leaked [5, 5, 5] references, sum=15\r\ntest_ctypes leaked [3, 3, 4] memory blocks, sum=10\r\ntest_ctypes failed (reference leak)\r\n\r\n== Tests result: FAILURE ==\r\n\r\n1 test failed:\r\n test_ctypes\r\n\r\nTotal duration: 17.1 sec\r\nTests result: FAILURE\r\n```\r\nOS: Windows 10\r\nHowever, I cannot reproduce it in Linux (WSL Ubuntu)\r\n\r\nUPD:\r\nIt is `test_ctypes/test_win32.py/test_COMError`\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104457\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Eclips4","@type":"Person","name":"Eclips4"},"datePublished":"2023-05-13T18:35:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/104456/cpython/issues/104456"}
| 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:f2260934-a740-7490-414b-abb1b7896ae7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8970:217FCE:134880:1A3231:6969C809 |
| html-safe-nonce | 79da58890c81b815eaf2fd8f3540773b8259d622911f821b33679cfea03d814d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTcwOjIxN0ZDRToxMzQ4ODA6MUEzMjMxOjY5NjlDODA5IiwidmlzaXRvcl9pZCI6IjcxNTMwMzg0ODQ0MzQ0MzgxNTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 72166904b53bd97032b5dbd7199dff3e6a2db3c1401cad0bfc2e9bba6fd93748 |
| hovercard-subject-tag | issue:1708708234 |
| 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/104456/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d8c89ff872c123bb89522e45fd3bd0db2bbbefedf5d98fa519c5a155db90f3c/python/cpython/issues/104456 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d8c89ff872c123bb89522e45fd3bd0db2bbbefedf5d98fa519c5a155db90f3c/python/cpython/issues/104456 |
| og:image:alt | Tried on last commit. PS C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -R 3:3 test_ctypes Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_ctypes begin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eclips4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width