[New-bugs-announce] [issue41422] C Unpickler memory leak via memo

kale-smoothie report at bugs.python.org
Tue Jul 28 14:26:29 EDT 2020


New submission from kale-smoothie <suraj-patel-95 at outlook.com>:

I'm not familiar with the workings of GC/pickle, but it looks like the traverse code in the C Unpickler omits a visit to the memo, potentially causing a memory leak?

----------
components: Library (Lib)
files: leak_pickler.py
messages: 374518
nosy: kale-smoothie
priority: normal
severity: normal
status: open
title: C Unpickler memory leak via memo
type: resource usage
versions: Python 3.10, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49345/leak_pickler.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41422>
_______________________________________


More information about the New-bugs-announce mailing list