By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,705 Members | 2,017 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,705 IT Pros & Developers. It's quick & easy.

valgrind python 2.3.4

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.