You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot reproduce it on Ubuntu 22.04. HEAD->6e850c30bb70
Problem was introduced later, 6e850c3 was made on 27th July, original problem introduced in a43cc3f (28th July).
Please, update your local main branch and let me know results of refleak tests.
Activity
Eclips4 commentedon Jul 30, 2023
Bisected to #107287
cc @kumaraditya303 @CharlieZhao95 @erlend-aasland
Eclips4 commentedon Jul 30, 2023
I think problem is here:
cpython/Lib/test/support/import_helper.py
Lines 253 to 268 in a24e25d
sunmy2019 commentedon Jul 30, 2023
I cannot reproduce it on Ubuntu 22.04. HEAD->6e850c30bb70
Eclips4 commentedon Jul 30, 2023
Problem was introduced later, 6e850c3 was made on 27th July, original problem introduced in a43cc3f (28th July).
Please, update your local main branch and let me know results of refleak tests.
kumaraditya303 commentedon Jul 31, 2023
This suggests the problem lies within this test.
CharlieZhao95 commentedon Jul 31, 2023
Minimal bug reproducer:
Eclips4 commentedon Jul 31, 2023
If we add this line
sys.modules['decimal'] = decimalto the end oftest_refleak, problem will gone, but it seems as incorrect solution.Eclips4 commentedon Jul 31, 2023
As far as I understand,
decimal_freefrom_decimal.cis not called. Could this be a problem?CharlieZhao95 commentedon Jul 31, 2023
As you said. If you add this statement,
_decimal_execis actually only executed once. (Note that the warning inmpd_setminallocwill not exist)Eclips4 commentedon Jul 31, 2023
Oh, I suddenly discovered another issue with
_socket..Eclips4 commentedon Jul 31, 2023
Above the same problem, socket_exec called multiple times.
Eclips4 commentedon Jul 31, 2023
More simple reproducer:
GH-107458: fix test_tools refleak (#107577)