[Pythonmac-SIG] malloc debugger for OS X?

Skip Montanaro skip@pobox.com
Tue, 8 Apr 2003 11:30:54 -0500


    >> Can anyone point me to a malloc debugger that works under OS X and
    >> can be used for tracking down 'double free' errors in Python C
    >> extensions?

    Jason> I haven't tried using any of these on OS X, but I've used them on
    Jason> other unix-like platforms:

    Jason> valgrind
    Jason> dmalloc
    Jason> efence

    Jason> With the possible exception of valgrind, they shouldn't have any
    Jason> problems on OS X.

None of the above three is available via fink:

    montanaro:skip% fink install dmalloc
    sudo /sw/bin/fink  install dmalloc
    Password:
    Information about 2328 packages read in 1 seconds.

    Failed: no package found for specification 'dmalloc'!
    montanaro:skip% fink install efence
    sudo /sw/bin/fink  install efence
    Information about 2328 packages read in 1 seconds.

    Failed: no package found for specification 'efence'!
    montanaro:skip% fink install valgrind
    sudo /sw/bin/fink  install valgrind
    Information about 2328 packages read in 1 seconds.

    Failed: no package found for specification 'valgrind'!

I would have expected them to turn up there by now if porting was no
problem.

Skip