Skip to content

test_bdb leaks references #118605

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 May 5, 2024 · 3 comments
Closed

test_bdb leaks references #118605

Eclips4 opened this issue May 5, 2024 · 3 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@Eclips4
Copy link
Member

Eclips4 commented May 5, 2024

Bug report

Bug description:

 ./python -m test -R 3:3 test_bdb
Using random seed: 2592309756
0:00:00 load avg: 25.13 Run 1 test sequentially
0:00:00 load avg: 25.13 [1/1] test_bdb
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX2 222
test_bdb leaked [1, 1, 1] references, sum=3
test_bdb leaked [2, 2, 2] memory blocks, sum=6
test_bdb failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_bdb

Total duration: 845 ms
Total tests: run=35
Total test files: run=1/1 failed=1
Result: FAILURE

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

@Eclips4 Eclips4 added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels May 5, 2024
@gaogaotiantian
Copy link
Member

If this is new, it's possible that it was caused by #111744. I'll take a look at it.

@gaogaotiantian
Copy link
Member

Fixed in #118607

@Eclips4
Copy link
Member Author

Eclips4 commented May 6, 2024

Thank you Tian for fixing this!

SonicField pushed a commit to SonicField/cpython that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants