473,408 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

valgrind python 2.3.4

Running python 2.3.4 on valgrind (a tool like purify which checks
the use of uninitialized memory, etc), gives a lot of errors.

See below.
jfj@cluster:~/> python -V
Python 2.3.4
jfj@cluster:~/> valgrind python
==10517== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==10517== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==10517== Using valgrind-2.0.0, a program supervision framework for
x86-linux.
==10517== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==10517== Estimated CPU clock rate is 533 MHz
==10517== For more details, rerun with: -v
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x808244E: PyString_InternInPlace
(Objects/stringobject.c:4140)
==10517== by 0x8087408: PyString_InternFromString
(Objects/stringobject.c:4170)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x808244E: PyString_InternInPlace
(Objects/stringobject.c:4140)
==10517== by 0x8087408: PyString_InternFromString
(Objects/stringobject.c:4170)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80937DD: mro_implementation (Objects/typeobject.c:1194)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== by 0x807F48F: _Py_ReadyTypes (Objects/object.c:1973)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x807F48F: _Py_ReadyTypes (Objects/object.c:1973)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80937DD: mro_implementation (Objects/typeobject.c:1194)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== by 0x807F4A7: _Py_ReadyTypes (Objects/object.c:1976)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x806EABC: list_dealloc (Objects/listobject.c:214)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x807F4A7: _Py_ReadyTypes (Objects/object.c:1976)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x807C21A: PyDict_SetItemString (Objects/dictobject.c:1976)
==10517== by 0x8091D34: PyType_Ready (Objects/typeobject.c:2805)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x807E721: PyObject_GenericGetAttr (Objects/object.c:1386)
==10517== Address 0x41664010 is 8 bytes before a block of size 32 alloc'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80AE821: _PyExc_Init (Python/exceptions.c:1802)
==10517== by 0x80D98A6: Py_Initialize (Python/pythonrun.c:208)
==10517== by 0x8054962: Py_Main (Modules/main.c:370)
==10517== Address 0x41664010 is 8 bytes before a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x807E721: PyObject_GenericGetAttr (Objects/object.c:1386)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x807C21A: PyDict_SetItemString (Objects/dictobject.c:1976)
==10517== by 0x80AE857: _PyExc_Init (Python/exceptions.c:1816)
==10517== Address 0x41664010 is 8 bytes before a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x807E721: PyObject_GenericGetAttr (Objects/object.c:1386)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x808244E: PyString_InternInPlace
(Objects/stringobject.c:4140)
==10517== by 0x807C209: PyDict_SetItemString (Objects/dictobject.c:1975)
==10517== Address 0x4165B010 is 564 bytes inside a block of size 2744
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x4035BDC5: qsort (in /lib/libc.so.6)
==10517== by 0x809172D: PyType_Ready (Objects/typeobject.c:5237)
==10517== by 0x8092B03: PyType_Ready (Objects/typeobject.c:3133)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517== by 0x80CE73A: load_source_module (Python/import.c:709)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517== by 0x80CE73A: load_source_module (Python/import.c:709)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517== Address 0x4167C010 is 16 bytes inside a block of size 119
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517== by 0x80D410A: r_object (Python/marshal.c:607)
==10517== Address 0x4167C010 is 16 bytes inside a block of size 119
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D50D5: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:714)
==10517== by 0x80CE73A: load_source_module (Python/import.c:709)
==10517== by 0x80CF65E: load_module (Python/import.c:1699)
==10517== Address 0x41674010 is 56 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x807C21A: PyDict_SetItemString (Objects/dictobject.c:1976)
==10517== by 0x80D570D: Py_InitModule4 (Python/modsupport.c:83)
==10517== Address 0x41680010 is 1532 bytes inside a block of size
1820 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80937DD: mro_implementation (Objects/typeobject.c:1194)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== by 0x80FC6B5: PyStructSequence_InitType
(Objects/structseq.c:384)
==10517== Address 0x41688010 is not stack'd, malloc'd or free'd
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x8092E54: PyType_Ready (Objects/typeobject.c:1302)
==10517== by 0x80FC6B5: PyStructSequence_InitType
(Objects/structseq.c:384)
==10517== Address 0x41688010 is not stack'd, malloc'd or free'd
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x80B209C: eval_frame (Python/ceval.c:3948)
==10517== by 0x80B58E2: PyEval_EvalCodeEx (Python/ceval.c:2663)
==10517== Address 0x41680010 is 1532 bytes inside a block of size
1820 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517== Address 0x4168F010 is 24 bytes inside a block of size 326
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517== by 0x80D410A: r_object (Python/marshal.c:607)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517== by 0x80CE73A: load_source_module (Python/import.c:709)
==10517== Address 0x4168D010 is 296 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B5CAC: code_dealloc (Python/compile.c:159)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== by 0x80CF65E: load_module (Python/import.c:1699)
==10517== Address 0x41690010 is 260 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079855: dictresize (Objects/dictobject.c:477)
==10517== by 0x80B2218: eval_frame (Python/ceval.c:1687)
==10517== by 0x80B58E2: PyEval_EvalCodeEx (Python/ceval.c:2663)
==10517== Address 0x4168F010 is 24 bytes inside a block of size 326
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517== by 0x80D410A: r_object (Python/marshal.c:607)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80879E2: tupledealloc (Objects/tupleobject.c:158)
==10517== by 0x80B5CC1: code_dealloc (Python/compile.c:160)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== Address 0x4168D010 is 296 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B11B2: eval_frame (Python/ceval.c:3461)
==10517== by 0x80B58E2: PyEval_EvalCodeEx (Python/ceval.c:2663)
==10517== Address 0x41693010 is 16 bytes before a block of size 416
free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x806FA33: listappend (Objects/listobject.c:634)
==10517== by 0x80B4FD3: eval_frame (Python/ceval.c:3428)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FB04: PyObject_Realloc (Objects/obmalloc.c:794)
==10517== by 0x80DFB2B: _PyObject_GC_Resize (Modules/gcmodule.c:1206)
==10517== by 0x80F8E11: PyFrame_New (Objects/frameobject.c:596)
==10517== by 0x80B5292: PyEval_EvalCodeEx (Python/ceval.c:2455)
==10517== Address 0x41691010 is 140 bytes inside a block of size 331
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B5CAC: code_dealloc (Python/compile.c:159)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== by 0x80CF65E: load_module (Python/import.c:1699)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B5CAC: code_dealloc (Python/compile.c:159)
==10517== by 0x8087993: tupledealloc (Objects/tupleobject.c:145)
==10517== by 0x80B5CC1: code_dealloc (Python/compile.c:160)
==10517== Address 0x41695010 is 316 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80F1799: PyGrammar_AddAccelerators (Parser/acceler.c:137)
==10517== by 0x80F1C36: PyParser_New (Parser/parser.c:77)
==10517== by 0x805503B: parsetok (Parser/parsetok.c:109)
==10517== Address 0x41699010 is 436 bytes inside a block of size 596
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80F1799: PyGrammar_AddAccelerators (Parser/acceler.c:137)
==10517== by 0x80F1C36: PyParser_New (Parser/parser.c:77)
==10517== by 0x805503B: parsetok (Parser/parsetok.c:109)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80551F0: parsetok (Parser/parsetok.c:182)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517== Address 0x416D4010 is 580 bytes inside a block of size 596
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80F1799: PyGrammar_AddAccelerators (Parser/acceler.c:137)
==10517== by 0x80F1C36: PyParser_New (Parser/parser.c:77)
==10517== by 0x805503B: parsetok (Parser/parsetok.c:109)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FB04: PyObject_Realloc (Objects/obmalloc.c:794)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3D2: jcompile (Python/compile.c:836)
==10517== by 0x80D80E8: PyRun_StringFlags (Python/pythonrun.c:1263)
==10517== Address 0x416D5010 is 4032 bytes inside a block of size
6012 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80551F0: parsetok (Parser/parsetok.c:182)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FB04: PyObject_Realloc (Objects/obmalloc.c:794)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3BC: jcompile (Python/compile.c:838)
==10517== by 0x80D80E8: PyRun_StringFlags (Python/pythonrun.c:1263)
==10517== Address 0x416D5010 is 4032 bytes inside a block of size
6012 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80551F0: parsetok (Parser/parsetok.c:182)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80BC101: jcompile (Python/compile.c:4336)
==10517== by 0x80D80E8: PyRun_StringFlags (Python/pythonrun.c:1263)
==10517== Address 0x416D6010 is 996 bytes inside a block of size 1024
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x807FB48: PyObject_Realloc (Objects/obmalloc.c:829)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3BC: jcompile (Python/compile.c:838)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B6BAC: com_free (Python/compile.c:797)
==10517== by 0x80BB572: jcompile (Python/compile.c:4371)
==10517== Address 0x416D6010 is 996 bytes inside a block of size 1024
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x807FB48: PyObject_Realloc (Objects/obmalloc.c:829)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3BC: jcompile (Python/compile.c:838)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6B38: com_free (Python/compile.c:806)
==10517== by 0x80BB572: jcompile (Python/compile.c:4371)
==10517== by 0x80D80E8: PyRun_StringFlags (Python/pythonrun.c:1263)
==10517== Address 0x416D6010 is 996 bytes inside a block of size 1024
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x807FB48: PyObject_Realloc (Objects/obmalloc.c:829)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3BC: jcompile (Python/compile.c:838)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x805514E: parsetok (Parser/parsetok.c:207)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517== Address 0x416D6010 is 996 bytes inside a block of size 1024
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x807FB48: PyObject_Realloc (Objects/obmalloc.c:829)
==10517== by 0x80822E5: _PyString_Resize (Objects/stringobject.c:3322)
==10517== by 0x80BC3BC: jcompile (Python/compile.c:838)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80551F0: parsetok (Parser/parsetok.c:182)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80551F0: parsetok (Parser/parsetok.c:182)
==10517== by 0x80556A4: PyParser_ParseStringFlags (Parser/parsetok.c:54)
==10517== by 0x80D8142: PyRun_StringFlags (Python/pythonrun.c:1367)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80937DD: mro_implementation (Objects/typeobject.c:1194)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== by 0x807E721: PyObject_GenericGetAttr (Objects/object.c:1386)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80937DD: mro_implementation (Objects/typeobject.c:1194)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517== by 0x807E721: PyObject_GenericGetAttr (Objects/object.c:1386)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x806EABC: list_dealloc (Objects/listobject.c:214)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x806EABC: list_dealloc (Objects/listobject.c:214)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80935E5: mro_implementation (Objects/typeobject.c:1266)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B5CAC: code_dealloc (Python/compile.c:159)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== by 0x80CF65E: load_module (Python/import.c:1699)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B5CAC: code_dealloc (Python/compile.c:159)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== by 0x80CF65E: load_module (Python/import.c:1699)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80879E2: tupledealloc (Objects/tupleobject.c:158)
==10517== by 0x80B5CD6: code_dealloc (Python/compile.c:161)
==10517== by 0x80CE5B3: load_source_module (Python/import.c:895)
==10517== Address 0x416EB010 is 140 bytes inside a block of size 614
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80D4AEB: r_object (Python/marshal.c:628)
==10517== by 0x80D5173: PyMarshal_ReadLastObjectFromFile
(Python/marshal.c:752)
==10517== by 0x80CE73A: load_source_module (Python/import.c:709)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FB09: PyObject_Realloc (Objects/obmalloc.c:794)
==10517== by 0x80DFB2B: _PyObject_GC_Resize (Modules/gcmodule.c:1206)
==10517== by 0x80F8E11: PyFrame_New (Objects/frameobject.c:596)
==10517== by 0x80B4275: eval_frame (Python/ceval.c:3507)
==10517==
==10517== More than 50 errors detected. Subsequent errors
==10517== will still be recorded, but in less detail than before.
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FB5F: PyObject_Realloc (Objects/obmalloc.c:794)
==10517== by 0x80DFB2B: _PyObject_GC_Resize (Modules/gcmodule.c:1206)
==10517== by 0x80F8E11: PyFrame_New (Objects/frameobject.c:596)
==10517== by 0x80B4275: eval_frame (Python/ceval.c:3507)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806F6CA: list_ass_slice (Objects/listobject.c:548)
==10517== by 0x80AFB50: assign_slice (Python/ceval.c:3836)
==10517== by 0x80B2E42: eval_frame (Python/ceval.c:1413)
==10517== Address 0x41889010 is 0 bytes after a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B0848: eval_frame (Python/ceval.c:914)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80E2558: posix_stat (./Modules/posixmodule.c:1008)
==10517== by 0x80B4501: eval_frame (Python/ceval.c:3439)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517== Address 0x416EC010 is 20 bytes inside a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B0848: eval_frame (Python/ceval.c:914)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80E2074: posix_listdir (./Modules/posixmodule.c:1615)
==10517== by 0x80B4501: eval_frame (Python/ceval.c:3439)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517== Address 0x41889010 is 0 bytes after a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B0848: eval_frame (Python/ceval.c:914)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x807139C: listsort (Objects/listobject.c:1757)
==10517== by 0x80B4501: eval_frame (Python/ceval.c:3439)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517== Address 0x416EC010 is 20 bytes inside a block of size 32 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x806EACD: list_dealloc (Objects/listobject.c:216)
==10517== by 0x80B0848: eval_frame (Python/ceval.c:914)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80E2540: posix_stat (./Modules/posixmodule.c:405)
==10517== by 0x80B4501: eval_frame (Python/ceval.c:3439)
==10517== by 0x80B42C1: eval_frame (Python/ceval.c:3518)
==10517== Address 0x4188A010 is 2172 bytes inside a block of size
4144 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x403C9FFE: __closedir (in /lib/libc.so.6)
==10517== by 0x80E206B: posix_listdir (./Modules/posixmodule.c:1614)
==10517== by 0x80B4501: eval_frame (Python/ceval.c:3439)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
Python 2.3.4 (#1, Sep 10 2004, 17:18:55)
[GCC 3.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
CTRL-D

==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8056865: tok_nextc (Parser/tokenizer.c:689)
==10517== by 0x8056C11: PyTokenizer_Get (Parser/tokenizer.c:1014)
==10517== by 0x805505A: parsetok (Parser/parsetok.c:125)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8056865: tok_nextc (Parser/tokenizer.c:689)
==10517== by 0x8056C11: PyTokenizer_Get (Parser/tokenizer.c:1014)
==10517== by 0x805505A: parsetok (Parser/parsetok.c:125)

==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8055127: parsetok (Parser/parsetok.c:182)
==10517== by 0x80D90FF: PyRun_InteractiveOneFlags
(Python/pythonrun.c:738)
==10517== by 0x80D9328: PyRun_InteractiveLoopFlags
(Python/pythonrun.c:690)
==10517== Address 0x416FC010 is 76 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8056468: PyTokenizer_Free (Parser/tokenizer.c:649)
==10517== by 0x805514E: parsetok (Parser/parsetok.c:207)
==10517== by 0x80D90FF: PyRun_InteractiveOneFlags
(Python/pythonrun.c:738)
==10517== Address 0x418B7010 is 348 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x807C21A: PyDict_SetItemString (Objects/dictobject.c:1976)
==10517== Address 0x4188B010 is 164 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x40391043: _IO_fopen64 (in /lib/libc.so.6)
==10517== by 0x80CEF33: find_module (Python/import.c:1338)
==10517== by 0x80CFA79: import_submodule (Python/import.c:2281)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x80FB4A3: _PyModule_Clear (Objects/moduleobject.c:136)
==10517== by 0x80CDB4A: PyImport_Cleanup (Python/import.c:438)
==10517== Address 0x41671010 is 352 bytes inside a block of size 364
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x4038E672: _IO_fclose@@GLIBC_2.1 (in /lib/libc.so.6)
==10517== by 0x80CFB91: import_submodule (Python/import.c:2294)
==10517== by 0x80CFCCB: load_next (Python/import.c:2111)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x80FB408: _PyModule_Clear (Objects/moduleobject.c:123)
==10517== by 0x80CDB4A: PyImport_Cleanup (Python/import.c:438)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x80FB408: _PyModule_Clear (Objects/moduleobject.c:123)
==10517== by 0x80CDB4A: PyImport_Cleanup (Python/import.c:438)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80FA016: func_dealloc (Objects/funcobject.c:404)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x80FB4A3: _PyModule_Clear (Objects/moduleobject.c:136)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80FA016: func_dealloc (Objects/funcobject.c:404)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== by 0x80FB4A3: _PyModule_Clear (Objects/moduleobject.c:136)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80FA016: func_dealloc (Objects/funcobject.c:404)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517== by 0x805CEC3: class_dealloc (Objects/classobject.c:177)
==10517== Address 0x416F4010 is 4 bytes after a block of size 8 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517== by 0x805CEC3: class_dealloc (Objects/classobject.c:177)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517== Address 0x416F4010 is 4 bytes after a block of size 8 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x80B6700: PyCode_New (Python/compile.c:395)
==10517== by 0x80D486C: r_object (Python/marshal.c:620)
==10517== by 0x80D3A20: r_object (Python/marshal.c:536)
==10517==
==10517== Conditional jump or move depends on uninitialised value(s)
==10517== at 0x807FA5E: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x80FB610: module_dealloc (Objects/moduleobject.c:177)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517==
==10517== Use of uninitialised value of size 4
==10517== at 0x807FA67: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x80FB610: module_dealloc (Objects/moduleobject.c:177)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x8079CC0: PyDict_Clear (Objects/dictobject.c:654)
==10517== by 0x80CDD59: PyImport_Cleanup (Python/import.c:478)
==10517== by 0x80D968C: Py_Finalize (Python/pythonrun.c:349)
==10517== Address 0x4189A010 is 484 bytes inside a block of size 1536
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x80FB610: module_dealloc (Objects/moduleobject.c:177)
==10517== by 0x8079AA1: PyDict_SetItem (Objects/dictobject.c:379)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80CD70A: _PyImport_Fini (Python/import.c:226)
==10517== by 0x80D9691: Py_Finalize (Python/pythonrun.c:371)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x41663010 is 2908 bytes inside a block of size
3410 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517== by 0x80CD6EF: _PyImport_Fini (Python/import.c:224)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D6BA5: PyInterpreterState_Delete (Python/pystate.c:226)
==10517== by 0x80D96B8: Py_Finalize (Python/pythonrun.c:409)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x4161A010 is not stack'd, malloc'd or free'd
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80D96B8: Py_Finalize (Python/pythonrun.c:409)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== by 0x80547D5: main (Modules/python.c:23)
==10517== Address 0x4161A010 is not stack'd, malloc'd or free'd
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80F94BF: PyFrame_Fini (Objects/frameobject.c:809)
==10517== by 0x80D96C2: Py_Finalize (Python/pythonrun.c:413)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x416F6010 is 216 bytes inside a block of size 384
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x805CEC3: class_dealloc (Objects/classobject.c:177)
==10517== by 0x8087993: tupledealloc (Objects/tupleobject.c:145)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x806E01C: PyInt_Fini (Objects/intobject.c:1156)
==10517== by 0x80D96D6: Py_Finalize (Python/pythonrun.c:417)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x41684010 is 1020 bytes inside a block of size
1536 free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517== by 0x8079E9E: dict_dealloc (Objects/dictobject.c:708)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80A6E9C: _PyUnicodeUCS2_Fini
(Objects/unicodeobject.c:6842)
==10517== by 0x80D96E0: Py_Finalize (Python/pythonrun.c:422)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x41660010 is 8 bytes before a block of size 4 free'd
==10517== at 0x400271D0: realloc (vg_replace_malloc.c:310)
==10517== by 0x806E8DE: ins1 (Objects/listobject.c:157)
==10517== by 0x8093482: mro_implementation (Objects/typeobject.c:1177)
==10517== by 0x8092C44: PyType_Ready (Objects/typeobject.c:1289)
==10517==
==10517== Invalid read of size 4
==10517== at 0x807FA59: PyObject_Free (Objects/obmalloc.c:711)
==10517== by 0x80F1591: PyGrammar_RemoveAccelerators
(Parser/acceler.c:47)
==10517== by 0x80D96EC: Py_Finalize (Python/pythonrun.c:431)
==10517== by 0x8054A3B: Py_Main (Modules/main.c:435)
==10517== Address 0x41697010 is 968 bytes inside a block of size 1536
free'd
==10517== at 0x40026EF0: free (vg_replace_malloc.c:231)
==10517== by 0x8079E04: dict_dealloc (Objects/dictobject.c:712)
==10517== by 0x805CEC3: class_dealloc (Objects/classobject.c:177)
==10517== by 0x8087993: tupledealloc (Objects/tupleobject.c:145)
==10517==
==10517== ERROR SUMMARY: 780 errors from 80 contexts (suppressed: 60 from 3)
==10517== malloc/free: in use at exit: 643261 bytes in 39 blocks.
==10517== malloc/free: 1682 allocs, 1643 frees, 1383215 bytes allocated.
==10517== For a detailed leak analysis, rerun with: --leak-check=yes
==10517== For counts of detected errors, rerun with: -v
jfj@cluster:~/>
Jul 18 '05 #1
1 2925
Jerald <jf*@freemail.gr> writes:
Running python 2.3.4 on valgrind (a tool like purify which checks
the use of uninitialized memory, etc), gives a lot of errors.

See below.


Sheesh, don't people consider typing "Python valgrind" into google
before complaining about this? Read this:

http://cvs.sourceforge.net/viewcvs.p...lgrind?rev=1.2

Cheers,
mwh
(I take it it wasn't you who submitted the basically identical bug
report I closed earlier on today?)

--
If you're talking "useful", I'm not your bot.
-- Tim Peters, 08 Nov 2001
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: seberino | last post by:
I have Python C extensions that are giving me seg faults that I'd like to run valgrind on. Can I use valgrind on these through python?? HOW??? Is it easy or must I do some work like...
2
by: Andreas Andersen | last post by:
Hi I have been using valgrind to debug a program I have written in C++ and it has been very helpful in eliminating memory errors/leaks. However, I just recently discovered a bug and from what I...
2
by: hvaisane | last post by:
Valgrind says ==11604== Invalid read of size 4 ==11604== at 0x8048ABB: main (foo.cc:36) ==11604== Address 0x1B92415C is 4 bytes inside a block of size 8 free'd ==11604== at 0x1B90514F:...
5
by: Roman Mashak | last post by:
Hello, All! I already posted my question and received valuable feedbacks, I changed my code as was proposed here but still receive the same error of valgrind. SO, the code is: #define...
1
by: Nathan Bates | last post by:
Are the Python developers running Python under Valgrind? If not, FYI, Valgrind is a excellent memory-checker for Linux. Valgrind is reporting a ton of memory problems. Worrisome are "Conditional...
1
by: mfried | last post by:
Hi all, I'm testing an application using valgrind 3.2.0 unter Linux kernel 2.4. When the test are finished and the app terminates valgrind gives the error: --15631:0:aspacem Valgrind: FATAL:...
3
by: Esa A E Peuha | last post by:
Running Python 2.5.1 under Valgrind is interesting; just starting it and then pressing Ctrl-D produces this: ==27082== ERROR SUMMARY: 713 errors from 56 contexts (suppressed: 10 from 1)...
0
by: Salvatore Iovene | last post by:
Hi, I'm using the pexpect module to spawn some processes in a testing environment. pexpect uses, internally, os.execv. What I need to do is valgrind python and get memory leaks from the spawned...
2
by: tvnaidu | last post by:
valgrind error - "failed to start tool 'memcheck' for platform x86-linux" no such file or dir copied all lib and bin files which are generated after I compiled valgrind package, when I run my exe...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.