Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
[3.14] gh-140067: Fix memory leak in sub-interpreter creation (GH-140111)#140118
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…ythonGH-140111)Fix memory leak in sub-interpreter creation caused by overwriting of the previously used `_malloced` field. Now the pointer is stored in the first word of the memory block to avoid it being overwritten accidentally.(cherry picked from commit59547a2)Co-authored-by: Shamil <ashm.tech@proton.me>Co-authored-by: Kumar Aditya <kumaraditya@python.org>
There's a somewhat surprising failing test on gil-enabled tsan CI, will investigate later marking draft for now |
I think that's a known failure. |
Oh, nevermind,#140111 was what caused that known failure. |
61a20ac tod7e44f7Comparebedevere-bot commentedOct 18, 2025
🤖 New build scheduled with the buildbot fleet by@kumaraditya303 for commit150ae29 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F140118%2Fmerge If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
1d11627 intopython:3.14Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Fix memory leak in sub-interpreter creation caused by overwriting of the previously used
_mallocedfield. Now the pointer is stored in the first word of the memory block to avoid it being overwritten accidentally.(cherry picked from commit59547a2)