[issue3656] unicode encoding has lots of leaks of bytes
Neal Norwitz
report at bugs.python.org
Sun Aug 24 05:01:51 CEST 2008
New submission from Neal Norwitz <nnorwitz at gmail.com>:
Some of these leaks reported by valgrind are likely duplicates. I don't
know how many individual cases of these leaks there are.
11,119 bytes in 14 blocks are possibly lost in loss record 86 of 119
realloc (vg_replace_malloc.c:429)
_PyBytes_Resize (bytesobject.c:3159)
multibytecodec_encode (multibytecodec.c:536)
MultibyteCodec_Encode (multibytecodec.c:588)
PyObject_Call (abstract.c:2181)
PyEval_CallObjectWithKeywords (ceval.c:3283)
PyCodec_Encode (codecs.c:354)
PyUnicodeUCS2_AsEncodedString (unicodeobject.c:1347)
unicode_encode (unicodeobject.c:6682)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalFrameEx (ceval.c:3491)
PyEval_EvalCodeEx (ceval.c:2840)
11,882 bytes in 15 blocks are possibly lost in loss record 87 of 119
malloc (vg_replace_malloc.c:207)
PyBytes_FromStringAndSize (bytesobject.c:87)
PyUnicodeUCS2_EncodeUTF8 (unicodeobject.c:2250)
utf_8_encode (_codecsmodule.c:719)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalFrameEx (ceval.c:3491)
PyEval_EvalFrameEx (ceval.c:3491)
PyEval_EvalCodeEx (ceval.c:2840)
function_call (funcobject.c:628)
PyObject_Call (abstract.c:2181)
PyEval_EvalFrameEx (ceval.c:3704)
PyEval_EvalCodeEx (ceval.c:2840)
271,937 bytes in 437 blocks are definitely lost in loss record 108 of 119
malloc (vg_replace_malloc.c:207)
PyBytes_FromStringAndSize (bytesobject.c:87)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalFrameEx (ceval.c:3501)
PyEval_EvalFrameEx (ceval.c:3491)
PyEval_EvalCodeEx (ceval.c:2840)
function_call (funcobject.c:628)
PyObject_Call (abstract.c:2181)
PyEval_EvalFrameEx (ceval.c:3704)
PyEval_EvalCodeEx (ceval.c:2840)
function_call (funcobject.c:628)
331,647 bytes in 277 blocks are definitely lost in loss record 111 of 119
realloc (vg_replace_malloc.c:429)
_PyBytes_Resize (bytesobject.c:3159)
PyUnicodeUCS2_EncodeUTF8 (unicodeobject.c:2256)
_PyUnicodeUCS2_AsDefaultEncodedString (unicodeobject.c:1412)
source_as_string (bltinmodule.c:504)
builtin_exec (bltinmodule.c:788)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalFrameEx (ceval.c:3501)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalCode (ceval.c:519)
builtin_exec (bltinmodule.c:785)
274,686 bytes in 446 blocks are definitely lost in loss record 114 of 128
malloc (vg_replace_malloc.c:207)
PyBytes_FromStringAndSize (bytesobject.c:87)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalFrameEx (ceval.c:3501)
PyEval_EvalFrameEx (ceval.c:3491)
PyEval_EvalCodeEx (ceval.c:2840)
function_call (funcobject.c:628)
PyObject_Call (abstract.c:2181)
PyEval_EvalFrameEx (ceval.c:3704)
PyEval_EvalCodeEx (ceval.c:2840)
function_call (funcobject.c:628)
734,178 bytes in 293 blocks are definitely lost in loss record 121 of
realloc (vg_replace_malloc.c:429)
_PyBytes_Resize (bytesobject.c:3159)
PyUnicodeUCS2_EncodeUTF8 (unicodeobject.c:2256)
_PyUnicodeUCS2_AsDefaultEncodedString (unicodeobject.c:1412)
source_as_string (bltinmodule.c:504)
builtin_exec (bltinmodule.c:788)
PyEval_EvalFrameEx (ceval.c:3403)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalFrameEx (ceval.c:3501)
PyEval_EvalCodeEx (ceval.c:2840)
PyEval_EvalCode (ceval.c:519)
builtin_exec (bltinmodule.c:785)
----------
components: Interpreter Core
messages: 71825
nosy: nnorwitz
priority: release blocker
severity: normal
status: open
title: unicode encoding has lots of leaks of bytes
type: resource usage
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3656>
_______________________________________
More information about the Python-bugs-list
mailing list