On Wed, 28 Sep 2011 10:28:52 -0700, Amos Anderson said: >Python(10981) malloc: *** error for object 0x104010820: pointer being >freed was not allocated > > *SNIP* > >The problem does not occur in a standalone unit test I made (and there >is no problem on linux or osx 10.6). This implies the problem could be >somewhere else in the rest of my code, but unfortunately valgrind >doesn't work on osx 10.7 yet
If you build valgrind from svn trunk, it now kinda works on 10.7. Apple's dev tools have similar memory debugging tools. There are env vars that affect malloc, see 'man malloc' and there is guard malloc, see 'man libgmalloc'. Either of those might help you track it down. -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
