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
Memory leak in the compiler in case of errors #78261
Comments
Merging PR 6517 for bpo-33305 exposed a leak in the compiler: https://buildbot.python.org/all/#/builders/1/builds/280 $ ./python -m test -R 3:3 test_compile test_grammar
Run tests sequentially
0:00:00 load avg: 1.95 [1/2] test_compile
beginning 6 repetitions
123456
......
test_compile leaked [15, 16, 15] memory blocks, sum=46
0:00:14 load avg: 1.97 [2/2/1] test_grammar -- test_compile failed
beginning 6 repetitions
123456
......
test_grammar leaked [50, 50, 50] memory blocks, sum=150
test_grammar failed == Tests result: FAILURE == 2 tests failed: Total duration: 15 sec 226 ms This branch was not common, but after bpo-33305 it has became more common and heavily tested. |
Related issue: bpo-34084. |
Thanks Serhiy for the fix! It seems that new tests helped to find a real bug ;-) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: