This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou, skrah
Date 2010-10-20.17:33:19
SpamBayes Score 0.0038565327
Marked as misclassified No
Message-id <1287596001.72.0.908968504513.issue10157@psf.upfronthosting.co.za>
In-reply-to
Content
This is one of two remaining "definitely lost" leaks in py3k. It first
appeared in r70152. How to reproduce:

make distclean && ./configure OPT="-O0 -g" --without-pymalloc && make

valgrind --leak-check=full --suppressions=Misc/valgrind-python.supp ./python > VGOUT 2>&1

Then search for 'definitely'. This leak is not present in release-2.7.


==25233== 106 (56 direct, 50 indirect) bytes in 1 blocks are definitely lost in loss record 1,432 of 2,121
==25233==    at 0x4C2412C: malloc (vg_replace_malloc.c:195)
==25233==    by 0x4167AE: _PyObject_New (object.c:243)
==25233==    by 0x42C1C4: _PyUnicode_New (unicodeobject.c:341)
==25233==    by 0x430562: PyUnicodeUCS2_DecodeUTF8Stateful (unicodeobject.c:2036)
==25233==    by 0x430516: PyUnicodeUCS2_DecodeUTF8 (unicodeobject.c:2001)
==25233==    by 0x479F81: r_object (marshal.c:726)
==25233==    by 0x47A03E: r_object (marshal.c:745)
==25233==    by 0x47A720: r_object (marshal.c:873)
==25233==    by 0x47AF4B: PyMarshal_ReadObjectFromString (marshal.c:1053)
==25233==    by 0x47AE2A: PyMarshal_ReadLastObjectFromFile (marshal.c:1012)
==25233==    by 0x471C5B: read_compiled_module (import.c:823)
==25233==    by 0x47230C: load_source_module (import.c:1043)
History
Date User Action Args
2010-10-20 17:33:22skrahsetrecipients: + skrah, amaury.forgeotdarc, pitrou, benjamin.peterson
2010-10-20 17:33:21skrahsetmessageid: <1287596001.72.0.908968504513.issue10157@psf.upfronthosting.co.za>
2010-10-20 17:33:20skrahlinkissue10157 messages
2010-10-20 17:33:19skrahcreate