Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_asyncio leaked [2, 2, 2] references, sum=6 in AMD64 Windows8.1 Refleaks 3.7 #78701

Closed
pablogsal opened this issue Aug 27, 2018 · 4 comments
Labels
3.7 (EOL) end of life OS-windows tests Tests in the Lib/test dir topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

BPO 34520
Nosy @brettcannon, @pfmoore, @vstinner, @tjguk, @asvetlov, @zware, @1st1, @zooba, @pablogsal

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2019-06-14.10:26:17.099>
created_at = <Date 2018-08-27.16:22:26.829>
labels = ['3.7', 'type-bug', 'tests', 'OS-windows', 'expert-asyncio']
title = 'test_asyncio leaked [2, 2, 2] references, sum=6 in AMD64 Windows8.1 Refleaks 3.7'
updated_at = <Date 2019-06-14.10:26:17.098>
user = 'https://github.com/pablogsal'

bugs.python.org fields:

activity = <Date 2019-06-14.10:26:17.098>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2019-06-14.10:26:17.099>
closer = 'vstinner'
components = ['Tests', 'Windows', 'asyncio']
creation = <Date 2018-08-27.16:22:26.829>
creator = 'pablogsal'
dependencies = []
files = []
hgrepos = []
issue_num = 34520
keywords = []
message_count = 4.0
messages = ['324187', '324287', '324288', '345572']
nosy_count = 9.0
nosy_names = ['brett.cannon', 'paul.moore', 'vstinner', 'tim.golden', 'asvetlov', 'zach.ware', 'yselivanov', 'steve.dower', 'pablogsal']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue34520'
versions = ['Python 3.7']

@pablogsal
Copy link
Member Author

test_asyncio is potentially leaking resources in AMD64 Windows8.1 Refleaks 3.7:

https://buildbot.python.org/all/#/builders/132/builds/241

----------------------------------------------------------------------
Ran 1782 tests in 115.342s
OK (skipped=78)
.
test_asyncio leaked [2, 2, 2] references, sum=6
test_asyncio leaked [2, 3, 2] memory blocks, sum=7
3 tests failed again:
test_asyncio test_smtplib test_trace
== Tests result: FAILURE then FAILURE ==
383 tests OK.

@pablogsal pablogsal added 3.7 (EOL) end of life tests Tests in the Lib/test dir OS-windows topic-asyncio type-bug An unexpected behavior, bug, or error labels Aug 27, 2018
@brettcannon
Copy link
Member

If it isn't leaking in 3.8 then it's possibly not disposing of the event loop (I added a check for that in 8425de4#diff-226dcee10b9d2f379e54d4415489236f ).

@vstinner
Copy link
Member

See also bpo-32710.

@vstinner
Copy link
Member

Sadly, without much information, it's hard to guess what leaked nor if the issue has been fixed in the meanwhile. So I close the issue as outdated.

I just found a leak in test_asyncio ProactorLoopCtrlC and I proposed a fix: https://bugs.python.org/issue37278

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life OS-windows tests Tests in the Lib/test dir topic-asyncio type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants