-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
test_datetime leaks references #119655
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I'm looking into it. |
See: #119662 |
encukou
added a commit
that referenced
this issue
May 28, 2024
GH-119662) - While datetime uses global state, only initialize it once. - While `capi` is static, don't free it (thanks @neonene in https://github.com/python/cpython/pull/119641/files#r1616710048)
ericsnowcurrently
pushed a commit
to ericsnowcurrently/cpython
that referenced
this issue
May 28, 2024
…don't free it (pythonGH-119662) - While datetime uses global state, only initialize it once. - While `capi` is static, don't free it (thanks @neonene in https://github.com/python/cpython/pull/119641/files#r1616710048)
Thanks for fixing this, Petr! |
Unfortunately, there's a new leaks in the ./python.exe -m test -R 3:3 test_datetime
Using random seed: 1167096647
0:00:00 load avg: 15.47 Run 1 test sequentially
0:00:00 load avg: 15.47 [1/1] test_datetime
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XXX XXX
test_datetime leaked [39, 39, 39] references, sum=117
test_datetime leaked [29, 29, 29] memory blocks, sum=87
test_datetime failed (reference leak)
== Tests result: FAILURE ==
1 test failed:
test_datetime
Total duration: 26.5 sec
Total tests: run=972 skipped=8
Total test files: run=1/1 failed=1
Result: FAILURE Bisected to the 548a11d |
Eclips4
added a commit
to Eclips4/cpython
that referenced
this issue
May 29, 2024
ericsnowcurrently
pushed a commit
that referenced
this issue
May 29, 2024
ericsnowcurrently
added a commit
to miss-islington/cpython
that referenced
this issue
May 29, 2024
Sorry about the leaks, all. I'll be extra careful from here on out. |
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…don't free it (pythonGH-119662) - While datetime uses global state, only initialize it once. - While `capi` is static, don't free it (thanks @neonene in https://github.com/python/cpython/pull/119641/files#r1616710048)
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Example:
Regression: commit 3e8b609
cc @erlend-aasland @ericsnowcurrently
Linked PRs
_datetimemodule.c
#119713The text was updated successfully, but these errors were encountered: