Valgrind memory-checker reports memory problems in Python

Discussion in 'Python' started by Nathan Bates, Jul 4, 2006.

  1. Nathan Bates

    Nathan Bates Guest

    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 jump or move depends on uninitialised
    value(s)" errors.
    I simply started the Python 2.4.2 interpreter,
    then Ctrl+D, on Linux Fedora 5.

    .........
    ==2923== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et
    al.
    ==2923== Using LibVEX rev 1471, a library for dynamic binary
    translation.
    ==2923== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
    ==2923== Using valgrind-3.1.0, a dynamic binary instrumentation
    framework.
    ==2923== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et
    al.
    ==2923== For more details, rerun with: -v
    ==2923==
    ==2923== My PID = 2923, parent PID = 2922. Prog and args are:
    ==2923== /usr/bin/python
    ==2923==
    ==2923== Conditional jump or move depends on uninitialised value(s)
    ==2923== at 0x331BD6096B: PyObject_Free (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD5BFE9: (within /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD6555E: PyString_InternInPlace (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD69C6E: PyString_InternFromString (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD7053C: (within /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD7549F: PyType_Ready (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD76F6E: PyType_Ready (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BD5E42F: _Py_ReadyTypes (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BDB3E6A: Py_InitializeEx (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331BDB910D: Py_Main (in
    /usr/lib64/libpython2.4.so.1.0)
    ==2923== by 0x331181D083: __libc_start_main (in /lib64/libc-2.4.so)
    ==2923==
    [..]
    Nathan Bates, Jul 4, 2006
    #1
    1. Advertising

  2. Nathan Bates

    Tim Peters Guest

    [Nathan Bates]
    > Are the Python developers running Python under Valgrind?


    Please read Misc/README.valgrind (in your Python distribution).
    Tim Peters, Jul 4, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Andersen

    Problems with valgrind

    Andreas Andersen, Jan 18, 2005, in forum: C++
    Replies:
    2
    Views:
    329
    Gernot Frisch
    Jan 18, 2005
  2. Pager O Rama

    MSN BLOCK CHECKER-MSN STATUS CHECKER-MSN PROBLEMS

    Pager O Rama, Apr 4, 2006, in forum: ASP General
    Replies:
    0
    Views:
    240
    Pager O Rama
    Apr 4, 2006
  3. Replies:
    0
    Views:
    486
  4. Jacob Grover
    Replies:
    5
    Views:
    310
    Jacob Grover
    Jul 18, 2008
  5. Replies:
    12
    Views:
    1,237
    Xavier Roche
    Jan 19, 2013
Loading...

Share This Page