-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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 leaks detected with valgrind for python -V #80514
Comments
I have detected 3 memory leaks when I execute python -V with valgrind -> 162 bytes. The leaks do seem to be in pymain_init and in _PyPreConfig_ReadFromArgv (the string for the locale is not freed). Also _PyRuntimeState_Fini does not release the memory of the mutex on runtime->xidregistry. You can find the first status in the valgrind.log file (with the leaks). |
The report of valgrind with no leaks. |
@vstinner I ping you because you are the main author for the new changes in the interpreter and the PyPreConfig part. |
I assign the issue to myself, since I'm currently working on the code: bpo-36301. |
"./python -V" no longer leaks, so I close the issue. See bpo-36356 for the follow-up. |
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: