8000 ``test_import`` leaks references · Issue #127738 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

test_import leaks references #127738

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

Closed
Eclips4 opened this issue Dec 8, 2024 · 3 comments
Closed

test_import leaks references #127738

Eclips4 opened this issue Dec 8, 2024 · 3 comments
Assignees
Labels
3.14 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member
Eclips4 commented Dec 8, 2024

Bug report

Bug description:

clips4@nixos ~/p/p/cpython (main) [2]> ./python -m test -R 3:3 test_import
Using random seed: 4113035587
0:00:00 load avg: 2.84 Run 1 test sequentially in a single process
0:00:00 load avg: 2.84 [1/1] test_import
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XXX XXX
test_import leaked [52, 54, 51] references, sum=157
test_import leaked [34, 34, 33] memory blocks, sum=101
test_import failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_import

Total duration: 29.2 sec
Total tests: run=116 skipped=3
Total test files: run=1/1 failed=1
Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

@Eclips4 Eclips4 added the type-bug An unexpected behavior, bug, or error label Dec 8, 2024
@Eclips4 Eclips4 changed the title test_importlib leaks references test_import leaks references Dec 8, 2024
@Eclips4
Copy link
Member Author
Eclips4 commented Dec 8, 2024

Bisected to 023b7d2
cc @markshannon

@picnixz picnixz added tests Tests in the Lib/test dir 3.14 bugs and security fixes labels Dec 8, 2024
@markshannon markshannon self-assigned this Dec 9, 2024
@markshannon
Copy link
Member

I'm looking into it.

@markshannon
Copy link
Member

#127519 was reverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants
0