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
{{ message }}
Repository navigation
subprocess_fork_exec leaks memory when extra_groups are supplied #85127
Activity
tiran commentedon Jun 12, 2020
asan has detected a minor memory leak in subprocess_fork_exec:
Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7f008bf19667 in __interceptor_malloc (/lib64/libasan.so.6+0xb0667)
#1 0x7f007a0bee4a in subprocess_fork_exec /home/heimes/dev/python/cpython/Modules/_posixsubprocess.c:774
#2 0xe0305b in cfunction_call Objects/methodobject.c:546
#3 0x4bdd0c in _PyObject_MakeTpCall Objects/call.c:191
#4 0x462fd0 in _PyObject_VectorcallTstate Include/cpython/abstract.h:112
#5 0x462fd0 in _PyObject_VectorcallTstate Include/cpython/abstract.h:99
#6 0x462fd0 in PyObject_Vectorcall Include/cpython/abstract.h:123
#7 0x462fd0 in call_function Python/ceval.c:5110
#8 0x462fd0 in _PyEval_EvalFrameDefault Python/ceval.c:3510
#9 0x8c1c1d in _PyEval_EvalFrame Include/internal/pycore_ceval.h:40
#10 0x8c1c1d in _PyEval_EvalCode Python/ceval.c:4365
[-]subprocess_fork_exec leaks memory[/-][+]subprocess_fork_exec leaks memory when extra_groups are supplied[/+]miss-islington commentedon Jun 12, 2020
New changeset 0d3350d by Christian Heimes in branch 'master':
bpo-40955: Fix memory leak in subprocess module (GH-20825)
0d3350d
miss-islington commentedon Jun 12, 2020
New changeset ee3f7fe by Miss Islington (bot) in branch '3.9':
bpo-40955: Fix memory leak in subprocess module (GH-20825)
ee3f7fe
tiran commentedon Jun 12, 2020
3.8 and 3.7 don't have the code path and are not affected.