[issue40226] Leak in tstate->interp->ceval.pending

2020-04-08 Thread STINNER Victor
STINNER Victor added the comment: Fixed, thanks for the bug report Stefan ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue40226] Leak in tstate->interp->ceval.pending

2020-04-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset dda5d6e071c6a9d65993d45b90232565cfad2cde by Victor Stinner in branch 'master': bpo-40226: PyInterpreterState_Delete() deletes pending calls (GH-19436) https://github.com/python/cpython/commit/dda5d6e071c6a9d65993d45b90232565cfad2cde --

[issue40226] Leak in tstate->interp->ceval.pending

2020-04-08 Thread STINNER Victor
STINNER Victor added the comment: I confirm that I'm able to reproduce the issue on the master branch: $ PYTHONMALLOC=malloc valgrind --leak-check=full --log-file=valgrind.log --num-callers=20 ./python -c pass ==44052== 32 bytes in 1 blocks are definitely lost in loss record 187 of 2,264 ==4

[issue40226] Leak in tstate->interp->ceval.pending

2020-04-08 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18790 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19436 ___ Python tracker __

[issue40226] Leak in tstate->interp->ceval.pending

2020-04-08 Thread Stefan Krah
New submission from Stefan Krah : 50e6e991781db761c496561a995541ca8d83ff87 causes or exposes a leak. Possibly the leak was there before but showed up under "still reachable". Now it is "definitely lost", so tstate->interp->ceval.pending needs to be cleaned up. ==11235== 32 bytes in 1 blocks a