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_io leaked [2, 2, 2] references, sum=6 on main branch #94857

Closed
kumaraditya303 opened this issue Jul 14, 2022 · 3 comments
Closed

test_io leaked [2, 2, 2] references, sum=6 on main branch #94857

kumaraditya303 opened this issue Jul 14, 2022 · 3 comments
Assignees
Labels
3.11 only security fixes 3.12 bugs and security fixes type-bug An unexpected behavior, bug, or error

Comments

@kumaraditya303
Copy link
Contributor

test.test_io.CTextIOWrapperTest.test_reconfigure_locale is leaking on main branch.

@kumaraditya303 ➜ /workspaces/cpython (io ✗) $ ./python -m test -R 3:3 test_io -m test_reconfigure_locale
0:00:00 load avg: 1.24 Run tests sequentially
0:00:00 load avg: 1.24 [1/1] test_io
beginning 6 repetitions
123456
......
test_io leaked [2, 2, 2] references, sum=6
test_io failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_io

Total duration: 314 ms
Tests result: FAILURE
@kumaraditya303 kumaraditya303 added type-bug An unexpected behavior, bug, or error 3.12 bugs and security fixes labels Jul 14, 2022
@kumaraditya303
Copy link
Contributor Author

See #94858

cc @pablogsal @corona10

@kumaraditya303 kumaraditya303 self-assigned this Jul 14, 2022
@kumaraditya303
Copy link
Contributor Author

Reproduced on 3.11 branch:

@kumaraditya303 ➜ /workspaces/cpython (3.11) $ ./python -m test -R 3:3 test_io -m test_reconfigure_locale
0:00:00 load avg: 15.27 Run tests sequentially
0:00:00 load avg: 15.27 [1/1] test_io
beginning 6 repetitions
123456
......
test_io leaked [2, 2, 2] references, sum=6
test_io failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_io

Total duration: 552 ms
Tests result: FAILURE

@kumaraditya303 kumaraditya303 added the 3.11 only security fixes label Jul 14, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 18, 2022
(cherry picked from commit 631160c)

Co-authored-by: Kumar Aditya <[email protected]>
miss-islington added a commit that referenced this issue Jul 18, 2022
(cherry picked from commit 631160c)

Co-authored-by: Kumar Aditya <[email protected]>
@kumaraditya303
Copy link
Contributor Author

Fixed by #94858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 bugs and security fixes type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant